13 while (Cur->
attr[count])
19 outv[count] = (
char *)
my_malloc(strlen(Cur->
attr[count]) + 3);
20 strcpy(&outv[count][2], Cur->
attr[count]);
21 outv[count][0] = outv[count][1] =
'-';
24 outv[count] = Cur->
attr[count];
36 strcpy(&outv[count][2], Cur->
name);
37 outv[count][0] = outv[count][1] =
'-';
43 if (outv) outv[count] = Cur->
txt;
59 assert(*outv == NULL);
60 assert(! strcmp(
"settings",Cur->
name));
68 *outv = (
char **)
my_malloc(count *
sizeof(
char *));
static void * my_malloc(int ibytes)
ezxml_t FindElement(INP ezxml_t Parent, INP const char *Name, INP boolean Required)
static int process_settings(ezxml_t Cur, char **outv)
ezxml_t ezxml_parse_file(const char *file)
int read_settings_file(char *file_name, char ***outv)
char * my_strdup(const char *str)