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

Last change on this file since 1270 was 1270, checked in by sjboddie, 24 years ago

Receptionist now caches collection information to avoid making multiple
get_collectinfo calls to collection server

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 922 bytes
Line 
1#ifndef SETTINGS_H
2#define SETTINGS_H
3
4#ifndef MAX_FILENAME_SIZE
5#define MAX_FILENAME_SIZE 1024
6#endif
7
8#define GS_NETSCAPE 0
9#define GS_IEXPLORE 1
10#define GS_OTHER 2
11
12#include "text_t.h"
13#include "cfgread.h"
14#include "receptionist.h"
15
16// library settings
17extern text_t gsdl_enterlib;
18extern text_t gsdl_gsdlhome;
19extern text_t gsdl_gdbmhome;
20extern text_t gsdl_collections;
21extern colinfo_tmap gsdl_collectinfo;
22
23extern char gsdl_staticpages[MAX_FILENAME_SIZE];
24
25// debug settings
26extern char gsdl_log_name[MAX_FILENAME_SIZE];
27extern int gsdl_keep_log;
28extern int gsdl_show_console;
29
30// general settings
31extern int gsdl_port_num;
32extern int gsdl_auto_enter;
33extern int gsdl_browser;
34extern char gsdl_browser_exe[MAX_FILENAME_SIZE];
35
36void Settings_Dialog(HWND window, int netscapeneeded);
37
38void read_settings (int netscapeneeded);
39void write_settings ();
40
41void gsdl_check_browser_settings (int netscapeneeded);
42
43#endif
Note: See TracBrowser for help on using the repository browser.