summaryrefslogtreecommitdiff
path: root/scripts/kconfig/lkc_proto.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-07-21 02:00:36 +0400
committerSam Ravnborg <sam@ravnborg.org>2007-07-25 23:14:26 +0400
commit03d29122738f0bd81afd44b1f566e64ebf8d06fe (patch)
tree10038c037b7b82577fec387fa6cd8042fc8633e7 /scripts/kconfig/lkc_proto.h
parent4a645d5ea65baaa5736bcb566673bf4a351b2ad8 (diff)
downloadlinux-03d29122738f0bd81afd44b1f566e64ebf8d06fe.tar.xz
kconfig: attach help text to menus
Roman Zippel wrote: > A simple example would be > help texts, right now they are per symbol, but they should really be per > menu, so archs can provide different help texts for something. This patch does this and at the same time introduce a few API funtions used to access the help text. The relevant api functions are introduced in the various frontends. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig/lkc_proto.h')
-rw-r--r--scripts/kconfig/lkc_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc_proto.h b/scripts/kconfig/lkc_proto.h
index 15030770d1ad..4d09f6ddefe3 100644
--- a/scripts/kconfig/lkc_proto.h
+++ b/scripts/kconfig/lkc_proto.h
@@ -15,6 +15,8 @@ P(menu_is_visible,bool,(struct menu *menu));
P(menu_get_prompt,const char *,(struct menu *menu));
P(menu_get_root_menu,struct menu *,(struct menu *menu));
P(menu_get_parent_menu,struct menu *,(struct menu *menu));
+P(menu_has_help,bool,(struct menu *menu));
+P(menu_get_help,const char *,(struct menu *menu));
/* symbol.c */
P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);