1/*
2 * PROGRAM: JRD Access Method
3 * MODULE: isc_proto.h
4 * DESCRIPTION: Prototype header file for isc.cpp
5 *
6 * The contents of this file are subject to the Interbase Public
7 * License Version 1.0 (the "License"); you may not use this file
8 * except in compliance with the License. You may obtain a copy
9 * of the License at http://www.Inprise.com/IPL.html
10 *
11 * Software distributed under the License is distributed on an
12 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
13 * or implied. See the License for the specific language governing
14 * rights and limitations under the License.
15 *
16 * The Original Code was created by Inprise Corporation
17 * and its predecessors. Portions created by Inprise Corporation are
18 * Copyright (C) Inprise Corporation.
19 *
20 * All Rights Reserved.
21 * Contributor(s): ______________________________________.
22 */
23
24#ifndef JRD_ISC_PROTO_H
25#define JRD_ISC_PROTO_H
26
27#include "../common/classes/fb_string.h"
28
29bool ISC_check_process_existence(SLONG);
30TEXT* ISC_get_host(TEXT *, USHORT);
31const TEXT* ISC_get_host(Firebird::string&);
32bool ISC_get_user(Firebird::string*, int*, int*);
33SLONG ISC_set_prefix(const TEXT*, const TEXT*);
34
35// Does not add word "Database" in the beginning like gds__log_status
36void iscLogStatus(const TEXT* text, const ISC_STATUS* status_vector);
37void iscLogException(const TEXT* text, const Firebird::Exception& e);
38
39#ifdef WIN9X_SUPPORT
40bool ISC_is_WinNT();
41#endif
42
43#ifdef WIN_NT
44struct _SECURITY_ATTRIBUTES* ISC_get_security_desc();
45#endif
46
47#endif // JRD_ISC_PROTO_H
48