YAZ  5.23.1
Functions
readconf.h File Reference

Header for config file reading utilities. More...

#include <stdio.h>
#include <yaz/yconfig.h>

Go to the source code of this file.

Functions

int readconf (char *name, void *rprivate, int(*fun)(char *name, void *rprivate, int argc, char *argv[]))
 
int readconf_line (FILE *f, int *lineno, char *line, int len, char *argv[], int num)
 

Detailed Description

Header for config file reading utilities.

Definition in file readconf.h.

Function Documentation

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 readconf_line(), yaz_log(), YLOG_ERRNO, and YLOG_WARN.

int readconf_line ( FILE *  f,
int *  lineno,
char *  line,
int  len,
char *  argv[],
int  num 
)

Definition at line 22 of file readconf.c.

References l_isspace.

Referenced by readconf().