Home
last modified time | relevance | path

Searched refs:maxmenusize (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/com32/cmenu/libmenu/
Dcmenu.h175 int maxmenusize; // the size of array allocated member
266 uchar add_menu(const char *title, int maxmenusize);
269 uchar add_named_menu(const char *name, const char *title, int maxmenusize);
Dmenu.c1015 uchar add_menu(const char *title, int maxmenusize) in add_menu() argument
1032 if (maxmenusize < 1) in add_menu()
1033 m->maxmenusize = MAXMENUSIZE; in add_menu()
1035 m->maxmenusize = maxmenusize; in add_menu()
1036 m->items = (pt_menuitem *) malloc(sizeof(pt_menuitem) * (m->maxmenusize)); in add_menu()
1037 for (i = 0; i < m->maxmenusize; i++) in add_menu()
1071 uchar add_named_menu(const char *name, const char *title, int maxmenusize) in add_named_menu() argument
1073 add_menu(title, maxmenusize); in add_named_menu()