mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-30 09:23:09 +01:00
5b7cb4214b
Cleanup.
119 lines
6.0 KiB
C
119 lines
6.0 KiB
C
/*
|
|
* PROGRAM: JRD Remote Interface/Server
|
|
* MODULE: inter_proto.h
|
|
* DESCRIPTION: Prototype Header file for interface.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 REMOTE_INTER_PROTO_H
|
|
#define REMOTE_INTER_PROTO_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
ISC_STATUS REM_attach_database(ISC_STATUS*, SSHORT, const SCHAR*, struct Rdb**,
|
|
SSHORT, const SCHAR*, const UCHAR*);
|
|
ISC_STATUS REM_attach_service(ISC_STATUS *, USHORT, TEXT *, struct Rdb **, USHORT, SCHAR *);
|
|
ISC_STATUS REM_blob_info(ISC_STATUS*, struct Rbl**, SSHORT, const SCHAR*,
|
|
SSHORT, SCHAR*);
|
|
ISC_STATUS REM_cancel_blob(ISC_STATUS *, struct Rbl **);
|
|
ISC_STATUS REM_cancel_events(ISC_STATUS *, struct Rdb **, SLONG *);
|
|
ISC_STATUS REM_close_blob(ISC_STATUS *, struct Rbl **);
|
|
ISC_STATUS REM_commit_transaction(ISC_STATUS *, struct Rtr **);
|
|
ISC_STATUS REM_commit_retaining(ISC_STATUS *, struct Rtr **);
|
|
ISC_STATUS REM_compile_request(ISC_STATUS*, struct Rdb**, struct Rrq**,
|
|
USHORT, const UCHAR*);
|
|
ISC_STATUS REM_create_blob2(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
struct Rbl**, BID, USHORT, const UCHAR*);
|
|
ISC_STATUS REM_create_database(ISC_STATUS*, SSHORT, const SCHAR*, struct Rdb**,
|
|
SSHORT, const SCHAR*, SSHORT, const UCHAR*);
|
|
ISC_STATUS REM_database_info(ISC_STATUS*, struct Rdb**, SSHORT, const SCHAR*,
|
|
SSHORT, SCHAR*);
|
|
ISC_STATUS REM_ddl(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
USHORT, const UCHAR*);
|
|
ISC_STATUS REM_detach_database(ISC_STATUS *, struct Rdb **);
|
|
ISC_STATUS REM_detach_service(ISC_STATUS *, struct Rdb **);
|
|
ISC_STATUS REM_drop_database(ISC_STATUS *, struct Rdb **);
|
|
ISC_STATUS REM_allocate_statement(ISC_STATUS *, struct Rdb **, struct Rsr **);
|
|
ISC_STATUS REM_execute(ISC_STATUS*, struct Rtr**, struct Rsr**, USHORT, const UCHAR*, USHORT, USHORT, const UCHAR*);
|
|
ISC_STATUS REM_execute2(ISC_STATUS*, struct Rtr**, struct Rsr**, USHORT, const UCHAR*, USHORT, USHORT, const UCHAR*, USHORT, UCHAR*, USHORT, USHORT, UCHAR*);
|
|
ISC_STATUS REM_execute_immediate(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
USHORT, const TEXT*, USHORT, USHORT, const UCHAR*, USHORT, USHORT, UCHAR*);
|
|
ISC_STATUS REM_execute_immediate2(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
USHORT, const TEXT*, USHORT, USHORT, const UCHAR*, USHORT, USHORT, const UCHAR*,
|
|
USHORT, UCHAR*, USHORT, USHORT, UCHAR*);
|
|
ISC_STATUS REM_fetch(ISC_STATUS*, struct Rsr**, USHORT, const UCHAR*, USHORT,
|
|
USHORT, UCHAR*);
|
|
ISC_STATUS REM_free_statement(ISC_STATUS *, struct Rsr **, USHORT);
|
|
ISC_STATUS REM_insert(ISC_STATUS *, struct Rsr **, USHORT, UCHAR *, USHORT, USHORT, UCHAR *);
|
|
ISC_STATUS REM_prepare(ISC_STATUS *, struct Rtr **, struct Rsr **, USHORT, TEXT *, USHORT, USHORT, SCHAR *, USHORT, SCHAR *);
|
|
ISC_STATUS REM_set_cursor_name(ISC_STATUS*, struct Rsr**, const TEXT*, USHORT);
|
|
ISC_STATUS REM_sql_info(ISC_STATUS*, struct Rsr**, SSHORT, const SCHAR*,
|
|
SSHORT, SCHAR*);
|
|
ISC_STATUS REM_get_segment(ISC_STATUS *, struct Rbl **, USHORT *, USHORT, UCHAR *);
|
|
ISC_STATUS REM_get_slice(ISC_STATUS*, struct Rdb**, struct Rtr**, BID, USHORT,
|
|
const UCHAR*, USHORT, const UCHAR*, SLONG, UCHAR*, SLONG*);
|
|
ISC_STATUS REM_open_blob2(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
struct Rbl**, BID, USHORT, const UCHAR*);
|
|
ISC_STATUS REM_prepare_transaction(ISC_STATUS *, struct Rtr **, USHORT, const UCHAR*);
|
|
ISC_STATUS REM_put_segment(ISC_STATUS*, struct Rbl**, USHORT, const UCHAR*);
|
|
ISC_STATUS REM_put_slice(ISC_STATUS*, struct Rdb**, struct Rtr**, BID, USHORT,
|
|
const UCHAR*, USHORT, const UCHAR*, SLONG, UCHAR*);
|
|
ISC_STATUS REM_que_events(ISC_STATUS*, struct Rdb**, SLONG*, SSHORT,
|
|
const UCHAR*, FPTR_EVENT_CALLBACK, void*);
|
|
ISC_STATUS REM_query_service(ISC_STATUS *, struct Rdb **, USHORT, SCHAR *, USHORT, SCHAR *, USHORT, SCHAR *);
|
|
#ifdef SCROLLABLE_CURSORS
|
|
ISC_STATUS REM_receive(ISC_STATUS*, struct Rrq**, USHORT, USHORT, UCHAR*, SSHORT, USHORT, ULONG);
|
|
#else
|
|
ISC_STATUS REM_receive(ISC_STATUS *, struct Rrq **, USHORT, USHORT, UCHAR *, SSHORT);
|
|
#endif
|
|
ISC_STATUS REM_reconnect_transaction(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
USHORT, const UCHAR*);
|
|
ISC_STATUS REM_release_request(ISC_STATUS *, struct Rrq **);
|
|
ISC_STATUS REM_request_info(ISC_STATUS*, struct Rrq**, SSHORT, SSHORT,
|
|
const UCHAR*, SSHORT, UCHAR*);
|
|
ISC_STATUS REM_rollback_transaction(ISC_STATUS *, struct Rtr **);
|
|
ISC_STATUS REM_seek_blob(ISC_STATUS *, struct Rbl **, SSHORT, SLONG, SLONG *);
|
|
ISC_STATUS REM_send(ISC_STATUS *, struct Rrq **, USHORT, USHORT, UCHAR *, SSHORT);
|
|
ISC_STATUS REM_start_and_send(ISC_STATUS *, struct Rrq **, struct Rtr **, USHORT, USHORT, UCHAR *, SSHORT);
|
|
ISC_STATUS REM_start_request(ISC_STATUS *, struct Rrq **, struct Rtr **, USHORT);
|
|
ISC_STATUS REM_start_transaction(ISC_STATUS *, struct Rtr **, SSHORT, struct Rdb **, SSHORT, UCHAR *);
|
|
ISC_STATUS REM_transact_request(ISC_STATUS*, struct Rdb**, struct Rtr**,
|
|
USHORT, const UCHAR*, USHORT, const UCHAR*, USHORT, UCHAR*);
|
|
ISC_STATUS REM_transaction_info(ISC_STATUS*, struct Rtr**, SSHORT,
|
|
const UCHAR*, SSHORT, UCHAR*);
|
|
ISC_STATUS REM_unwind_request(ISC_STATUS *, struct Rrq **, USHORT);
|
|
|
|
ISC_STATUS REM_rollback_retaining(ISC_STATUS *, RTR *);
|
|
ISC_STATUS REM_service_attach(ISC_STATUS*, USHORT, const TEXT*, RDB*, USHORT,
|
|
const SCHAR*);
|
|
ISC_STATUS REM_service_detach(ISC_STATUS *, RDB *);
|
|
ISC_STATUS REM_service_query(ISC_STATUS*, RDB*, ULONG*, USHORT, const SCHAR*,
|
|
USHORT, const SCHAR*, USHORT, SCHAR*);
|
|
ISC_STATUS REM_service_start(ISC_STATUS*, RDB*, ULONG*, USHORT, const SCHAR*);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* REMOTE_INTER_PROTO_H */
|
|
|