8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 05:23:02 +01:00
firebird-mirror/src/jrd/entry.h
asfernandes 0b6ecafe1b 1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00

215 lines
5.0 KiB
C

/*
* PROGRAM: JRD Access Method
* MODULE: entry.h
* DESCRIPTION: Y-value entrypoints
*
* 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): ______________________________________.
*/
/*
Order of battle in ENTRY macro:
current local access method entrypoint
remote entrypoint
*/
/*****************************************************
* IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT
*
* The order in which these entrypoints appear MUST match
* the order in which the defines for PROC_XXX appear in
* source/jrd/why.cpp. Failure to do so will result in
* much frustration
******************************************************/
/*
* TMN: Equally important: Don't add a compiler directive like
* extern "C" { } to this file since it's included to be the body
* of an array (!) from why.cpp.
*/
ENTRYPOINT( jrd8_attach_database,
REM_attach_database)
ENTRYPOINT( jrd8_blob_info,
REM_blob_info)
ENTRYPOINT( jrd8_cancel_blob,
REM_cancel_blob)
ENTRYPOINT( jrd8_close_blob,
REM_close_blob)
ENTRYPOINT( jrd8_commit_transaction,
REM_commit_transaction)
ENTRYPOINT( jrd8_compile_request,
REM_compile_request)
ENTRYPOINT( /* jrd8_create_blob */ no_entrypoint,
/* REM_create_blob */ no_entrypoint)
ENTRYPOINT( jrd8_create_database,
REM_create_database)
ENTRYPOINT( jrd8_database_info,
REM_database_info)
ENTRYPOINT( jrd8_detach_database,
REM_detach_database)
ENTRYPOINT( jrd8_get_segment,
REM_get_segment)
ENTRYPOINT( /* jrd8_open_blob */ no_entrypoint,
/* REM_open_blob */ no_entrypoint)
ENTRYPOINT( jrd8_prepare_transaction,
REM_prepare_transaction)
ENTRYPOINT( jrd8_put_segment,
REM_put_segment)
ENTRYPOINT( jrd8_reconnect_transaction,
REM_reconnect_transaction)
ENTRYPOINT( jrd8_receive,
REM_receive)
ENTRYPOINT( jrd8_release_request,
REM_release_request)
ENTRYPOINT( jrd8_request_info,
REM_request_info)
ENTRYPOINT( jrd8_rollback_transaction,
REM_rollback_transaction)
ENTRYPOINT( jrd8_send,
REM_send)
ENTRYPOINT( jrd8_start_and_send,
REM_start_and_send)
ENTRYPOINT( jrd8_start_request,
REM_start_request)
ENTRYPOINT( jrd8_start_multiple,
/* REM_start_multiple */ no_entrypoint)
ENTRYPOINT( jrd8_start_transaction,
REM_start_transaction)
ENTRYPOINT( jrd8_transaction_info,
REM_transaction_info)
ENTRYPOINT( jrd8_unwind_request,
REM_unwind_request)
ENTRYPOINT( jrd8_commit_retaining,
REM_commit_retaining)
ENTRYPOINT( jrd8_que_events,
REM_que_events)
ENTRYPOINT( jrd8_cancel_events,
REM_cancel_events)
ENTRYPOINT( jrd8_ddl,
REM_ddl)
ENTRYPOINT( jrd8_open_blob2,
REM_open_blob2)
ENTRYPOINT( jrd8_create_blob2,
REM_create_blob2)
ENTRYPOINT( jrd8_get_slice,
REM_get_slice)
ENTRYPOINT( jrd8_put_slice,
REM_put_slice)
ENTRYPOINT( jrd8_seek_blob,
REM_seek_blob)
ENTRYPOINT( jrd8_transact_request,
REM_transact_request)
ENTRYPOINT( jrd8_drop_database,
REM_drop_database)
/* and the DSQL entry points */
ENTRYPOINT( jrd8_allocate_statement,
REM_allocate_statement)
ENTRYPOINT( /* jrd8_execute */ no_entrypoint,
REM_execute)
ENTRYPOINT( jrd8_execute,
REM_execute2)
ENTRYPOINT( /* jrd8_execute_immediate */ no_entrypoint,
REM_execute_immediate)
ENTRYPOINT( jrd8_execute_immediate,
REM_execute_immediate2)
ENTRYPOINT( jrd8_fetch,
REM_fetch)
ENTRYPOINT( jrd8_free_statement,
REM_free_statement)
ENTRYPOINT( jrd8_insert,
REM_insert)
ENTRYPOINT( jrd8_prepare,
REM_prepare)
ENTRYPOINT( jrd8_set_cursor,
REM_set_cursor_name)
ENTRYPOINT( jrd8_sql_info,
REM_sql_info)
/* and service entry points */
ENTRYPOINT( jrd8_service_attach,
REM_service_attach)
ENTRYPOINT( jrd8_service_detach,
REM_service_detach)
ENTRYPOINT( jrd8_service_query,
REM_service_query)
ENTRYPOINT( jrd8_service_start,
REM_service_start)
ENTRYPOINT( jrd8_rollback_retaining,
REM_rollback_retaining)
ENTRYPOINT( jrd8_cancel_operation,
/* REM_cancel_operation */ no_entrypoint)
ENTRYPOINT( jrd8_shutdown_all,
/* REM_shutdown_all */ no_entrypoint)
#undef ENTRYPOINT