YAZ
5.34.0
|
Implements config file reading. More...
Go to the source code of this file.
Macros | |
#define | l_isspace(c) ((c) == '\t' || (c) == ' ' || (c) == '\n' || (c) == '\r') |
Functions | |
int | readconf_line (FILE *f, int *lineno, char *line, int len, char *argv[], int num) |
int | readconf (char *name, void *rprivate, int(*fun)(char *name, void *rprivate, int argc, char *argv[])) |
Implements config file reading.
Definition in file readconf.c.
#define l_isspace | ( | c | ) | ((c) == '\t' || (c) == ' ' || (c) == '\n' || (c) == '\r') |
Definition at line 20 of file readconf.c.
int readconf | ( | char * | name, |
void * | rprivate, | ||
int(*)(char *name, void *rprivate, int argc, char *argv[]) | fun | ||
) |
Definition at line 59 of file readconf.c.
References name, readconf_line(), yaz_log(), YLOG_ERRNO, and YLOG_WARN.
int readconf_line | ( | FILE * | f, |
int * | lineno, | ||
char * | line, | ||
int | len, | ||
char * | argv[], | ||
int | num | ||
) |