From: Adam Dickmeiss Date: Tue, 13 Oct 1998 16:10:16 +0000 (+0000) Subject: Added extra argument 'lineno' to function readconf_line. X-Git-Tag: YAZ.1.8~442 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=4482f2b095b641545987153d42c4069da9edf66e;p=yaz-moved-to-github.git Added extra argument 'lineno' to function readconf_line. --- diff --git a/include/readconf.h b/include/readconf.h index d9ccd59..405a820 100644 --- a/include/readconf.h +++ b/include/readconf.h @@ -8,12 +8,14 @@ #ifdef __cplusplus extern "C" { #endif - + YAZ_EXPORT int readconf(char *name, void *rprivate, - int (*fun)(char *name, void *rprivate, int argc, char *argv[])); - -YAZ_EXPORT int readconf_line(FILE *f, char *line, int len, char *argv[], int num); + int (*fun)(char *name, void *rprivate, + int argc, char *argv[])); +YAZ_EXPORT int readconf_line(FILE *f, int *lineno, + char *line, int len, char *argv[], int num); + #ifdef __cplusplus } #endif