YAZ  5.26.1
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.


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

◆ readconf()

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.

◆ readconf_line()

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().