8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 20:43:04 +01:00
firebird-mirror/src/iscguard/iscguard.h
2009-08-14 09:32:30 +00:00

51 lines
1.5 KiB
C

/*
* 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): ______________________________________.
*/
#ifndef ISCGUARD_H
#define ISCGUARD_H
static const char* const GUARDIAN_APP_NAME = "Firebird Guardian";
static const char* const GUARDIAN_APP_LABEL = "Firebird Guardian";
static const char* const GUARDIAN_CLASS_NAME = "FB_Guard";
static const char* const FBSERVER = "fbserver.exe";
// Help Constants
const DWORD ibs_server_directory = 8060;
const DWORD ibs_guard_version = 8080;
const DWORD ibs_guard_log = 8090;
#define WM_SWITCHICONS WM_USER + 3
const short START_ONCE = 0;
const short START_FOREVER = 1;
const DWORD NORMAL_EXIT = 0;
const DWORD CRASHED = (DWORD) -1;
typedef void (*FPTR_VOID) ();
struct log_info
{
char log_action[25];
char log_date[25];
char log_time[25];
log_info* next;
};
#endif // ISCGUARD_H