127 |
|
const |
128 |
|
{Interface version information} |
129 |
|
FBIntf_Major = 1; |
130 |
< |
FBIntf_Minor = 0; |
130 |
> |
FBIntf_Minor = 1; |
131 |
|
FBIntf_Release = 2; |
132 |
< |
FBIntf_Version = '1.0.2'; |
132 |
> |
FBIntf_Version = '1.1.2'; |
133 |
|
|
134 |
|
{These include files are converted from the 'C' originals in the Firebird API |
135 |
|
and define the various constants used by the API} |
632 |
|
psRealTime, psUserTime, psBuffers, |
633 |
|
psReads, psWrites, psFetches,psDeltaMemory); |
634 |
|
|
635 |
< |
TPerfCounters = array[TPerfStats] of comp; |
635 |
> |
TPerfCounters = array[TPerfStats] of Int64; |
636 |
|
|
637 |
|
{The IStatement interface provides access to an SQL Statement once it has been |
638 |
|
initially prepared. The interface is returned from the IAttachment interface. |
931 |
|
function GetConnectString: AnsiString; |
932 |
|
function GetRemoteProtocol: AnsiString; |
933 |
|
function GetAuthenticationMethod: AnsiString; |
934 |
+ |
function GetSecurityDatabase: AnsiString; |
935 |
|
function GetODSMajorVersion: integer; |
936 |
|
function GetODSMinorVersion: integer; |
937 |
|
function HasActivity: boolean; |
948 |
|
AllowReverseLookup:boolean; out CharSetID: integer); |
949 |
|
end; |
950 |
|
|
951 |
< |
TProtocolAll = (TCP, SPX, NamedPipe, Local, inet, wnet, xnet, unknownProtocol); |
951 |
> |
TProtocolAll = (TCP, SPX, NamedPipe, Local, inet, inet4, inet6, wnet, xnet, unknownProtocol); |
952 |
|
TProtocol = TCP..xnet; |
953 |
|
|
954 |
|
{Service Parameter Block (SPB). |
1067 |
|
['{905b587d-1e1f-4e40-a3f8-a3519f852e48}'] |
1068 |
|
function getSPB: ISPB; |
1069 |
|
function getServerName: AnsiString; |
1070 |
+ |
function getProtocol: TProtocol; |
1071 |
+ |
function getPortNo: AnsiString; |
1072 |
|
procedure Attach; |
1073 |
|
procedure Detach(Force: boolean=false); |
1074 |
|
function IsAttached: boolean; |
1075 |
|
function AllocateSRB: ISRB; |
1076 |
|
function AllocateSQPB: ISQPB; |
1077 |
< |
procedure Start(Request: ISRB); |
1078 |
< |
function Query(SQPB: ISQPB; Request: ISRB) :IServiceQueryResults; overload; |
1079 |
< |
function Query(Request: ISRB) :IServiceQueryResults; overload; |
1077 |
> |
function Start(Request: ISRB; RaiseExceptionOnError: boolean=true): boolean; |
1078 |
> |
function Query(SQPB: ISQPB; Request: ISRB; RaiseExceptionOnError: boolean=true) :IServiceQueryResults; overload; |
1079 |
> |
function Query(Request: ISRB; RaiseExceptionOnError: boolean=true) :IServiceQueryResults; overload; |
1080 |
|
end; |
1081 |
|
|
1082 |
|
{The Firebird API. |
1253 |
|
initialization |
1254 |
|
FFirebirdAPI := nil; |
1255 |
|
|
1256 |
+ |
finalization |
1257 |
+ |
FFirebirdAPI := nil; |
1258 |
|
|
1259 |
|
end. |
1260 |
|
|