source: trunk/gsdl/src/recpt/z3950cfg.h@ 1861

Last change on this file since 1861 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
Line 
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
10struct z3950aboutlist {
11 char *lang;
12 char *text;
13 struct z3950aboutlist *next;
14};
15struct 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};
26extern struct z3950cfg *zserver_list;
27extern FILE *errfile;
28#endif
Note: See TracBrowser for help on using the repository browser.