Definition in file midas.c.
Go to the source code of this file.
Data Structures | |
struct | TR_CLIENT |
Functions | |
INT | cm_get_error (INT code, char *string) |
INT | cm_set_msg_print (INT system_mask, INT user_mask, int(*func)(const char *)) |
INT | cm_msg_log (INT message_type, const char *message) |
INT | cm_msg_log1 (INT message_type, const char *message, const char *facility) |
INT | cm_msg (INT message_type, char *filename, INT line, const char *routine, const char *format,...) |
INT | cm_msg1 (INT message_type, char *filename, INT line, const char *facility, const char *routine, const char *format,...) |
INT | cm_msg_register (void(*func)(HNDLE, HNDLE, EVENT_HEADER *, void *)) |
INT | cm_msg_retrieve (INT n_message, char *message, INT *buf_size) |
INT | cm_synchronize (DWORD *seconds) |
INT | cm_asctime (char *str, INT buf_size) |
INT | cm_time (DWORD *time) |
char * | cm_get_version () |
INT | cm_set_path (char *path) |
INT | cm_get_path (char *path) |
INT | cm_scan_experiments (void) |
INT | cm_delete_client_info (HNDLE hDB, INT pid) |
INT | cm_check_client (HNDLE hDB, HNDLE hKeyClient) |
INT | cm_set_client_info (HNDLE hDB, HNDLE *hKeyClient, char *host_name, char *client_name, INT hw_type, char *password, DWORD watchdog_timeout) |
INT | cm_get_client_info (char *client_name) |
INT | cm_get_environment (char *host_name, int host_name_size, char *exp_name, int exp_name_size) |
INT | cm_connect_experiment (char *host_name, char *exp_name, char *client_name, void(*func)(char *)) |
INT | cm_connect_experiment1 (char *host_name, char *exp_name, char *client_name, void(*func)(char *), INT odb_size, DWORD watchdog_timeout) |
INT | cm_list_experiments (char *host_name, char exp_name[MAX_EXPERIMENT][NAME_LENGTH]) |
INT | cm_select_experiment (char *host_name, char *exp_name) |
INT | cm_connect_client (char *client_name, HNDLE *hConn) |
INT | cm_disconnect_client (HNDLE hConn, BOOL bShutdown) |
INT | cm_disconnect_experiment (void) |
INT | cm_set_experiment_database (HNDLE hDB, HNDLE hKeyClient) |
INT | cm_get_experiment_database (HNDLE *hDB, HNDLE *hKeyClient) |
INT | cm_set_watchdog_params (BOOL call_watchdog, DWORD timeout) |
INT | cm_get_watchdog_params (BOOL *call_watchdog, DWORD *timeout) |
INT | cm_get_watchdog_info (HNDLE hDB, char *client_name, DWORD *timeout, DWORD *last) |
INT | cm_register_transition (INT transition, INT(*func)(INT, char *), INT sequence_number) |
INT | cm_set_transition_sequence (INT transition, INT sequence_number) |
INT | cm_register_deferred_transition (INT transition, BOOL(*func)(INT, BOOL)) |
INT | cm_check_deferred_transition () |
INT | cm_transition (INT transition, INT run_number, char *perror, INT strsize, INT async_flag, INT debug_flag) |
INT | cm_yield (INT millisec) |
INT | cm_execute (char *command, char *result, INT bufsize) |
INT | bm_match_event (short int event_id, short int trigger_mask, EVENT_HEADER *pevent) |
INT | bm_open_buffer (char *buffer_name, INT buffer_size, INT *buffer_handle) |
INT | bm_close_buffer (INT buffer_handle) |
INT | bm_close_all_buffers (void) |
INT | cm_shutdown (char *name, BOOL bUnique) |
INT | cm_exist (char *name, BOOL bUnique) |
INT | cm_cleanup (char *client_name, BOOL ignore_timeout) |
INT | bm_set_cache_size (INT buffer_handle, INT read_size, INT write_size) |
INT | bm_compose_event (EVENT_HEADER *event_header, short int event_id, short int trigger_mask, DWORD size, DWORD serial) |
INT | bm_request_event (HNDLE buffer_handle, short int event_id, short int trigger_mask, INT sampling_type, HNDLE *request_id, void(*func)(HNDLE, HNDLE, EVENT_HEADER *, void *)) |
INT | bm_remove_event_request (INT buffer_handle, INT request_id) |
INT | bm_delete_request (INT request_id) |
INT | bm_send_event (INT buffer_handle, void *source, INT buf_size, INT async_flag) |
INT | bm_flush_cache (INT buffer_handle, INT async_flag) |
INT | bm_receive_event (INT buffer_handle, void *destination, INT *buf_size, INT async_flag) |
INT | bm_skip_event (INT buffer_handle) |
INT | bm_push_event (char *buffer_name) |
INT | bm_check_buffers () |
INT | bm_empty_buffers () |
INT | rpc_register_client (char *name, RPC_LIST *list) |
INT | rpc_register_functions (RPC_LIST *new_list, INT(*func)(INT, void **)) |
INT | rpc_set_option (HNDLE hConn, INT item, INT value) |
INT | rpc_send_event (INT buffer_handle, void *source, INT buf_size, INT async_flag) |
INT | rpc_flush_event () |
void | bk_init (void *event) |
void | bk_init32 (void *event) |
INT | bk_size (void *event) |
void | bk_create (void *event, const char *name, WORD type, void *pdata) |
INT | bk_close (void *event, void *pdata) |
INT | bk_list (void *event, char *bklist) |
INT | bk_locate (void *event, const char *name, void *pdata) |
INT | bk_find (BANK_HEADER *pbkh, const char *name, DWORD *bklen, DWORD *bktype, void **pdata) |
INT | bk_iterate (void *event, BANK **pbk, void *pdata) |
INT | bk_swap (void *event, BOOL force) |
INT | hs_set_path (char *path) |
INT | hs_open_file (time_t ltime, char *suffix, INT mode, int *fh) |
INT | el_submit (int run, char *author, char *type, char *system, char *subject, char *text, char *reply_to, char *encoding, char *afilename1, char *buffer1, INT buffer_size1, char *afilename2, char *buffer2, INT buffer_size2, char *afilename3, char *buffer3, INT buffer_size3, char *tag, INT tag_size) |
INT | al_trigger_alarm (char *alarm_name, char *alarm_message, char *default_class, char *cond_str, INT type) |
INT | dm_buffer_create (INT size, INT user_max_event_size) |
Variables | |
HNDLE | _hKeyClient = 0 |