X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Flkc_proto.h;h=cf4510a2bdc71e5f91d628d77b2d69b4cc8edb37;hp=6303193f43f21c978b8e685b13e1f8672324d663;hb=0a4078c88712401b4ce8fbbe964ea6a70216d597;hpb=dd88a7e5b482637a26c67ffa1cdf7ebed204161d diff --git a/config/lkc_proto.h b/config/lkc_proto.h index 6303193..cf4510a 100644 --- a/config/lkc_proto.h +++ b/config/lkc_proto.h @@ -10,7 +10,7 @@ int conf_write(const char *name); int conf_write_autoconf(void); bool conf_get_changed(void); void conf_set_changed_callback(void (*fn)(void)); -void conf_set_message_callback(void (*fn)(const char *fmt, va_list ap)); +void conf_set_message_callback(void (*fn)(const char *s)); /* menu.c */ extern struct menu rootmenu; @@ -52,6 +52,7 @@ const char * prop_get_type_name(enum prop_type type); enum variable_flavor { VAR_SIMPLE, VAR_RECURSIVE, + VAR_APPEND, }; void env_write_dep(FILE *f, const char *auto_conf_name); void variable_add(const char *name, const char *value,