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.Inprise.com/IPL.html
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#ifndef INCLUDE_CONSTS_PUB_H
27#define INCLUDE_CONSTS_PUB_H
28
29/**********************************/
30/* Database parameter block stuff */
31/**********************************/
32
33#define isc_dpb_version1 1
34#define isc_dpb_version2 2
35
36#define isc_dpb_cdd_pathname 1
37#define isc_dpb_allocation 2
38#define isc_dpb_journal 3
39#define isc_dpb_page_size 4
40#define isc_dpb_num_buffers 5
41#define isc_dpb_buffer_length 6
42#define isc_dpb_debug 7
43#define isc_dpb_garbage_collect 8
44#define isc_dpb_verify 9
45#define isc_dpb_sweep 10
46#define isc_dpb_enable_journal 11
47#define isc_dpb_disable_journal 12
48#define isc_dpb_dbkey_scope 13
49#define isc_dpb_number_of_users 14
50#define isc_dpb_trace 15
51#define isc_dpb_no_garbage_collect 16
52#define isc_dpb_damaged 17
53#define isc_dpb_license 18
54#define isc_dpb_sys_user_name 19
55#define isc_dpb_encrypt_key 20
56#define isc_dpb_activate_shadow 21
57#define isc_dpb_sweep_interval 22
58#define isc_dpb_delete_shadow 23
59#define isc_dpb_force_write 24
60#define isc_dpb_begin_log 25
61#define isc_dpb_quit_log 26
62#define isc_dpb_no_reserve 27
63#define isc_dpb_user_name 28
64#define isc_dpb_password 29
65#define isc_dpb_password_enc 30
66#define isc_dpb_sys_user_name_enc 31
67#define isc_dpb_interp 32
68#define isc_dpb_online_dump 33
69#define isc_dpb_old_file_size 34
70#define isc_dpb_old_num_files 35
71#define isc_dpb_old_file 36
72#define isc_dpb_old_start_page 37
73#define isc_dpb_old_start_seqno 38
74#define isc_dpb_old_start_file 39
75#define isc_dpb_drop_walfile 40
76#define isc_dpb_old_dump_id 41
77#define isc_dpb_wal_backup_dir 42
78#define isc_dpb_wal_chkptlen 43
79#define isc_dpb_wal_numbufs 44
80#define isc_dpb_wal_bufsize 45
81#define isc_dpb_wal_grp_cmt_wait 46
82#define isc_dpb_lc_messages 47
83#define isc_dpb_lc_ctype 48
84#define isc_dpb_cache_manager 49
85#define isc_dpb_shutdown 50
86#define isc_dpb_online 51
87#define isc_dpb_shutdown_delay 52
88#define isc_dpb_reserved 53
89#define isc_dpb_overwrite 54
90#define isc_dpb_sec_attach 55
91#define isc_dpb_disable_wal 56
92#define isc_dpb_connect_timeout 57
93#define isc_dpb_dummy_packet_interval 58
94#define isc_dpb_gbak_attach 59
95#define isc_dpb_sql_role_name 60
96#define isc_dpb_set_page_buffers 61
97#define isc_dpb_working_directory 62
98#define isc_dpb_sql_dialect 63
99#define isc_dpb_set_db_readonly 64
100#define isc_dpb_set_db_sql_dialect 65
101#define isc_dpb_gfix_attach 66
102#define isc_dpb_gstat_attach 67
103#define isc_dpb_set_db_charset 68
104#define isc_dpb_gsec_attach 69 /* deprecated */
105#define isc_dpb_address_path 70
106#define isc_dpb_process_id 71
107#define isc_dpb_no_db_triggers 72
108#define isc_dpb_trusted_auth 73
109#define isc_dpb_process_name 74
110#define isc_dpb_trusted_role 75
111#define isc_dpb_org_filename 76
112#define isc_dpb_utf8_filename 77
113#define isc_dpb_ext_call_depth 78
114#define isc_dpb_auth_block 79
115#define isc_dpb_client_version 80
116#define isc_dpb_remote_protocol 81
117#define isc_dpb_host_name 82
118#define isc_dpb_os_user 83
119#define isc_dpb_specific_auth_data 84
120#define isc_dpb_auth_plugin_list 85
121#define isc_dpb_auth_plugin_name 86
122#define isc_dpb_config 87
123#define isc_dpb_nolinger 88
124
125/**************************************************/
126/* clumplet tags used inside isc_dpb_address_path */
127/* and isc_spb_address_path */
128/**************************************************/
129
130/* Format of this clumplet is the following:
131
132 <address-path-clumplet> ::=
133 isc_dpb_address_path <byte-clumplet-length> <address-stack>
134
135 <address-stack> ::=
136 <address-descriptor> |
137 <address-stack> <address-descriptor>
138
139 <address-descriptor> ::=
140 isc_dpb_address <byte-clumplet-length> <address-elements>
141
142 <address-elements> ::=
143 <address-element> |
144 <address-elements> <address-element>
145
146 <address-element> ::=
147 isc_dpb_addr_protocol <byte-clumplet-length> <protocol-string> |
148 isc_dpb_addr_endpoint <byte-clumplet-length> <remote-endpoint-string>
149
150 <protocol-string> ::=
151 "TCPv4" |
152 "TCPv6" |
153 "XNET" |
154 "WNET" |
155 ....
156
157 <remote-endpoint-string> ::=
158 <IPv4-address> | // such as "172.20.1.1"
159 <IPv6-address> | // such as "2001:0:13FF:09FF::1"
160 <xnet-process-id> | // such as "17864"
161 ...
162*/
163
164#define isc_dpb_address 1
165
166#define isc_dpb_addr_protocol 1
167#define isc_dpb_addr_endpoint 2
168
169/*********************************/
170/* isc_dpb_verify specific flags */
171/*********************************/
172
173#define isc_dpb_pages 1
174#define isc_dpb_records 2
175#define isc_dpb_indices 4
176#define isc_dpb_transactions 8
177#define isc_dpb_no_update 16
178#define isc_dpb_repair 32
179#define isc_dpb_ignore 64
180
181/***********************************/
182/* isc_dpb_shutdown specific flags */
183/***********************************/
184
185#define isc_dpb_shut_cache 0x1
186#define isc_dpb_shut_attachment 0x2
187#define isc_dpb_shut_transaction 0x4
188#define isc_dpb_shut_force 0x8
189#define isc_dpb_shut_mode_mask 0x70
190
191#define isc_dpb_shut_default 0x0
192#define isc_dpb_shut_normal 0x10
193#define isc_dpb_shut_multi 0x20
194#define isc_dpb_shut_single 0x30
195#define isc_dpb_shut_full 0x40
196
197/**************************************/
198/* Bit assignments in RDB$SYSTEM_FLAG */
199/**************************************/
200
201#define RDB_system 1
202#define RDB_id_assigned 2
203/* 2 is for QLI. See jrd/constants.h for more Firebird-specific values. */
204
205
206/*************************************/
207/* Transaction parameter block stuff */
208/*************************************/
209
210#define isc_tpb_version1 1
211#define isc_tpb_version3 3
212#define isc_tpb_consistency 1
213#define isc_tpb_concurrency 2
214#define isc_tpb_shared 3
215#define isc_tpb_protected 4
216#define isc_tpb_exclusive 5
217#define isc_tpb_wait 6
218#define isc_tpb_nowait 7
219#define isc_tpb_read 8
220#define isc_tpb_write 9
221#define isc_tpb_lock_read 10
222#define isc_tpb_lock_write 11
223#define isc_tpb_verb_time 12
224#define isc_tpb_commit_time 13
225#define isc_tpb_ignore_limbo 14
226#define isc_tpb_read_committed 15
227#define isc_tpb_autocommit 16
228#define isc_tpb_rec_version 17
229#define isc_tpb_no_rec_version 18
230#define isc_tpb_restart_requests 19
231#define isc_tpb_no_auto_undo 20
232#define isc_tpb_lock_timeout 21
233
234
235/************************/
236/* Blob Parameter Block */
237/************************/
238
239#define isc_bpb_version1 1
240#define isc_bpb_source_type 1
241#define isc_bpb_target_type 2
242#define isc_bpb_type 3
243#define isc_bpb_source_interp 4
244#define isc_bpb_target_interp 5
245#define isc_bpb_filter_parameter 6
246#define isc_bpb_storage 7
247
248#define isc_bpb_type_segmented 0x0
249#define isc_bpb_type_stream 0x1
250#define isc_bpb_storage_main 0x0
251#define isc_bpb_storage_temp 0x2
252
253
254/*********************************/
255/* Service parameter block stuff */
256/*********************************/
257
258#define isc_spb_version1 1
259#define isc_spb_current_version 2
260#define isc_spb_version isc_spb_current_version
261#define isc_spb_version3 3
262#define isc_spb_user_name isc_dpb_user_name
263#define isc_spb_sys_user_name isc_dpb_sys_user_name
264#define isc_spb_sys_user_name_enc isc_dpb_sys_user_name_enc
265#define isc_spb_password isc_dpb_password
266#define isc_spb_password_enc isc_dpb_password_enc
267#define isc_spb_command_line 105
268#define isc_spb_dbname 106
269#define isc_spb_verbose 107
270#define isc_spb_options 108
271#define isc_spb_address_path 109
272#define isc_spb_process_id 110
273#define isc_spb_trusted_auth 111
274#define isc_spb_process_name 112
275#define isc_spb_trusted_role 113
276#define isc_spb_verbint 114
277#define isc_spb_auth_block 115
278#define isc_spb_auth_plugin_name 116
279#define isc_spb_auth_plugin_list 117
280#define isc_spb_utf8_filename 118
281#define isc_spb_client_version 119
282#define isc_spb_remote_protocol 120
283#define isc_spb_host_name 121
284#define isc_spb_os_user 122
285#define isc_spb_config 123
286#define isc_spb_expected_db 124
287
288#define isc_spb_connect_timeout isc_dpb_connect_timeout
289#define isc_spb_dummy_packet_interval isc_dpb_dummy_packet_interval
290#define isc_spb_sql_role_name isc_dpb_sql_role_name
291
292// This will not be used in protocol 13, therefore may be reused
293#define isc_spb_specific_auth_data isc_spb_trusted_auth
294
295/*****************************
296 * Service action items *
297 *****************************/
298
299#define isc_action_svc_backup 1 /* Starts database backup process on the server */
300#define isc_action_svc_restore 2 /* Starts database restore process on the server */
301#define isc_action_svc_repair 3 /* Starts database repair process on the server */
302#define isc_action_svc_add_user 4 /* Adds a new user to the security database */
303#define isc_action_svc_delete_user 5 /* Deletes a user record from the security database */
304#define isc_action_svc_modify_user 6 /* Modifies a user record in the security database */
305#define isc_action_svc_display_user 7 /* Displays a user record from the security database */
306#define isc_action_svc_properties 8 /* Sets database properties */
307#define isc_action_svc_add_license 9 /* Adds a license to the license file */
308#define isc_action_svc_remove_license 10 /* Removes a license from the license file */
309#define isc_action_svc_db_stats 11 /* Retrieves database statistics */
310#define isc_action_svc_get_ib_log 12 /* Retrieves the InterBase log file from the server */
311#define isc_action_svc_get_fb_log 12 /* Retrieves the Firebird log file from the server */
312#define isc_action_svc_nbak 20 /* Incremental nbackup */
313#define isc_action_svc_nrest 21 /* Incremental database restore */
314#define isc_action_svc_trace_start 22 // Start trace session
315#define isc_action_svc_trace_stop 23 // Stop trace session
316#define isc_action_svc_trace_suspend 24 // Suspend trace session
317#define isc_action_svc_trace_resume 25 // Resume trace session
318#define isc_action_svc_trace_list 26 // List existing sessions
319#define isc_action_svc_set_mapping 27 // Set auto admins mapping in security database
320#define isc_action_svc_drop_mapping 28 // Drop auto admins mapping in security database
321#define isc_action_svc_display_user_adm 29 // Displays user(s) from security database with admin info
322#define isc_action_svc_last 30 // keep it last !
323
324/*****************************
325 * Service information items *
326 *****************************/
327
328#define isc_info_svc_svr_db_info 50 /* Retrieves the number of attachments and databases */
329#define isc_info_svc_get_license 51 /* Retrieves all license keys and IDs from the license file */
330#define isc_info_svc_get_license_mask 52 /* Retrieves a bitmask representing licensed options on the server */
331#define isc_info_svc_get_config 53 /* Retrieves the parameters and values for IB_CONFIG */
332#define isc_info_svc_version 54 /* Retrieves the version of the services manager */
333#define isc_info_svc_server_version 55 /* Retrieves the version of the Firebird server */
334#define isc_info_svc_implementation 56 /* Retrieves the implementation of the Firebird server */
335#define isc_info_svc_capabilities 57 /* Retrieves a bitmask representing the server's capabilities */
336#define isc_info_svc_user_dbpath 58 /* Retrieves the path to the security database in use by the server */
337#define isc_info_svc_get_env 59 /* Retrieves the setting of $FIREBIRD */
338#define isc_info_svc_get_env_lock 60 /* Retrieves the setting of $FIREBIRD_LCK */
339#define isc_info_svc_get_env_msg 61 /* Retrieves the setting of $FIREBIRD_MSG */
340#define isc_info_svc_line 62 /* Retrieves 1 line of service output per call */
341#define isc_info_svc_to_eof 63 /* Retrieves as much of the server output as will fit in the supplied buffer */
342#define isc_info_svc_timeout 64 /* Sets / signifies a timeout value for reading service information */
343#define isc_info_svc_get_licensed_users 65 /* Retrieves the number of users licensed for accessing the server */
344#define isc_info_svc_limbo_trans 66 /* Retrieve the limbo transactions */
345#define isc_info_svc_running 67 /* Checks to see if a service is running on an attachment */
346#define isc_info_svc_get_users 68 /* Returns the user information from isc_action_svc_display_users */
347#define isc_info_svc_auth_block 69 /* Sets authentication block for service query() call */
348#define isc_info_svc_stdin 78 /* Returns maximum size of data, needed as stdin for service */
349
350
351/******************************************************
352 * Parameters for isc_action_{add|del|mod|disp)_user *
353 ******************************************************/
354
355#define isc_spb_sec_userid 5
356#define isc_spb_sec_groupid 6
357#define isc_spb_sec_username 7
358#define isc_spb_sec_password 8
359#define isc_spb_sec_groupname 9
360#define isc_spb_sec_firstname 10
361#define isc_spb_sec_middlename 11
362#define isc_spb_sec_lastname 12
363#define isc_spb_sec_admin 13
364
365/*******************************************************
366 * Parameters for isc_action_svc_(add|remove)_license, *
367 * isc_info_svc_get_license *
368 *******************************************************/
369
370#define isc_spb_lic_key 5
371#define isc_spb_lic_id 6
372#define isc_spb_lic_desc 7
373
374
375/*****************************************
376 * Parameters for isc_action_svc_backup *
377 *****************************************/
378
379#define isc_spb_bkp_file 5
380#define isc_spb_bkp_factor 6
381#define isc_spb_bkp_length 7
382#define isc_spb_bkp_ignore_checksums 0x01
383#define isc_spb_bkp_ignore_limbo 0x02
384#define isc_spb_bkp_metadata_only 0x04
385#define isc_spb_bkp_no_garbage_collect 0x08
386#define isc_spb_bkp_old_descriptions 0x10
387#define isc_spb_bkp_non_transportable 0x20
388#define isc_spb_bkp_convert 0x40
389#define isc_spb_bkp_expand 0x80
390#define isc_spb_bkp_no_triggers 0x8000
391
392/********************************************
393 * Parameters for isc_action_svc_properties *
394 ********************************************/
395
396#define isc_spb_prp_page_buffers 5
397#define isc_spb_prp_sweep_interval 6
398#define isc_spb_prp_shutdown_db 7
399#define isc_spb_prp_deny_new_attachments 9
400#define isc_spb_prp_deny_new_transactions 10
401#define isc_spb_prp_reserve_space 11
402#define isc_spb_prp_write_mode 12
403#define isc_spb_prp_access_mode 13
404#define isc_spb_prp_set_sql_dialect 14
405#define isc_spb_prp_activate 0x0100
406#define isc_spb_prp_db_online 0x0200
407#define isc_spb_prp_nolinger 0x0400
408#define isc_spb_prp_force_shutdown 41
409#define isc_spb_prp_attachments_shutdown 42
410#define isc_spb_prp_transactions_shutdown 43
411#define isc_spb_prp_shutdown_mode 44
412#define isc_spb_prp_online_mode 45
413
414/********************************************
415 * Parameters for isc_spb_prp_shutdown_mode *
416 * and isc_spb_prp_online_mode *
417 ********************************************/
418#define isc_spb_prp_sm_normal 0
419#define isc_spb_prp_sm_multi 1
420#define isc_spb_prp_sm_single 2
421#define isc_spb_prp_sm_full 3
422
423/********************************************
424 * Parameters for isc_spb_prp_reserve_space *
425 ********************************************/
426
427#define isc_spb_prp_res_use_full 35
428#define isc_spb_prp_res 36
429
430/******************************************
431 * Parameters for isc_spb_prp_write_mode *
432 ******************************************/
433
434#define isc_spb_prp_wm_async 37
435#define isc_spb_prp_wm_sync 38
436
437/******************************************
438 * Parameters for isc_spb_prp_access_mode *
439 ******************************************/
440
441#define isc_spb_prp_am_readonly 39
442#define isc_spb_prp_am_readwrite 40
443
444/*****************************************
445 * Parameters for isc_action_svc_repair *
446 *****************************************/
447
448#define isc_spb_rpr_commit_trans 15
449#define isc_spb_rpr_rollback_trans 34
450#define isc_spb_rpr_recover_two_phase 17
451#define isc_spb_tra_id 18
452#define isc_spb_single_tra_id 19
453#define isc_spb_multi_tra_id 20
454#define isc_spb_tra_state 21
455#define isc_spb_tra_state_limbo 22
456#define isc_spb_tra_state_commit 23
457#define isc_spb_tra_state_rollback 24
458#define isc_spb_tra_state_unknown 25
459#define isc_spb_tra_host_site 26
460#define isc_spb_tra_remote_site 27
461#define isc_spb_tra_db_path 28
462#define isc_spb_tra_advise 29
463#define isc_spb_tra_advise_commit 30
464#define isc_spb_tra_advise_rollback 31
465#define isc_spb_tra_advise_unknown 33
466
467#define isc_spb_rpr_validate_db 0x01
468#define isc_spb_rpr_sweep_db 0x02
469#define isc_spb_rpr_mend_db 0x04
470#define isc_spb_rpr_list_limbo_trans 0x08
471#define isc_spb_rpr_check_db 0x10
472#define isc_spb_rpr_ignore_checksum 0x20
473#define isc_spb_rpr_kill_shadows 0x40
474#define isc_spb_rpr_full 0x80
475
476/*****************************************
477 * Parameters for isc_action_svc_restore *
478 *****************************************/
479
480#define isc_spb_res_buffers 9
481#define isc_spb_res_page_size 10
482#define isc_spb_res_length 11
483#define isc_spb_res_access_mode 12
484#define isc_spb_res_fix_fss_data 13
485#define isc_spb_res_fix_fss_metadata 14
486#define isc_spb_res_metadata_only isc_spb_bkp_metadata_only
487#define isc_spb_res_deactivate_idx 0x0100
488#define isc_spb_res_no_shadow 0x0200
489#define isc_spb_res_no_validity 0x0400
490#define isc_spb_res_one_at_a_time 0x0800
491#define isc_spb_res_replace 0x1000
492#define isc_spb_res_create 0x2000
493#define isc_spb_res_use_all_space 0x4000
494
495/******************************************
496 * Parameters for isc_spb_res_access_mode *
497 ******************************************/
498
499#define isc_spb_res_am_readonly isc_spb_prp_am_readonly
500#define isc_spb_res_am_readwrite isc_spb_prp_am_readwrite
501
502/*******************************************
503 * Parameters for isc_info_svc_svr_db_info *
504 *******************************************/
505
506#define isc_spb_num_att 5
507#define isc_spb_num_db 6
508
509/*****************************************
510 * Parameters for isc_info_svc_db_stats *
511 *****************************************/
512
513#define isc_spb_sts_table 64
514
515#define isc_spb_sts_data_pages 0x01
516#define isc_spb_sts_db_log 0x02
517#define isc_spb_sts_hdr_pages 0x04
518#define isc_spb_sts_idx_pages 0x08
519#define isc_spb_sts_sys_relations 0x10
520#define isc_spb_sts_record_versions 0x20
521//#define isc_spb_sts_table 0x40
522#define isc_spb_sts_nocreation 0x80
523#define isc_spb_sts_encryption 0x100
524
525/***********************************/
526/* Server configuration key values */
527/***********************************/
528
529/* Not available in Firebird 1.5 */
530
531/***************************************
532 * Parameters for isc_action_svc_nbak *
533 ***************************************/
534
535#define isc_spb_nbk_level 5
536#define isc_spb_nbk_file 6
537#define isc_spb_nbk_direct 7
538#define isc_spb_nbk_no_triggers 0x01
539
540/***************************************
541 * Parameters for isc_action_svc_trace *
542 ***************************************/
543
544#define isc_spb_trc_id 1
545#define isc_spb_trc_name 2
546#define isc_spb_trc_cfg 3
547
548/******************************************/
549/* Array slice description language (SDL) */
550/******************************************/
551
552#define isc_sdl_version1 1
553#define isc_sdl_eoc 255
554#define isc_sdl_relation 2
555#define isc_sdl_rid 3
556#define isc_sdl_field 4
557#define isc_sdl_fid 5
558#define isc_sdl_struct 6
559#define isc_sdl_variable 7
560#define isc_sdl_scalar 8
561#define isc_sdl_tiny_integer 9
562#define isc_sdl_short_integer 10
563#define isc_sdl_long_integer 11
564//#define isc_sdl_literal 12
565#define isc_sdl_add 13
566#define isc_sdl_subtract 14
567#define isc_sdl_multiply 15
568#define isc_sdl_divide 16
569#define isc_sdl_negate 17 // only used in pretty.cpp; nobody generates it
570//#define isc_sdl_eql 18
571//#define isc_sdl_neq 19
572//#define isc_sdl_gtr 20
573//#define isc_sdl_geq 21
574//#define isc_sdl_lss 22
575//#define isc_sdl_leq 23
576//#define isc_sdl_and 24
577//#define isc_sdl_or 25
578//#define isc_sdl_not 26
579//#define isc_sdl_while 27
580//#define isc_sdl_assignment 28
581//#define isc_sdl_label 29
582//#define isc_sdl_leave 30
583#define isc_sdl_begin 31 // only used in pretty.cpp; nobody generates it
584#define isc_sdl_end 32
585#define isc_sdl_do3 33
586#define isc_sdl_do2 34
587#define isc_sdl_do1 35
588#define isc_sdl_element 36
589
590/********************************************/
591/* International text interpretation values */
592/********************************************/
593
594//#define isc_interp_eng_ascii 0
595//#define isc_interp_jpn_sjis 5
596//#define isc_interp_jpn_euc 6
597
598/*****************/
599/* Blob Subtypes */
600/*****************/
601
602/* types less than zero are reserved for customer use */
603
604#define isc_blob_untyped 0
605
606/* internal subtypes */
607
608#define isc_blob_text 1
609#define isc_blob_blr 2
610#define isc_blob_acl 3
611#define isc_blob_ranges 4
612#define isc_blob_summary 5
613#define isc_blob_format 6
614#define isc_blob_tra 7
615#define isc_blob_extfile 8
616#define isc_blob_debug_info 9
617#define isc_blob_max_predefined_subtype 10
618
619/* the range 20-30 is reserved for dBASE and Paradox types */
620
621//#define isc_blob_formatted_memo 20
622//#define isc_blob_paradox_ole 21
623//#define isc_blob_graphic 22
624//#define isc_blob_dbase_ole 23
625//#define isc_blob_typed_binary 24
626
627/* Deprecated definitions maintained for compatibility only */
628
629//#define isc_info_db_SQL_dialect 62
630//#define isc_dpb_SQL_dialect 63
631//#define isc_dpb_set_db_SQL_dialect 65
632
633/***********************************/
634/* Masks for fb_shutdown_callback */
635/***********************************/
636
637#define fb_shut_confirmation 1
638#define fb_shut_preproviders 2
639#define fb_shut_postproviders 4
640#define fb_shut_finish 8
641#define fb_shut_exit 16
642
643/****************************************/
644/* Shutdown reasons, used by engine */
645/* Users should provide positive values */
646/****************************************/
647
648#define fb_shutrsn_svc_stopped -1
649#define fb_shutrsn_no_connection -2
650#define fb_shutrsn_app_stopped -3
651//#define fb_shutrsn_device_removed -4
652#define fb_shutrsn_signal -5
653#define fb_shutrsn_services -6
654#define fb_shutrsn_exit_called -7
655
656/****************************************/
657/* Cancel types for fb_cancel_operation */
658/****************************************/
659
660#define fb_cancel_disable 1
661#define fb_cancel_enable 2
662#define fb_cancel_raise 3
663#define fb_cancel_abort 4
664
665/********************************************/
666/* Debug information items */
667/********************************************/
668
669#define fb_dbg_version 1
670#define fb_dbg_end 255
671#define fb_dbg_map_src2blr 2
672#define fb_dbg_map_varname 3
673#define fb_dbg_map_argument 4
674#define fb_dbg_subproc 5
675#define fb_dbg_subfunc 6
676
677// sub code for fb_dbg_map_argument
678#define fb_dbg_arg_input 0
679#define fb_dbg_arg_output 1
680
681#endif // ifndef INCLUDE_CONSTS_PUB_H
682