removed dead, commened out code left from removing global Z39.50 proxying
[pazpar2-moved-to-github.git] / src / parameters.h
1 /* $Id: parameters.h,v 1.4 2007-06-06 11:56:35 marc Exp $
2    Copyright (c) 2006-2007, Index Data.
3
4 This file is part of Pazpar2.
5
6 Pazpar2 is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
10
11 Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Pazpar2; see the file LICENSE.  If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA.
20  */
21
22 #ifndef PARAMETERS_H
23 #define PARAMETERS_H
24
25 #include <yaz/odr.h>
26
27 /** \brief global parameters */
28 struct parameters {
29     char proxy_override[128];
30     char listener_override[128];
31     char settings_path_override[128];
32     struct conf_server *server;
33     int dump_records;
34     int debug_mode;
35     int timeout;                /* operations timeout, in seconds */
36     char implementationId[128];
37     char implementationName[128];
38     char implementationVersion[128];
39     int target_timeout; // seconds
40     int session_timeout;
41     int toget;
42     int chunk;
43     ODR odr_out;
44     ODR odr_in;
45 };
46 extern struct parameters global_parameters;
47
48 #endif
49
50 /*
51  * Local variables:
52  * c-basic-offset: 4
53  * indent-tabs-mode: nil
54  * End:
55  * vim: shiftwidth=4 tabstop=8 expandtab
56  */