summaryrefslogtreecommitdiff
path: root/doc/README.menu
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.menu')
-rw-r--r--doc/README.menu4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/README.menu b/doc/README.menu
index 6ce6bba..c949398 100644
--- a/doc/README.menu
+++ b/doc/README.menu
@@ -51,7 +51,9 @@ struct menu;
* menu_create() - Creates a menu handle with default settings
*/
struct menu *menu_create(char *title, int timeout, int prompt,
- void (*item_data_print)(void *));
+ void (*item_data_print)(void *),
+ char *(*item_choice)(void *),
+ void *item_choice_data);
/*
* menu_item_add() - Adds or replaces a menu item