- Notifications
You must be signed in to change notification settings - Fork 234
/
Copy pathutl_proto.h
92 lines (82 loc) · 3.79 KB
/
utl_proto.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* PROGRAM: JRD Access Method
* MODULE: utl_proto.h
* DESCRIPTION: Prototype header file for utl.cpp
*
* 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 JRD_UTL_PROTO_H
#defineJRD_UTL_PROTO_H
#include<firebird/Interface.h>
#include"fb_types.h"
#include"../common/classes/ImplementHelper.h"
#ifdef __cplusplus
extern"C" {
#endif
int API_ROUTINE gds__blob_size(FB_API_HANDLE*, SLONG *, SLONG *, SLONG *);
void API_ROUTINE_VARARG isc_expand_dpb(SCHAR**, SSHORT*, ...);
int API_ROUTINE isc_modify_dpb(SCHAR**, SSHORT*, USHORT, const SCHAR*, SSHORT);
int API_ROUTINE gds__edit(const TEXT*, USHORT);
SLONG API_ROUTINE_VARARG isc_event_block(UCHAR**, UCHAR**, USHORT, ...);
USHORT API_ROUTINE isc_event_block_a(SCHAR**, SCHAR**, USHORT, TEXT**);
void API_ROUTINE isc_event_block_s(SCHAR**, SCHAR**, USHORT, TEXT**, USHORT*);
void API_ROUTINE isc_event_counts(ULONG*, SSHORT, UCHAR*, const UCHAR*);
void API_ROUTINE isc_get_client_version(SCHAR *);
int API_ROUTINE isc_get_client_major_version();
int API_ROUTINE isc_get_client_minor_version();
void API_ROUTINE gds__map_blobs(int*, int*);
void API_ROUTINE isc_set_debug(int);
void API_ROUTINE isc_set_login(const UCHAR**, SSHORT*);
void API_ROUTINE isc_set_single_user(const UCHAR**, SSHORT*, const TEXT*);
int API_ROUTINE isc_version(FB_API_HANDLE*, FPTR_VERSION_CALLBACK, void*);
void API_ROUTINE isc_format_implementation(USHORT, USHORT, TEXT *,
USHORT, USHORT, TEXT *);
uintptr_t API_ROUTINE isc_baddress(SCHAR*);
void API_ROUTINE isc_baddress_s(const SCHAR*, uintptr_t*);
int API_ROUTINE BLOB_close(structbstream *);
int API_ROUTINE blob__display(SLONG*, FB_API_HANDLE*, FB_API_HANDLE*, const TEXT*, const SSHORT*);
int API_ROUTINE BLOB_display(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const TEXT*);
int API_ROUTINE blob__dump(SLONG*, FB_API_HANDLE*, FB_API_HANDLE*, const TEXT*, const SSHORT*);
int API_ROUTINE BLOB_dump(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const SCHAR*);
int API_ROUTINE blob__edit(SLONG*, FB_API_HANDLE*, FB_API_HANDLE*, const TEXT*, const SSHORT*);
int API_ROUTINE BLOB_edit(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const SCHAR*);
int API_ROUTINE BLOB_get(structbstream*);
int API_ROUTINE blob__load(SLONG*, FB_API_HANDLE*, FB_API_HANDLE*, const TEXT*, const SSHORT*);
int API_ROUTINE BLOB_load(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const TEXT*);
int API_ROUTINE BLOB_text_dump(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const SCHAR*);
int API_ROUTINE BLOB_text_load(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const TEXT*);
structbstream* API_ROUTINE Bopen(ISC_QUAD*, FB_API_HANDLE, FB_API_HANDLE, const SCHAR*);
structbstream* API_ROUTINE BLOB_open(FB_API_HANDLE, SCHAR*, int);
int API_ROUTINE BLOB_put(SCHAR, structbstream*);
int API_ROUTINE gds__thread_start(FPTR_INT_VOID_PTR*, void*, int, int, void*);
#ifdef __cplusplus
} /* extern "C" */
#endif
// new utl
namespaceFirebird
{
classClumpletWriter;
}
voidsetLogin(Firebird::ClumpletWriter& dpb, bool spbFlag);
// Put status vector strings into strings circular buffer
voidmakePermanentVector(ISC_STATUS* v) throw();
namespaceWhy
{
voidthreadCleanup();
}
#endif // JRD_UTL_PROTO_H