Online Database error codes
[Midas Error definition]


Defines

#define DB_SUCCESS   1
#define DB_CREATED   302
#define DB_NO_MEMORY   303
#define DB_INVALID_NAME   304
#define DB_INVALID_HANDLE   305
#define DB_NO_SLOT   306
#define DB_NO_MUTEX   307
#define DB_MEMSIZE_MISMATCH   308
#define DB_INVALID_PARAM   309
#define DB_FULL   310
#define DB_KEY_EXIST   311
#define DB_NO_KEY   312
#define DB_KEY_CREATED   313
#define DB_TRUNCATED   314
#define DB_TYPE_MISMATCH   315
#define DB_NO_MORE_SUBKEYS   316
#define DB_FILE_ERROR   317
#define DB_NO_ACCESS   318
#define DB_STRUCT_SIZE_MISMATCH   319
#define DB_OPEN_RECORD   320
#define DB_OUT_OF_RANGE   321
#define DB_INVALID_LINK   322
#define DB_CORRUPTED   323
#define DB_STRUCT_MISMATCH   324
#define DB_TIMEOUT   325
#define DB_VERSION_MISMATCH   326


Define Documentation

#define DB_CORRUPTED   323

Definition at line 574 of file midas.h.

Referenced by db_create_key(), and db_find_key().

#define DB_CREATED   302

Definition at line 553 of file midas.h.

Referenced by cm_connect_experiment1(), and db_open_database().

#define DB_FILE_ERROR   317

Definition at line 568 of file midas.h.

Referenced by db_load(), db_save(), db_save_struct(), and db_save_xml().

#define DB_FULL   310

Definition at line 561 of file midas.h.

Referenced by db_create_key(), db_set_data(), db_set_data_index(), and db_set_value().

#define DB_INVALID_HANDLE   305

Definition at line 556 of file midas.h.

Referenced by cm_get_watchdog_info(), db_close_database(), db_close_record(), db_create_key(), db_delete_key1(), db_enum_key(), db_find_key(), db_get_data(), db_get_data_index(), db_get_key(), db_get_key_info(), db_get_key_time(), db_get_link(), db_get_link_data(), db_get_value(), db_lock_database(), db_protect_database(), db_save_struct(), db_set_data(), db_set_data_index(), db_unlock_database(), db_update_record(), rb_delete(), rb_get_buffer_level(), rb_get_rp(), rb_get_wp(), rb_increment_rp(), and rb_increment_wp().

#define DB_INVALID_LINK   322

Definition at line 573 of file midas.h.

Referenced by db_find_key(), db_get_data(), db_get_key(), db_set_data(), and db_set_data_index().

#define DB_INVALID_NAME   304

Definition at line 555 of file midas.h.

Referenced by db_open_database().

#define DB_INVALID_PARAM   309

Definition at line 560 of file midas.h.

Referenced by db_create_key(), db_get_value(), db_open_database(), db_set_data(), db_set_value(), rb_create(), rb_increment_rp(), and rb_increment_wp().

#define DB_KEY_CREATED   313

Definition at line 564 of file midas.h.

#define DB_KEY_EXIST   311

Definition at line 562 of file midas.h.

Referenced by db_paste_node().

#define DB_MEMSIZE_MISMATCH   308

Definition at line 559 of file midas.h.

#define DB_NO_ACCESS   318

Definition at line 569 of file midas.h.

Referenced by db_create_key(), db_delete_key1(), db_find_key(), db_get_data(), db_get_data_index(), db_get_link_data(), db_get_value(), db_open_record(), db_paste_node(), db_set_data(), db_set_data_index(), and db_set_value().

#define DB_NO_KEY   312

Definition at line 563 of file midas.h.

Referenced by cm_exist(), cm_shutdown(), db_check_record(), db_create_key(), db_create_link(), db_create_record(), db_find_key(), db_get_value(), db_paste(), db_paste_node(), db_set_value(), and register_equipment().

#define DB_NO_MEMORY   303

Definition at line 554 of file midas.h.

Referenced by db_copy(), db_copy_xml(), db_load(), db_open_database(), db_open_record(), db_paste(), db_save_xml_key(), and rb_create().

#define DB_NO_MORE_SUBKEYS   316

Definition at line 567 of file midas.h.

Referenced by al_check(), cm_connect_client(), cm_exist(), cm_set_client_info(), cm_shutdown(), cm_transition(), db_enum_key(), logger_root(), and update_odb().

#define DB_NO_MUTEX   307

Definition at line 558 of file midas.h.

Referenced by db_lock_database(), and db_open_database().

#define DB_NO_SLOT   306

Definition at line 557 of file midas.h.

Referenced by db_open_database().

#define DB_OPEN_RECORD   320

Definition at line 571 of file midas.h.

Referenced by db_create_record(), and db_delete_key1().

#define DB_OUT_OF_RANGE   321

Definition at line 572 of file midas.h.

Referenced by db_get_data_index().

#define DB_STRUCT_MISMATCH   324

Definition at line 575 of file midas.h.

Referenced by cm_connect_experiment1(), db_check_record(), and register_equipment().

#define DB_STRUCT_SIZE_MISMATCH   319

Definition at line 570 of file midas.h.

Referenced by db_get_record(), db_open_record(), and db_set_record().

#define DB_SUCCESS   1

Definition at line 552 of file midas.h.

Referenced by al_check(), al_reset_alarm(), al_trigger_alarm(), analyzer_init(), cm_connect_client(), cm_connect_experiment1(), cm_delete_client_info(), cm_deregister_transition(), cm_exist(), cm_get_client_info(), cm_msg_log(), cm_msg_log1(), cm_msg_retrieve(), cm_register_deferred_transition(), cm_register_transition(), cm_set_client_info(), cm_set_transition_sequence(), cm_shutdown(), cm_transition(), db_check_record(), db_close_all_records(), db_close_database(), db_close_record(), db_copy(), db_copy_xml(), db_create_link(), db_create_record(), db_delete_key1(), db_enum_key(), db_find_key(), db_get_data(), db_get_data_index(), db_get_key(), db_get_key_info(), db_get_key_time(), db_get_link(), db_get_link_data(), db_get_record(), db_get_record_size(), db_get_value(), db_load(), db_lock_database(), db_open_database(), db_open_record(), db_paste(), db_paste_node(), db_protect_database(), db_save(), db_save_struct(), db_save_xml(), db_save_xml_key(), db_send_changed_records(), db_set_data(), db_set_data_index(), db_set_record(), db_set_value(), db_sprintf(), db_unlock_database(), db_update_record(), el_submit(), interrupt_routine(), load_fragment(), logger_root(), main(), rb_create(), rb_delete(), rb_get_buffer_level(), rb_get_rp(), rb_get_wp(), rb_increment_rp(), rb_increment_wp(), rb_set_nonblocking(), readout_thread(), register_equipment(), tr_start(), and update_odb().

#define DB_TIMEOUT   325

Definition at line 576 of file midas.h.

Referenced by db_lock_database(), rb_get_rp(), rb_get_wp(), and receive_trigger_event().

#define DB_TRUNCATED   314

Definition at line 565 of file midas.h.

Referenced by db_check_record(), db_copy(), db_copy_xml(), db_create_record(), db_get_data(), db_get_data_index(), db_get_link_data(), db_get_value(), db_paste(), and db_save().

#define DB_TYPE_MISMATCH   315

Definition at line 566 of file midas.h.

Referenced by db_get_data(), db_get_data_index(), db_get_link_data(), db_get_value(), db_paste_node(), db_paste_xml(), db_set_data(), db_set_data_index(), and db_set_value().

#define DB_VERSION_MISMATCH   326

Definition at line 577 of file midas.h.

Referenced by db_open_database().


Midas DOC Version 2.0.2 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Exaos Lee - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk