ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/include/consts_pub.inc
Revision: 45
Committed: Tue Dec 6 10:33:46 2016 UTC (7 years, 4 months ago) by tony
File size: 30414 byte(s)
Log Message:
Committing updates for Release R2-0-0

File Contents

# Content
1 (*
2 * MODULE: consts_pub.h
3 * DESCRIPTION: Public constants' definitions
4 *
5 * The contents of this file are subject to the Interbase Public
6 * License Version 1.0 (the "License"); you may not use this file
7 * except in compliance with the License. You may obtain a copy
8 * of the License at http://www.firebirdsql.org/index.php?op=doc&id=ipl
9 *
10 * Software distributed under the License is distributed on an
11 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
12 * or implied. See the License for the specific language governing
13 * rights and limitations under the License.
14 *
15 * The Original Code was created by Inprise Corporation
16 * and its predecessors. Portions created by Inprise Corporation are
17 * Copyright (C) Inprise Corporation.
18 *
19 * All Rights Reserved.
20 * Contributor(s): ______________________________________.
21 *
22 * 18.08.2006 Dimitry Sibiryakov: Extracted it from ibase.h
23 *
24 *)
25
26 const
27 (**********************************)
28 (* Database parameter block stuff *)
29 (**********************************)
30
31 isc_dpb_version1 = 1;
32 isc_dpb_cdd_pathname = 1;
33 isc_dpb_allocation = 2;
34 isc_dpb_journal = 3;
35 isc_dpb_page_size = 4;
36 isc_dpb_num_buffers = 5;
37 isc_dpb_buffer_length = 6;
38 isc_dpb_debug = 7;
39 isc_dpb_garbage_collect = 8;
40 isc_dpb_verify = 9;
41 isc_dpb_sweep = 10;
42 isc_dpb_enable_journal = 11;
43 isc_dpb_disable_journal = 12;
44 isc_dpb_dbkey_scope = 13;
45 isc_dpb_number_of_users = 14;
46 isc_dpb_trace = 15;
47 isc_dpb_no_garbage_collect = 16;
48 isc_dpb_damaged = 17;
49 isc_dpb_license = 18;
50 isc_dpb_sys_user_name = 19;
51 isc_dpb_encrypt_key = 20;
52 isc_dpb_activate_shadow = 21;
53 isc_dpb_sweep_interval = 22;
54 isc_dpb_delete_shadow = 23;
55 isc_dpb_force_write = 24;
56 isc_dpb_begin_log = 25;
57 isc_dpb_quit_log = 26;
58 isc_dpb_no_reserve = 27;
59 isc_dpb_user_name = 28;
60 isc_dpb_password = 29;
61 isc_dpb_password_enc = 30;
62 isc_dpb_sys_user_name_enc = 31;
63 isc_dpb_interp = 32;
64 isc_dpb_online_dump = 33;
65 isc_dpb_old_file_size = 34;
66 isc_dpb_old_num_files = 35;
67 isc_dpb_old_file = 36;
68 isc_dpb_old_start_page = 37;
69 isc_dpb_old_start_seqno = 38;
70 isc_dpb_old_start_file = 39;
71 isc_dpb_drop_walfile = 40;
72 isc_dpb_old_dump_id = 41;
73 isc_dpb_wal_backup_dir = 42;
74 isc_dpb_wal_chkptlen = 43;
75 isc_dpb_wal_numbufs = 44;
76 isc_dpb_wal_bufsize = 45;
77 isc_dpb_wal_grp_cmt_wait = 46;
78 isc_dpb_lc_messages = 47;
79 isc_dpb_lc_ctype = 48;
80 isc_dpb_cache_manager = 49;
81 isc_dpb_shutdown = 50;
82 isc_dpb_online = 51;
83 isc_dpb_shutdown_delay = 52;
84 isc_dpb_reserved = 53;
85 isc_dpb_overwrite = 54;
86 isc_dpb_sec_attach = 55;
87 isc_dpb_disable_wal = 56;
88 isc_dpb_connect_timeout = 57;
89 isc_dpb_dummy_packet_interval = 58;
90 isc_dpb_gbak_attach = 59;
91 isc_dpb_sql_role_name = 60;
92 isc_dpb_set_page_buffers = 61;
93 isc_dpb_working_directory = 62;
94 isc_dpb_sql_dialect = 63;
95 isc_dpb_set_db_readonly = 64;
96 isc_dpb_set_db_sql_dialect = 65;
97 isc_dpb_gfix_attach = 66;
98 isc_dpb_gstat_attach = 67;
99 isc_dpb_set_db_charset = 68;
100 isc_dpb_gsec_attach = 69;
101 isc_dpb_address_path = 70;
102 isc_dpb_process_id = 71;
103 isc_dpb_no_db_triggers = 72;
104 isc_dpb_trusted_auth = 73;
105 isc_dpb_process_name = 74;
106 isc_dpb_trusted_role = 75;
107 isc_dpb_org_filename = 76;
108 isc_dpb_utf8_filename = 77;
109 isc_dpb_ext_call_depth = 78;
110
111 isc_dpb_last_dpb_constant = isc_dpb_ext_call_depth;
112
113 (**************************************************)
114 (* clumplet tags used inside isc_dpb_address_path *)
115 (* and isc_spb_address_path *)
116 (**************************************************)
117
118 (* Format of this clumplet is the following:
119
120 <address-path-clumplet> ::=
121 isc_dpb_address_path <byte-clumplet-length> <address-stack>
122
123 <address-stack> ::=
124 <address-descriptor> |
125 <address-stack> <address-descriptor>
126
127 <address-descriptor> ::=
128 isc_dpb_address <byte-clumplet-length> <address-elements>
129
130 <address-elements> ::=
131 <address-element> |
132 <address-elements> <address-element>
133
134 <address-element> ::=
135 isc_dpb_addr_protocol <byte-clumplet-length> <protocol-string> |
136 isc_dpb_addr_endpoint <byte-clumplet-length> <remote-endpoint-string>
137
138 <protocol-string> ::=
139 "TCPv4" |
140 "TCPv6" |
141 "XNET" |
142 "WNET" |
143 ....
144
145 <remote-endpoint-string> ::=
146 <IPv4-address> | // such as "172.20.1.1"
147 <IPv6-address> | // such as "2001:0:13FF:09FF::1"
148 <xnet-process-id> | // such as "17864"
149 ...
150 *)
151
152 isc_dpb_address = 1;
153
154 isc_dpb_addr_protocol = 1;
155 isc_dpb_addr_endpoint = 2;
156
157 (*********************************)
158 (* isc_dpb_verify specific flags *)
159 (*********************************)
160
161 isc_dpb_pages = 1;
162 isc_dpb_records = 2;
163 isc_dpb_indices = 4;
164 isc_dpb_transactions = 8;
165 isc_dpb_no_update = 16;
166 isc_dpb_repair = 32;
167 isc_dpb_ignore = 64;
168
169 (***********************************)
170 (* isc_dpb_shutdown specific flags *)
171 (***********************************)
172
173 isc_dpb_shut_cache = $1;
174 isc_dpb_shut_attachment = $2;
175 isc_dpb_shut_transaction = $4;
176 isc_dpb_shut_force = $8;
177 isc_dpb_shut_mode_mask = $70;
178
179 isc_dpb_shut_default = $0;
180 isc_dpb_shut_normal = $10;
181 isc_dpb_shut_multi = $20;
182 isc_dpb_shut_single = $30;
183 isc_dpb_shut_full = $40;
184
185 (**************************************)
186 (* Bit assignments in RDB$SYSTEM_FLAG *)
187 (**************************************)
188
189 RDB_system = 1;
190 RDB_id_assigned = 2;
191 (* 2 is for QLI. See jrd/constants.h for more Firebird-specific values. *)
192
193
194 (*************************************)
195 (* Transaction parameter block stuff *)
196 (*************************************)
197
198 isc_tpb_version1 = 1;
199 isc_tpb_version3 = 3;
200 isc_tpb_consistency = 1;
201 isc_tpb_concurrency = 2;
202 isc_tpb_shared = 3;
203 isc_tpb_protected = 4;
204 isc_tpb_exclusive = 5;
205 isc_tpb_wait = 6;
206 isc_tpb_nowait = 7;
207 isc_tpb_read = 8;
208 isc_tpb_write = 9;
209 isc_tpb_lock_read = 10;
210 isc_tpb_lock_write = 11;
211 isc_tpb_verb_time = 12;
212 isc_tpb_commit_time = 13;
213 isc_tpb_ignore_limbo = 14;
214 isc_tpb_read_committed = 15;
215 isc_tpb_autocommit = 16;
216 isc_tpb_rec_version = 17;
217 isc_tpb_no_rec_version = 18;
218 isc_tpb_restart_requests = 19;
219 isc_tpb_no_auto_undo = 20;
220 isc_tpb_lock_timeout = 21;
221
222 isc_tpb_last_tpb_constant = isc_tpb_lock_timeout;
223
224
225 (************************)
226 (* Blob Parameter Block *)
227 (************************)
228
229 isc_bpb_version1 = 1;
230 isc_bpb_source_type = 1;
231 isc_bpb_target_type = 2;
232 isc_bpb_type = 3;
233 isc_bpb_source_interp = 4;
234 isc_bpb_target_interp = 5;
235 isc_bpb_filter_parameter = 6;
236 isc_bpb_storage = 7;
237
238 isc_bpb_type_segmented = $0;
239 isc_bpb_type_stream = $1;
240 isc_bpb_storage_main = $0;
241 isc_bpb_storage_temp = $2;
242
243
244 (*********************************)
245 (* Service parameter block stuff *)
246 (*********************************)
247
248 isc_spb_version1 = 1;
249 isc_spb_current_version = 2;
250 isc_spb_version = isc_spb_current_version;
251 isc_spb_user_name = isc_dpb_user_name;
252 isc_spb_sys_user_name = isc_dpb_sys_user_name;
253 isc_spb_sys_user_name_enc = isc_dpb_sys_user_name_enc;
254 isc_spb_password = isc_dpb_password;
255 isc_spb_password_enc = isc_dpb_password_enc;
256 isc_spb_command_line = 105;
257 isc_spb_dbname = 106;
258 isc_spb_verbose = 107;
259 isc_spb_options = 108;
260 isc_spb_address_path = 109;
261 isc_spb_process_id = 110;
262 isc_spb_trusted_auth = 111;
263 isc_spb_process_name = 112;
264 isc_spb_trusted_role = 113;
265
266 isc_spb_connect_timeout = isc_dpb_connect_timeout;
267 isc_spb_dummy_packet_interval = isc_dpb_dummy_packet_interval;
268 isc_spb_sql_role_name = isc_dpb_sql_role_name;
269
270 (*****************************
271 * Service action items *
272 *****************************)
273
274 isc_action_svc_backup = 1; (* Starts database backup process on the server *)
275 isc_action_svc_restore = 2; (* Starts database restore process on the server *)
276 isc_action_svc_repair = 3; (* Starts database repair process on the server *)
277 isc_action_svc_add_user = 4; (* Adds a new user to the security database *)
278 isc_action_svc_delete_user = 5; (* Deletes a user record from the security database *)
279 isc_action_svc_modify_user = 6; (* Modifies a user record in the security database *)
280 isc_action_svc_display_user = 7; (* Displays a user record from the security database *)
281 isc_action_svc_properties = 8; (* Sets database properties *)
282 isc_action_svc_add_license = 9; (* Adds a license to the license file *)
283 isc_action_svc_remove_license = 10; (* Removes a license from the license file *)
284 isc_action_svc_db_stats = 11; (* Retrieves database statistics *)
285 isc_action_svc_get_ib_log = 12; (* Retrieves the InterBase log file from the server *)
286 isc_action_svc_get_fb_log = 12; (* Retrieves the Firebird log file from the server *)
287 isc_action_svc_nbak = 20; (* Incremental nbackup *)
288 isc_action_svc_nrest = 21; (* Incremental database restore *)
289 isc_action_svc_trace_start = 22; // Start trace session
290 isc_action_svc_trace_stop = 23; // Stop trace session
291 isc_action_svc_trace_suspend = 24; // Suspend trace session
292 isc_action_svc_trace_resume = 25; // Resume trace session
293 isc_action_svc_trace_list = 26; // List existing sessions
294 isc_action_svc_set_mapping = 27; // Set auto admins mapping in security database
295 isc_action_svc_drop_mapping = 28; // Drop auto admins mapping in security database
296 isc_action_svc_display_user_adm = 29; // Displays user(s) from security database with admin info
297 isc_action_svc_last = 30; // keep it last !
298
299 (*****************************
300 * Service information items *
301 *****************************)
302
303 isc_info_svc_svr_db_info = 50; (* Retrieves the number of attachments and databases *)
304 isc_info_svc_get_license = 51; (* Retrieves all license keys and IDs from the license file *)
305 isc_info_svc_get_license_mask = 52; (* Retrieves a bitmask representing licensed options on the server *)
306 isc_info_svc_get_config = 53; (* Retrieves the parameters and values for IB_CONFIG *)
307 isc_info_svc_version = 54; (* Retrieves the version of the services manager *)
308 isc_info_svc_server_version = 55; (* Retrieves the version of the Firebird server *)
309 isc_info_svc_implementation = 56; (* Retrieves the implementation of the Firebird server *)
310 isc_info_svc_capabilities = 57; (* Retrieves a bitmask representing the server's capabilities *)
311 isc_info_svc_user_dbpath = 58; (* Retrieves the path to the security database in use by the server *)
312 isc_info_svc_get_env = 59; (* Retrieves the setting of $FIREBIRD *)
313 isc_info_svc_get_env_lock = 60; (* Retrieves the setting of $FIREBIRD_LCK *)
314 isc_info_svc_get_env_msg = 61; (* Retrieves the setting of $FIREBIRD_MSG *)
315 isc_info_svc_line = 62; (* Retrieves 1 line of service output per call *)
316 isc_info_svc_to_eof = 63; (* Retrieves as much of the server output as will fit in the supplied buffer *)
317 isc_info_svc_timeout = 64; (* Sets / signifies a timeout value for reading service information *)
318 isc_info_svc_get_licensed_users = 65; (* Retrieves the number of users licensed for accessing the server *)
319 isc_info_svc_limbo_trans = 66; (* Retrieve the limbo transactions *)
320 isc_info_svc_running = 67; (* Checks to see if a service is running on an attachment *)
321 isc_info_svc_get_users = 68; (* Returns the user information from isc_action_svc_display_users *)
322 isc_info_svc_stdin = 78; (* Returns size of data, needed as stdin for service *)
323
324 (******************************************************
325 * Parameters for isc_action_{add|del|mod|disp)_user *
326 ******************************************************)
327
328 isc_spb_sec_userid = 5;
329 isc_spb_sec_groupid = 6;
330 isc_spb_sec_username = 7;
331 isc_spb_sec_password = 8;
332 isc_spb_sec_groupname = 9;
333 isc_spb_sec_firstname = 10;
334 isc_spb_sec_middlename = 11;
335 isc_spb_sec_lastname = 12;
336 isc_spb_sec_admin = 13;
337
338 (*******************************************************
339 * Parameters for isc_action_svc_(add|remove)_license, *
340 * isc_info_svc_get_license *
341 *******************************************************)
342
343 isc_spb_lic_key = 5;
344 isc_spb_lic_id = 6;
345 isc_spb_lic_desc = 7;
346
347
348 (*****************************************
349 * Parameters for isc_action_svc_backup *
350 *****************************************)
351
352 isc_spb_bkp_file = 5;
353 isc_spb_bkp_factor = 6;
354 isc_spb_bkp_length = 7;
355 isc_spb_bkp_ignore_checksums = $01;
356 isc_spb_bkp_ignore_limbo = $02;
357 isc_spb_bkp_metadata_only = $04;
358 isc_spb_bkp_no_garbage_collect = $08;
359 isc_spb_bkp_old_descriptions = $10;
360 isc_spb_bkp_non_transportable = $20;
361 isc_spb_bkp_convert = $40;
362 isc_spb_bkp_expand = $80;
363 isc_spb_bkp_no_triggers = $8000;
364
365 (********************************************
366 * Parameters for isc_action_svc_properties *
367 ********************************************)
368
369 isc_spb_prp_page_buffers = 5;
370 isc_spb_prp_sweep_interval = 6;
371 isc_spb_prp_shutdown_db = 7;
372 isc_spb_prp_deny_new_attachments = 9;
373 isc_spb_prp_deny_new_transactions = 10;
374 isc_spb_prp_reserve_space = 11;
375 isc_spb_prp_write_mode = 12;
376 isc_spb_prp_access_mode = 13;
377 isc_spb_prp_set_sql_dialect = 14;
378 isc_spb_prp_activate = $0100;
379 isc_spb_prp_db_online = $0200;
380 isc_spb_prp_force_shutdown = 41;
381 isc_spb_prp_attachments_shutdown = 42;
382 isc_spb_prp_transactions_shutdown = 43;
383 isc_spb_prp_shutdown_mode = 44;
384 isc_spb_prp_online_mode = 45;
385
386 (********************************************
387 * Parameters for isc_spb_prp_shutdown_mode *
388 * and isc_spb_prp_online_mode *
389 ********************************************)
390 isc_spb_prp_sm_normal = 0;
391 isc_spb_prp_sm_multi = 1;
392 isc_spb_prp_sm_single = 2;
393 isc_spb_prp_sm_full = 3;
394
395 (********************************************
396 * Parameters for isc_spb_prp_reserve_space *
397 ********************************************)
398
399 isc_spb_prp_res_use_full = 35;
400 isc_spb_prp_res = 36;
401
402 (******************************************
403 * Parameters for isc_spb_prp_write_mode *
404 ******************************************)
405
406 isc_spb_prp_wm_async = 37;
407 isc_spb_prp_wm_sync = 38;
408
409 (******************************************
410 * Parameters for isc_spb_prp_access_mode *
411 ******************************************)
412
413 isc_spb_prp_am_readonly = 39;
414 isc_spb_prp_am_readwrite = 40;
415
416 (*****************************************
417 * Parameters for isc_action_svc_repair *
418 *****************************************)
419
420 isc_spb_rpr_commit_trans = 15;
421 isc_spb_rpr_rollback_trans = 34;
422 isc_spb_rpr_recover_two_phase = 17;
423 isc_spb_tra_id = 18;
424 isc_spb_single_tra_id = 19;
425 isc_spb_multi_tra_id = 20;
426 isc_spb_tra_state = 21;
427 isc_spb_tra_state_limbo = 22;
428 isc_spb_tra_state_commit = 23;
429 isc_spb_tra_state_rollback = 24;
430 isc_spb_tra_state_unknown = 25;
431 isc_spb_tra_host_site = 26;
432 isc_spb_tra_remote_site = 27;
433 isc_spb_tra_db_path = 28;
434 isc_spb_tra_advise = 29;
435 isc_spb_tra_advise_commit = 30;
436 isc_spb_tra_advise_rollback = 31;
437 isc_spb_tra_advise_unknown = 33;
438
439 isc_spb_rpr_validate_db = $01;
440 isc_spb_rpr_sweep_db = $02;
441 isc_spb_rpr_mend_db = $04;
442 isc_spb_rpr_list_limbo_trans = $08;
443 isc_spb_rpr_check_db = $10;
444 isc_spb_rpr_ignore_checksum = $20;
445 isc_spb_rpr_kill_shadows = $40;
446 isc_spb_rpr_full = $80;
447
448 (*****************************************
449 * Parameters for isc_action_svc_restore *
450 *****************************************)
451
452 isc_spb_res_buffers = 9;
453 isc_spb_res_page_size = 10;
454 isc_spb_res_length = 11;
455 isc_spb_res_access_mode = 12;
456 isc_spb_res_fix_fss_data = 13;
457 isc_spb_res_fix_fss_metadata = 14;
458 isc_spb_res_metadata_only = isc_spb_bkp_metadata_only;
459 isc_spb_res_deactivate_idx = $0100;
460 isc_spb_res_no_shadow = $0200;
461 isc_spb_res_no_validity = $0400;
462 isc_spb_res_one_at_a_time = $0800;
463 isc_spb_res_replace = $1000;
464 isc_spb_res_create = $2000;
465 isc_spb_res_use_all_space = $4000;
466
467 (******************************************
468 * Parameters for isc_spb_res_access_mode *
469 ******************************************)
470
471 isc_spb_res_am_readonly = isc_spb_prp_am_readonly;
472 isc_spb_res_am_readwrite = isc_spb_prp_am_readwrite;
473
474 (*******************************************
475 * Parameters for isc_info_svc_svr_db_info *
476 *******************************************)
477
478 isc_spb_num_att = 5;
479 isc_spb_num_db = 6;
480
481 (*****************************************
482 * Parameters for isc_info_svc_db_stats *
483 *****************************************)
484
485 isc_spb_sts_data_pages = $01;
486 isc_spb_sts_db_log = $02;
487 isc_spb_sts_hdr_pages = $04;
488 isc_spb_sts_idx_pages = $08;
489 isc_spb_sts_sys_relations = $10;
490 isc_spb_sts_record_versions = $20;
491 isc_spb_sts_table = $40;
492 isc_spb_sts_nocreation = $80;
493
494 (***********************************)
495 (* Server configuration key values *)
496 (***********************************)
497
498 (* Not available in Firebird 1.5 *)
499
500 (***************************************
501 * Parameters for isc_action_svc_nbak *
502 ***************************************)
503
504 isc_spb_nbk_level = 5;
505 isc_spb_nbk_file = 6;
506 isc_spb_nbk_direct = 7;
507 isc_spb_nbk_no_triggers = $01;
508
509 (***************************************
510 * Parameters for isc_action_svc_trace *
511 ***************************************)
512
513 isc_spb_trc_id = 1;
514 isc_spb_trc_name = 2;
515 isc_spb_trc_cfg = 3;
516
517 (**********************************************)
518 (* Dynamic Data Definition Language operators *)
519 (**********************************************)
520
521 (******************)
522 (* Version number *)
523 (******************)
524
525 isc_dyn_version_1 = 1;
526 isc_dyn_eoc = 255;
527
528 (******************************)
529 (* Operations (may be nested) *)
530 (******************************)
531
532 isc_dyn_begin = 2;
533 isc_dyn_end = 3;
534 isc_dyn_if = 4;
535 isc_dyn_def_database = 5;
536 isc_dyn_def_global_fld = 6;
537 isc_dyn_def_local_fld = 7;
538 isc_dyn_def_idx = 8;
539 isc_dyn_def_rel = 9;
540 isc_dyn_def_sql_fld = 10;
541 isc_dyn_def_view = 12;
542 isc_dyn_def_trigger = 15;
543 isc_dyn_def_security_class = 120;
544 isc_dyn_def_dimension = 140;
545 isc_dyn_def_generator = 24;
546 isc_dyn_def_function = 25;
547 isc_dyn_def_filter = 26;
548 isc_dyn_def_function_arg = 27;
549 isc_dyn_def_shadow = 34;
550 isc_dyn_def_trigger_msg = 17;
551 isc_dyn_def_file = 36;
552 isc_dyn_mod_database = 39;
553 isc_dyn_mod_rel = 11;
554 isc_dyn_mod_global_fld = 13;
555 isc_dyn_mod_idx = 102;
556 isc_dyn_mod_local_fld = 14;
557 isc_dyn_mod_sql_fld = 216;
558 isc_dyn_mod_view = 16;
559 isc_dyn_mod_security_class = 122;
560 isc_dyn_mod_trigger = 113;
561 isc_dyn_mod_trigger_msg = 28;
562 isc_dyn_delete_database = 18;
563 isc_dyn_delete_rel = 19;
564 isc_dyn_delete_global_fld = 20;
565 isc_dyn_delete_local_fld = 21;
566 isc_dyn_delete_idx = 22;
567 isc_dyn_delete_security_class = 123;
568 isc_dyn_delete_dimensions = 143;
569 isc_dyn_delete_trigger = 23;
570 isc_dyn_delete_trigger_msg = 29;
571 isc_dyn_delete_filter = 32;
572 isc_dyn_delete_function = 33;
573 isc_dyn_delete_shadow = 35;
574 isc_dyn_grant = 30;
575 isc_dyn_revoke = 31;
576 isc_dyn_revoke_all = 246;
577 isc_dyn_def_primary_key = 37;
578 isc_dyn_def_foreign_key = 38;
579 isc_dyn_def_unique = 40;
580 isc_dyn_def_procedure = 164;
581 isc_dyn_delete_procedure = 165;
582 isc_dyn_def_parameter = 135;
583 isc_dyn_delete_parameter = 136;
584 isc_dyn_mod_procedure = 175;
585 (* Deprecated.
586 isc_dyn_def_log_file = 176;
587 isc_dyn_def_cache_file = 180;
588 *)
589 isc_dyn_def_exception = 181;
590 isc_dyn_mod_exception = 182;
591 isc_dyn_del_exception = 183;
592 (* Deprecated.
593 isc_dyn_drop_log = 194;
594 isc_dyn_drop_cache = 195;
595 isc_dyn_def_default_log = 202;
596 *)
597 isc_dyn_def_difference = 220;
598 isc_dyn_drop_difference = 221;
599 isc_dyn_begin_backup = 222;
600 isc_dyn_end_backup = 223;
601 isc_dyn_debug_info = 240;
602
603 (***********************)
604 (* View specific stuff *)
605 (***********************)
606
607 isc_dyn_view_blr = 43;
608 isc_dyn_view_source = 44;
609 isc_dyn_view_relation = 45;
610 isc_dyn_view_context = 46;
611 isc_dyn_view_context_name = 47;
612
613 (**********************)
614 (* Generic attributes *)
615 (**********************)
616
617 isc_dyn_rel_name = 50;
618 isc_dyn_fld_name = 51;
619 isc_dyn_new_fld_name = 215;
620 isc_dyn_idx_name = 52;
621 isc_dyn_description = 53;
622 isc_dyn_security_class = 54;
623 isc_dyn_system_flag = 55;
624 isc_dyn_update_flag = 56;
625 isc_dyn_prc_name = 166;
626 isc_dyn_prm_name = 137;
627 isc_dyn_sql_object = 196;
628 isc_dyn_fld_character_set_name = 174;
629
630 (********************************)
631 (* Relation specific attributes *)
632 (********************************)
633
634 isc_dyn_rel_dbkey_length = 61;
635 isc_dyn_rel_store_trig = 62;
636 isc_dyn_rel_modify_trig = 63;
637 isc_dyn_rel_erase_trig = 64;
638 isc_dyn_rel_store_trig_source = 65;
639 isc_dyn_rel_modify_trig_source = 66;
640 isc_dyn_rel_erase_trig_source = 67;
641 isc_dyn_rel_ext_file = 68;
642 isc_dyn_rel_sql_protection = 69;
643 isc_dyn_rel_constraint = 162;
644 isc_dyn_delete_rel_constraint = 163;
645
646 isc_dyn_rel_temporary = 238;
647 isc_dyn_rel_temp_global_preserve = 1;
648 isc_dyn_rel_temp_global_delete = 2;
649
650 (************************************)
651 (* Global field specific attributes *)
652 (************************************)
653
654 isc_dyn_fld_type = 70;
655 isc_dyn_fld_length = 71;
656 isc_dyn_fld_scale = 72;
657 isc_dyn_fld_sub_type = 73;
658 isc_dyn_fld_segment_length = 74;
659 isc_dyn_fld_query_header = 75;
660 isc_dyn_fld_edit_string = 76;
661 isc_dyn_fld_validation_blr = 77;
662 isc_dyn_fld_validation_source = 78;
663 isc_dyn_fld_computed_blr = 79;
664 isc_dyn_fld_computed_source = 80;
665 isc_dyn_fld_missing_value = 81;
666 isc_dyn_fld_default_value = 82;
667 isc_dyn_fld_query_name = 83;
668 isc_dyn_fld_dimensions = 84;
669 isc_dyn_fld_not_null = 85;
670 isc_dyn_fld_precision = 86;
671 isc_dyn_fld_char_length = 172;
672 isc_dyn_fld_collation = 173;
673 isc_dyn_fld_default_source = 193;
674 isc_dyn_del_default = 197;
675 isc_dyn_del_validation = 198;
676 isc_dyn_single_validation = 199;
677 isc_dyn_fld_character_set = 203;
678 isc_dyn_del_computed = 242;
679
680 (***********************************)
681 (* Local field specific attributes *)
682 (***********************************)
683
684 isc_dyn_fld_source = 90;
685 isc_dyn_fld_base_fld = 91;
686 isc_dyn_fld_position = 92;
687 isc_dyn_fld_update_flag = 93;
688
689 (*****************************)
690 (* Index specific attributes *)
691 (*****************************)
692
693 isc_dyn_idx_unique = 100;
694 isc_dyn_idx_inactive = 101;
695 isc_dyn_idx_type = 103;
696 isc_dyn_idx_foreign_key = 104;
697 isc_dyn_idx_ref_column = 105;
698 isc_dyn_idx_statistic = 204;
699
700 (*******************************)
701 (* Trigger specific attributes *)
702 (*******************************)
703
704 isc_dyn_trg_type = 110;
705 isc_dyn_trg_blr = 111;
706 isc_dyn_trg_source = 112;
707 isc_dyn_trg_name = 114;
708 isc_dyn_trg_sequence = 115;
709 isc_dyn_trg_inactive = 116;
710 isc_dyn_trg_msg_number = 117;
711 isc_dyn_trg_msg = 118;
712
713 (**************************************)
714 (* Security Class specific attributes *)
715 (**************************************)
716
717 isc_dyn_scl_acl = 121;
718 isc_dyn_grant_user = 130;
719 isc_dyn_grant_user_explicit = 219;
720 isc_dyn_grant_proc = 186;
721 isc_dyn_grant_trig = 187;
722 isc_dyn_grant_view = 188;
723 isc_dyn_grant_options = 132;
724 isc_dyn_grant_user_group = 205;
725 isc_dyn_grant_role = 218;
726 isc_dyn_grant_grantor = 245;
727
728
729 (**********************************)
730 (* Dimension specific information *)
731 (**********************************)
732
733 isc_dyn_dim_lower = 141;
734 isc_dyn_dim_upper = 142;
735
736 (****************************)
737 (* File specific attributes *)
738 (****************************)
739
740 isc_dyn_file_name = 125;
741 isc_dyn_file_start = 126;
742 isc_dyn_file_length = 127;
743 isc_dyn_shadow_number = 128;
744 isc_dyn_shadow_man_auto = 129;
745 isc_dyn_shadow_conditional = 130;
746
747 (********************************)
748 (* Log file specific attributes *)
749 (********************************)
750 (* Deprecated.
751 isc_dyn_log_file_sequence = 177;
752 isc_dyn_log_file_partitions = 178;
753 isc_dyn_log_file_serial = 179;
754 isc_dyn_log_file_overflow = 200;
755 isc_dyn_log_file_raw = 201;
756 *)
757
758 (***************************)
759 (* Log specific attributes *)
760 (***************************)
761 (* Deprecated.
762 isc_dyn_log_group_commit_wait = 189;
763 isc_dyn_log_buffer_size = 190;
764 isc_dyn_log_check_point_length = 191;
765 isc_dyn_log_num_of_buffers = 192;
766 *)
767
768 (********************************)
769 (* Function specific attributes *)
770 (********************************)
771
772 isc_dyn_function_name = 145;
773 isc_dyn_function_type = 146;
774 isc_dyn_func_module_name = 147;
775 isc_dyn_func_entry_point = 148;
776 isc_dyn_func_return_argument = 149;
777 isc_dyn_func_arg_position = 150;
778 isc_dyn_func_mechanism = 151;
779 isc_dyn_filter_in_subtype = 152;
780 isc_dyn_filter_out_subtype = 153;
781
782
783 isc_dyn_description2 = 154;
784 isc_dyn_fld_computed_source2 = 155;
785 isc_dyn_fld_edit_string2 = 156;
786 isc_dyn_fld_query_header2 = 157;
787 isc_dyn_fld_validation_source2 = 158;
788 isc_dyn_trg_msg2 = 159;
789 isc_dyn_trg_source2 = 160;
790 isc_dyn_view_source2 = 161;
791 isc_dyn_xcp_msg2 = 184;
792
793 (*********************************)
794 (* Generator specific attributes *)
795 (*********************************)
796
797 isc_dyn_generator_name = 95;
798 isc_dyn_generator_id = 96;
799
800 (*********************************)
801 (* Procedure specific attributes *)
802 (*********************************)
803
804 isc_dyn_prc_inputs = 167;
805 isc_dyn_prc_outputs = 168;
806 isc_dyn_prc_source = 169;
807 isc_dyn_prc_blr = 170;
808 isc_dyn_prc_source2 = 171;
809 isc_dyn_prc_type = 239;
810
811 isc_dyn_prc_t_selectable = 1;
812 isc_dyn_prc_t_executable = 2;
813
814 (*********************************)
815 (* Parameter specific attributes *)
816 (*********************************)
817
818 isc_dyn_prm_number = 138;
819 isc_dyn_prm_type = 139;
820 isc_dyn_prm_mechanism = 241;
821
822 (********************************)
823 (* Relation specific attributes *)
824 (********************************)
825
826 isc_dyn_xcp_msg = 185;
827
828 (**********************************************)
829 (* Cascading referential integrity values *)
830 (**********************************************)
831 isc_dyn_foreign_key_update = 205;
832 isc_dyn_foreign_key_delete = 206;
833 isc_dyn_foreign_key_cascade = 207;
834 isc_dyn_foreign_key_default = 208;
835 isc_dyn_foreign_key_null = 209;
836 isc_dyn_foreign_key_none = 210;
837
838 (***********************)
839 (* SQL role values *)
840 (***********************)
841 isc_dyn_def_sql_role = 211;
842 isc_dyn_sql_role_name = 212;
843 isc_dyn_grant_admin_options = 213;
844 isc_dyn_del_sql_role = 214;
845 (* 215 & 216 are used some lines above. *)
846
847 (**********************************************)
848 (* Generators again *)
849 (**********************************************)
850
851 isc_dyn_delete_generator = 217;
852
853 // New for comments in objects.
854 isc_dyn_mod_function = 224;
855 isc_dyn_mod_filter = 225;
856 isc_dyn_mod_generator = 226;
857 isc_dyn_mod_sql_role = 227;
858 isc_dyn_mod_charset = 228;
859 isc_dyn_mod_collation = 229;
860 isc_dyn_mod_prc_parameter = 230;
861
862 (***********************)
863 (* collation values *)
864 (***********************)
865 isc_dyn_def_collation = 231;
866 isc_dyn_coll_for_charset = 232;
867 isc_dyn_coll_from = 233;
868 isc_dyn_coll_from_external = 239;
869 isc_dyn_coll_attribute = 234;
870 isc_dyn_coll_specific_attributes_charset = 235;
871 isc_dyn_coll_specific_attributes = 236;
872 isc_dyn_del_collation = 237;
873
874 (******************************************)
875 (* Mapping OS security objects to DB ones *)
876 (******************************************)
877 isc_dyn_mapping = 243;
878 isc_dyn_map_role = 1;
879 isc_dyn_unmap_role = 2;
880 isc_dyn_map_user = 3;
881 isc_dyn_unmap_user = 4;
882 isc_dyn_automap_role = 5;
883 isc_dyn_autounmap_role = 6;
884
885 (********************)
886 (* Users control *)
887 (********************)
888 isc_dyn_user = 244;
889 isc_dyn_user_add = 1;
890 isc_dyn_user_mod = 2;
891 isc_dyn_user_del = 3;
892 isc_dyn_user_passwd = 4;
893 isc_dyn_user_first = 5;
894 isc_dyn_user_middle = 6;
895 isc_dyn_user_last = 7;
896 isc_dyn_user_admin = 8;
897 isc_user_end = 0;
898
899 (****************************)
900 (* Last $dyn value assigned *)
901 (****************************)
902 isc_dyn_last_dyn_value = 247;
903
904 (******************************************)
905 (* Array slice description language (SDL) *)
906 (******************************************)
907
908 isc_sdl_version1 = 1;
909 isc_sdl_eoc = 255;
910 isc_sdl_relation = 2;
911 isc_sdl_rid = 3;
912 isc_sdl_field = 4;
913 isc_sdl_fid = 5;
914 isc_sdl_struct = 6;
915 isc_sdl_variable = 7;
916 isc_sdl_scalar = 8;
917 isc_sdl_tiny_integer = 9;
918 isc_sdl_short_integer = 10;
919 isc_sdl_long_integer = 11;
920 isc_sdl_literal = 12;
921 isc_sdl_add = 13;
922 isc_sdl_subtract = 14;
923 isc_sdl_multiply = 15;
924 isc_sdl_divide = 16;
925 isc_sdl_negate = 17;
926 isc_sdl_eql = 18;
927 isc_sdl_neq = 19;
928 isc_sdl_gtr = 20;
929 isc_sdl_geq = 21;
930 isc_sdl_lss = 22;
931 isc_sdl_leq = 23;
932 isc_sdl_and = 24;
933 isc_sdl_or = 25;
934 isc_sdl_not = 26;
935 isc_sdl_while = 27;
936 isc_sdl_assignment = 28;
937 isc_sdl_label = 29;
938 isc_sdl_leave = 30;
939 isc_sdl_begin = 31;
940 isc_sdl_end = 32;
941 isc_sdl_do3 = 33;
942 isc_sdl_do2 = 34;
943 isc_sdl_do1 = 35;
944 isc_sdl_element = 36;
945
946 (********************************************)
947 (* International text interpretation values *)
948 (********************************************)
949
950 isc_interp_eng_ascii = 0;
951 isc_interp_jpn_sjis = 5;
952 isc_interp_jpn_euc = 6;
953
954 (*****************)
955 (* Blob Subtypes *)
956 (*****************)
957
958 (* types less than zero are reserved for customer use *)
959
960 isc_blob_untyped = 0;
961
962 (* internal subtypes *)
963
964 isc_blob_text = 1;
965 isc_blob_blr = 2;
966 isc_blob_acl = 3;
967 isc_blob_ranges = 4;
968 isc_blob_summary = 5;
969 isc_blob_format = 6;
970 isc_blob_tra = 7;
971 isc_blob_extfile = 8;
972 isc_blob_debug_info = 9;
973 isc_blob_max_predefined_subtype = 10;
974
975 (* the range 20-30 is reserved for dBASE and Paradox types *)
976
977 isc_blob_formatted_memo = 20;
978 isc_blob_paradox_ole = 21;
979 isc_blob_graphic = 22;
980 isc_blob_dbase_ole = 23;
981 isc_blob_typed_binary = 24;
982
983
984 (***********************************)
985 (* Masks for fb_shutdown_callback *)
986 (***********************************)
987
988 fb_shut_confirmation = 1;
989 fb_shut_preproviders = 2;
990 fb_shut_postproviders = 4;
991 fb_shut_finish = 8;
992
993 (****************************************)
994 (* Shutdown reasons, used by engine *)
995 (* Users should provide positive values *)
996 (****************************************)
997
998 fb_shutrsn_svc_stopped = -1;
999 fb_shutrsn_no_connection = -2;
1000 fb_shutrsn_app_stopped = -3;
1001 fb_shutrsn_device_removed = -4;
1002 fb_shutrsn_signal = -5;
1003 fb_shutrsn_services = -6;
1004 fb_shutrsn_exit_called = -7;
1005
1006 (****************************************)
1007 (* Cancel types for fb_cancel_operation *)
1008 (****************************************)
1009
1010 fb_cancel_disable = 1;
1011 fb_cancel_enable = 2;
1012 fb_cancel_raise = 3;
1013 fb_cancel_abort = 4;
1014
1015 (********************************************)
1016 (* Debug information items *)
1017 (********************************************)
1018
1019 fb_dbg_version = 1;
1020 fb_dbg_end = 255;
1021 fb_dbg_map_src2blr = 2;
1022 fb_dbg_map_varname = 3;
1023 fb_dbg_map_argument = 4;
1024
1025 // sub code for fb_dbg_map_argument
1026 fb_dbg_arg_input = 0;
1027 fb_dbg_arg_output = 1;
1028
1029