aboutsummaryrefslogtreecommitdiff
path: root/busybox/scripts/config/lkc.h
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/scripts/config/lkc.h')
-rw-r--r--busybox/scripts/config/lkc.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/busybox/scripts/config/lkc.h b/busybox/scripts/config/lkc.h
index dd040f7a8..b8a67fc9d 100644
--- a/busybox/scripts/config/lkc.h
+++ b/busybox/scripts/config/lkc.h
@@ -56,11 +56,21 @@ void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep);
56void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 56void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
57void menu_finalize(struct menu *parent); 57void menu_finalize(struct menu *parent);
58void menu_set_type(int type); 58void menu_set_type(int type);
59
60/* util.c */
59struct file *file_lookup(const char *name); 61struct file *file_lookup(const char *name);
60int file_write_dep(const char *name); 62int file_write_dep(const char *name);
61 63
62extern struct menu *current_entry; 64struct gstr {
63extern struct menu *current_menu; 65 size_t len;
66 char *s;
67};
68struct gstr str_new(void);
69struct gstr str_assign(const char *s);
70void str_free(struct gstr *gs);
71void str_append(struct gstr *gs, const char *s);
72void str_printf(struct gstr *gs, const char *fmt, ...);
73const char *str_get(struct gstr *gs);
64 74
65/* symbol.c */ 75/* symbol.c */
66void sym_init(void); 76void sym_init(void);