8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 00:03:03 +01:00
firebird-mirror/src/jrd/irq.h
2004-04-29 11:16:31 +00:00

116 lines
5.8 KiB
C

/*
* PROGRAM: JRD Access Method
* MODULE: irq.h
* DESCRIPTION: Registry of persistent internal requests
*
* 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): ______________________________________.
*
* 2001.6.25 Claudio Valderrama: add irq_r_gen_id_num to support
* new MET_lookup_generator_id().
*/
#ifndef JRD_IRQ_H
#define JRD_IRQ_H
#define REQUEST(irt) (*dbb->dbb_internal)[irt]
const int irq_s_pages = 0; /* store PAGES */
const int irq_r_pages = 1; /* read PAGES */
const int irq_l_field = 2; /* lookup field name */
const int irq_l_relation = 3; /* lookup relation name */
const int irq_c_relation = 4; /* create new relation */
const int irq_format1 = 5; /* make a new format for a record */
const int irq_format2 = 6; /* make a new format for a record */
const int irq_format3 = 7; /* make a new format for a record */
const int irq_r_format = 8; /* read a format */
const int irq_r_relation = 9; /* pick up view definition */
const int irq_c_index = 10; /* create index */
const int irq_m_fields = 11; /* process a modification of RDB$FIELDS */
const int irq_m_index = 12; /* modify index id */
const int irq_r_fields = 13; /* pick up field expressions */
const int irq_l_security = 14; /* lookup security_classes */
const int irq_v_security = 15; /* verify security for relation */
const int irq_l_index = 16; /* lookup index id */
const int irq_l_functions = 17; /* lookup function */
const int irq_l_args = 18; /* lookup function arguments */
const int irq_s_triggers = 19; /* scan triggers */
const int irq_s_triggers2 = 20; /* scan triggers */
const int irq_s_msgs = 21; /* search for message */
const int irq_grant1 = 22; /* process grant option */
const int irq_grant2 = 23; /* process grant option */
const int irq_grant3 = 24; /* process grant option */
const int irq_grant4 = 25; /* process grant option */
const int irq_format4 = 26; /* make a new format for a record */
const int irq_s_trans = 27; /* store RDB$TRANSACTIONS */
const int irq_m_trans = 28; /* erase RDB$TRANSACTIONS */
const int irq_e_trans = 29; /* store RDB$TRANSACTIONS */
const int irq_revoke1 = 30; /* check revokee for residual privileges */
const int irq_revoke2 = 31; /* recursive revoke */
const int irq_grant5 = 32; /* check for "PUBLIC" in processing grant options */
const int irq_r_filters = 33; /* read RDB$BLOB_FILTERS */
const int irq_c_trigger = 34; /* check for dependencies when creating a trigger */
const int irq_s_deps = 35; /* store RDB$DEPENDENCIES */
const int irq_d_deps = 36; /* delete RDB$DEPENDENCIES */
const int irq_r_fld_dim = 37; /* read RDB$FIELD_DIMENSIONS */
const int irq_r_gen_id = 38; /* read RDB$GENERATORS, lookup by name. */
const int irq_s_gen_id = 39; /* store RDB$GENERATORS */
const int irq_ch_f_dpd = 40; /* check object field dependencies */
const int irq_ch_dpd = 41; /* check object dependencies */
const int irq_ch_cmp_dpd = 42; /* check computed field dependencies */
const int irq_grant6 = 43; /* get field-level security class */
const int irq_grant7 = 44; /* update field-level security classes */
const int irq_grant8 = 45; /* purge out field-level security classes */
const int irq_foreign1 = 46; /* purge out field-level security classes */
const int irq_foreign2 = 47; /* purge out field-level security classes */
const int irq_format5 = 48; /* make a new format for a record */
const int irq_c_exp_index = 49; /* create expression index */
const int irq_l_exp_index = 50; /* lookup expression index */
const int irq_l_rel_id = 51; /* lookup relation id */
const int irq_l_procedure = 52; /* lookup procedure name */
const int irq_l_proc_id = 53; /* lookup procedure id */
const int irq_r_params = 54; /* scan procedure parameters */
const int irq_r_procedure = 55; /* scan procedure */
const int irq_p_security = 56; /* verify security for procedure */
const int irq_c_prc_dpd = 57; /* create procedure dependencies for delete */
const int irq_c_deps = 58; /* check relation dependency */
const int irq_c_deps_f = 59; /* check relation.field dependency */
const int irq_l_exception = 60; /* lookup exception by number */
const int irq_l_except_no = 61; /* lookup exception by name */
const int irq_grant9 = 62; /* process grant option */
const int irq_l_index_name = 63; /* lookup index by name */
const int irq_view_context = 64; /* lookup view context */
const int irq_l_cnstrt = 65; /* lookup constraint for index */
const int irq_l_check = 66; /* lookup check constraint for trigger */
const int irq_l_check2 = 67; /* lookup constraint for index */
const int irq_c_trg_perm = 68; /* check if trig can ignore perm. checks */
const int irq_get_role_mem = 69; /* get SQL role membership */
const int irq_get_role_name = 70; /* get SQL role name */
const int irq_format6 = 71; /* make a new format for a record */
const int irq_r_gen_id_num = 72; /* lookup generator by ID. */
const int irq_verify_role_name = 73; /* ensure role exists in roles & user_privileges. */
const int irq_l_relation_defsec = 74; /* check the default sec class name against rel. */
const int irq_m_index_seg = 75; /* modify per-segment index selectivity */
const int irq_MAX = 76;
#endif /* JRD_IRQ_H */