diff options
Diffstat (limited to 'busybox/scripts/config/lkc.h')
-rw-r--r-- | busybox/scripts/config/lkc.h | 14 |
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); | |||
56 | void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); | 56 | void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); |
57 | void menu_finalize(struct menu *parent); | 57 | void menu_finalize(struct menu *parent); |
58 | void menu_set_type(int type); | 58 | void menu_set_type(int type); |
59 | |||
60 | /* util.c */ | ||
59 | struct file *file_lookup(const char *name); | 61 | struct file *file_lookup(const char *name); |
60 | int file_write_dep(const char *name); | 62 | int file_write_dep(const char *name); |
61 | 63 | ||
62 | extern struct menu *current_entry; | 64 | struct gstr { |
63 | extern struct menu *current_menu; | 65 | size_t len; |
66 | char *s; | ||
67 | }; | ||
68 | struct gstr str_new(void); | ||
69 | struct gstr str_assign(const char *s); | ||
70 | void str_free(struct gstr *gs); | ||
71 | void str_append(struct gstr *gs, const char *s); | ||
72 | void str_printf(struct gstr *gs, const char *fmt, ...); | ||
73 | const char *str_get(struct gstr *gs); | ||
64 | 74 | ||
65 | /* symbol.c */ | 75 | /* symbol.c */ |
66 | void sym_init(void); | 76 | void sym_init(void); |