summaryrefslogtreecommitdiffstats
path: root/doc/README.menu
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.menu')
-rw-r--r--doc/README.menu5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/README.menu b/doc/README.menu
index c9493984ca..a8999cab51 100644
--- a/doc/README.menu
+++ b/doc/README.menu
@@ -66,6 +66,11 @@ int menu_item_add(struct menu *m, char *item_key, void *item_data);
int menu_default_set(struct menu *m, char *item_key);
/*
+ * menu_default_choice() - Set *choice to point to the default item's data
+ */
+int menu_default_choice(struct menu *m, void **choice);
+
+/*
* menu_get_choice() - Returns the user's selected menu entry, or the
* default if the menu is set to not prompt or the timeout expires.
*/
OpenPOWER on IntegriCloud