2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Remote Interface/Server
|
|
|
|
* MODULE: inter_proto.h
|
|
|
|
* DESCRIPTION: Prototype Header file for interface.c
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
|
2003-10-03 03:20:50 +02:00
|
|
|
ISC_STATUS REM_attach_database(ISC_STATUS *, SSHORT, SCHAR *, struct rdb **, SSHORT, SCHAR *, UCHAR *);
|
|
|
|
ISC_STATUS REM_attach_service(ISC_STATUS *, USHORT, TEXT *, struct rdb **, USHORT, SCHAR *);
|
|
|
|
ISC_STATUS REM_blob_info(ISC_STATUS *, struct rbl **, SSHORT, 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, UCHAR *);
|
|
|
|
ISC_STATUS REM_create_blob2(ISC_STATUS *, struct rdb **, struct rtr **, struct rbl **, BID, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_create_database(ISC_STATUS *, SSHORT, SCHAR *, struct rdb **, SSHORT, SCHAR *, SSHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_database_info(ISC_STATUS *, struct rdb **, SSHORT, SCHAR *, SSHORT, SCHAR *);
|
|
|
|
ISC_STATUS REM_ddl(ISC_STATUS *, struct rdb **, struct rtr **, USHORT, 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, UCHAR *, USHORT, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_execute2(ISC_STATUS *, struct rtr **, struct rsr **, USHORT, UCHAR *, USHORT, USHORT, UCHAR *, USHORT, UCHAR *, USHORT, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_execute_immediate(ISC_STATUS *, struct rdb **, struct rtr **, USHORT, TEXT *, USHORT, USHORT, UCHAR *, USHORT, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_execute_immediate2(ISC_STATUS *, struct rdb **, struct rtr **, USHORT, TEXT *, USHORT, USHORT, UCHAR *, USHORT, USHORT, UCHAR *, USHORT, UCHAR *, USHORT, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_fetch(ISC_STATUS *, struct rsr **, USHORT, 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 **, TEXT *, USHORT);
|
|
|
|
ISC_STATUS REM_sql_info(ISC_STATUS *, struct rsr **, SSHORT, 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, UCHAR *, USHORT, UCHAR *, SLONG, UCHAR *, SLONG *);
|
|
|
|
ISC_STATUS REM_open_blob2(ISC_STATUS *, struct rdb **, struct rtr **, struct rbl **, BID, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_prepare_transaction(ISC_STATUS *, struct rtr **, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_put_segment(ISC_STATUS *, struct rbl **, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_put_slice(ISC_STATUS *, struct rdb **, struct rtr **, BID, USHORT, UCHAR *, USHORT, UCHAR *, SLONG, UCHAR *);
|
|
|
|
ISC_STATUS REM_que_events(ISC_STATUS *, struct rdb **, SLONG *, SSHORT, UCHAR *, void (*)(void*, USHORT, UCHAR*), void *);
|
|
|
|
ISC_STATUS REM_query_service(ISC_STATUS *, struct rdb **, USHORT, SCHAR *, USHORT, SCHAR *, USHORT, SCHAR *);
|
|
|
|
ISC_STATUS REM_receive(ISC_STATUS *, struct rrq **, USHORT, USHORT, UCHAR *, SSHORT);
|
|
|
|
ISC_STATUS REM_reconnect_transaction(ISC_STATUS *, struct rdb **, struct rtr **, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_release_request(ISC_STATUS *, struct rrq **);
|
|
|
|
ISC_STATUS REM_request_info(ISC_STATUS *, struct rrq **, SSHORT, SSHORT, 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, UCHAR *, USHORT, UCHAR *, USHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_transaction_info(ISC_STATUS *, struct rtr **, SSHORT, UCHAR *, SSHORT, UCHAR *);
|
|
|
|
ISC_STATUS REM_unwind_request(ISC_STATUS *, struct rrq **, USHORT);
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* REMOTE_INTER_PROTO_H */
|