Last change
on this file since 1910 was 1369, checked in by jrm21, 24 years ago |
Modified handling of error/log file for parser, to make more portable
(ie SunOS 5.6 stderr is #defined, not of type FILE *, so can't do
stderr=...)
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
575 bytes
|
Rev | Line | |
---|
[1347] | 1 | /*
|
---|
| 2 | This defines a data structure shared between:
|
---|
| 3 | * the C++ z3950proto class defined in z3950proto.cpp, and
|
---|
| 4 | * the C function yyparse() created by bison from the file zparse.fl
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | #ifndef _Z3950CFG_H
|
---|
| 8 | #define _Z3950CFG_H
|
---|
| 9 |
|
---|
| 10 | struct z3950aboutlist {
|
---|
| 11 | char *lang;
|
---|
| 12 | char *text;
|
---|
| 13 | struct z3950aboutlist *next;
|
---|
| 14 | };
|
---|
| 15 | struct z3950cfg {
|
---|
| 16 | char *shortname;
|
---|
| 17 | char *hostname;
|
---|
| 18 | int port;
|
---|
| 19 | char *dbname;
|
---|
| 20 | char *longname;
|
---|
| 21 | char *icon;
|
---|
| 22 | char *smallicon;
|
---|
| 23 | struct z3950aboutlist *about;
|
---|
| 24 | struct z3950cfg *next;
|
---|
| 25 | };
|
---|
| 26 | extern struct z3950cfg *zserver_list;
|
---|
[1369] | 27 | extern FILE *errfile;
|
---|
[1347] | 28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.