2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
|
|
|
*/
|
2004-05-18 18:32:07 +02:00
|
|
|
#ifndef ISCGUARD_H
|
|
|
|
#define ISCGUARD_H
|
|
|
|
|
2005-03-18 10:23:00 +01:00
|
|
|
static const char* GUARDIAN_APP_NAME = "Firebird Guardian";
|
|
|
|
static const char* GUARDIAN_APP_LABEL = "Firebird Guardian";
|
|
|
|
static const char* GUARDIAN_CLASS_NAME = "FB_Guard";
|
|
|
|
static const char* FBSERVER = "fbserver.exe";
|
|
|
|
static const char* GUARDIAN_HELP_FILE = "fbserver.hlp";
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
/* Help Constants */
|
2004-05-18 18:32:07 +02:00
|
|
|
const DWORD ibs_server_directory = 8060;
|
|
|
|
const DWORD ibs_guard_version = 8080;
|
|
|
|
const DWORD ibs_guard_log = 8090;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2003-01-17 09:47:01 +01:00
|
|
|
#define WM_SWITCHICONS WM_USER + 3
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-05-18 18:32:07 +02:00
|
|
|
const short START_ONCE = 0;
|
|
|
|
const short START_FOREVER = 1;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-05-18 18:32:07 +02:00
|
|
|
const DWORD NORMAL_EXIT = 0;
|
|
|
|
const DWORD CRASHED = (DWORD) -1;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
typedef void (*FPTR_VOID) ();
|
2003-09-17 12:36:11 +02:00
|
|
|
|
|
|
|
struct log_info {
|
2001-05-23 15:26:42 +02:00
|
|
|
char log_action[25];
|
|
|
|
char log_date[25];
|
|
|
|
char log_time[25];
|
2003-09-17 12:36:11 +02:00
|
|
|
log_info* next;
|
|
|
|
};
|
2003-11-28 07:48:34 +01:00
|
|
|
|
2004-05-18 18:32:07 +02:00
|
|
|
#endif // ISCGUARD_H
|