source: trunk/gsdl/src/w32server/settings.h@ 2286

Last change on this file since 2286 was 2286, checked in by sjboddie, 23 years ago

Had a bit of a tidy up in the fnord webserver code. The main change of note
was the removal of our reliance on the MAX_URL_SIZE constant. URLs and post
data of any length should now work.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1/**********************************************************************
2 *
3 * settings.h
4 * Copyright (C) 1996
5 *
6 * A component of the fnord webserver written by [email protected].
7 *
8 * Altered for use with the Greenstone digital library software by the
9 * New Zealand Digital Library Project at the University of Waikato,
10 * New Zealand.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 *
26 *********************************************************************/
27
28#ifndef SETTINGS_H
29#define SETTINGS_H
30
31#define GS_NETSCAPE 0
32#define GS_IEXPLORE 1
33#define GS_OTHER 2
34
35#include "text_t.h"
36#include "cfgread.h"
37#include "receptionist.h"
38#include "locate.h"
39
40// library settings
41extern text_t gsdl_enterlib;
42extern text_t gsdl_gsdlhome;
43extern text_t gsdl_gdbmhome;
44extern text_t gsdl_collections;
45extern colinfo_tmap gsdl_collectinfo;
46
47extern char gsdl_staticpages[MAX_FILENAME_SIZE];
48
49// debug settings
50extern char gsdl_log_name[MAX_FILENAME_SIZE];
51extern int gsdl_keep_log;
52extern int gsdl_show_console;
53
54// general settings
55extern int gsdl_port_num;
56extern int gsdl_auto_enter;
57extern int gsdl_browser;
58extern char gsdl_browser_exe[MAX_FILENAME_SIZE];
59
60void Settings_Dialog(HWND window, int netscapeneeded);
61
62void read_settings (int netscapeneeded);
63void write_settings ();
64
65void gsdl_check_browser_settings (int netscapeneeded);
66
67#endif
Note: See TracBrowser for help on using the repository browser.