|
|
|
|
@ -197,6 +197,19 @@ char* yon_debug_output(char *pattern,char*text){
|
|
|
|
|
|
|
|
|
|
// standard functions
|
|
|
|
|
|
|
|
|
|
char *yon_get_default_label_with_parameter(char *command){
|
|
|
|
|
int size;
|
|
|
|
|
config_str parsed = yon_config_load(command,&size);
|
|
|
|
|
if (strcmp(parsed[0],"(null)\n")){
|
|
|
|
|
if (parsed){
|
|
|
|
|
yon_char_remove_last_symbol(parsed[0],'\n');
|
|
|
|
|
char *default_string = yon_char_unite(DEFAULT_LABEL," ","(",parsed[0],")",NULL);
|
|
|
|
|
return default_string;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return DEFAULT_LABEL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int yon_ubl_connect_config(_template_config *config){
|
|
|
|
|
int replaces;
|
|
|
|
|
if(!template_config)
|
|
|
|
|
|