source: main/trunk/greenstone2/runtime-src/src/w32server/locate.h@ 27061

Last change on this file since 27061 was 4642, checked in by sjboddie, 21 years ago

Added command line arguments to server.exe so the GLI can tell it to use
an alternative config file.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/**********************************************************************
2 *
3 * locate.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 MAX_FILENAME_SIZE
29#define MAX_FILENAME_SIZE 2048
30#endif
31
32#include "text_t.h"
33
34extern HWND GSDL_Window;
35extern int line_spacing;
36extern RECT text_rect;
37
38void refresh_console(HDC dc);
39
40extern text_t data_location;
41
42extern void set_location(text_t possible);
43extern void find_location(void);
44
45extern void open_log_file(void);
46extern void close_log_file(void);
47extern void log_message(char *msg);
48extern void log_message_N(char*msg, int n);
49
50extern void activate_console(void);
51extern void deactivate_console(void);
52
53extern void LogCriticalError(char *cderr, char *Msg);
54
55/* returns first-second taking into account wrap around */
56extern DWORD DiffTickCounts (DWORD first, DWORD second);
Note: See TracBrowser for help on using the repository browser.