diff options
Diffstat (limited to 'package/config/lkc.h')
-rw-r--r-- | package/config/lkc.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/package/config/lkc.h b/package/config/lkc.h index e348ee7d8..df2f6b46e 100644 --- a/package/config/lkc.h +++ b/package/config/lkc.h @@ -56,8 +56,20 @@ void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); void menu_finalize(struct menu *parent); void menu_set_type(int type); + +/* util.c */ struct file *file_lookup(const char *name); -int file_write_dep(const char *name); + +struct gstr { + size_t len; + char *s; +}; +struct gstr str_new(void); +struct gstr str_assign(const char *s); +void str_free(struct gstr *gs); +void str_append(struct gstr *gs, const char *s); +void str_printf(struct gstr *gs, const char *fmt, ...); +const char *str_get(struct gstr *gs); /* symbol.c */ void sym_init(void); |