8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 19:23:03 +01:00
firebird-mirror/src/remote/inter_proto.h

119 lines
6.0 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: JRD Remote Interface/Server
* MODULE: inter_proto.h
* DESCRIPTION: Prototype Header file for interface.cpp
2001-05-23 15:26:42 +02:00
*
* 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 **);
2008-03-30 11:37:57 +02:00
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**,
2008-03-30 11:37:57 +02:00
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,
2003-12-03 09:19:24 +01:00
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,
2003-12-03 09:19:24 +01:00
const UCHAR*, USHORT, const UCHAR*, SLONG, UCHAR*);
ISC_STATUS REM_que_events(ISC_STATUS*, struct Rdb**, SLONG*, SSHORT,
2003-12-22 11:00:59 +01:00
const UCHAR*, FPTR_EVENT_CALLBACK, void*);
ISC_STATUS REM_query_service(ISC_STATUS *, struct Rdb **, USHORT, SCHAR *, USHORT, SCHAR *, USHORT, SCHAR *);
2008-01-16 08:55:28 +01:00
#ifdef SCROLLABLE_CURSORS
ISC_STATUS REM_receive(ISC_STATUS*, struct Rrq**, USHORT, USHORT, UCHAR*, SSHORT, USHORT, ULONG);
2008-01-16 08:55:28 +01:00
#else
ISC_STATUS REM_receive(ISC_STATUS *, struct Rrq **, USHORT, USHORT, UCHAR *, SSHORT);
2008-01-16 08:55:28 +01:00
#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**,
2008-03-30 11:37:57 +02:00
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);
2001-05-23 15:26:42 +02:00
2003-11-06 04:03:36 +01:00
ISC_STATUS REM_rollback_retaining(ISC_STATUS *, RTR *);
2003-12-03 09:19:24 +01:00
ISC_STATUS REM_service_attach(ISC_STATUS*, USHORT, const TEXT*, RDB*, USHORT,
const SCHAR*);
2003-11-06 04:03:36 +01:00
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*);
2003-11-06 04:03:36 +01:00
2001-05-23 15:26:42 +02:00
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* REMOTE_INTER_PROTO_H */