405a82050b23f49a769b18c2affdc53d1b0d231a
[yaz-moved-to-github.git] / include / readconf.h
1
2 #ifndef READCONF_H
3 #define READCONF_H
4
5 #include <stdio.h>
6 #include <yconfig.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11     
12 YAZ_EXPORT int readconf(char *name, void *rprivate,
13                         int (*fun)(char *name, void *rprivate,
14                                    int argc, char *argv[]));
15
16 YAZ_EXPORT int readconf_line(FILE *f, int *lineno,
17                              char *line, int len, char *argv[], int num);
18     
19 #ifdef __cplusplus
20 }
21 #endif
22
23 #endif