MIDAS
|
#include "midas_c_compat.h"
#include "midas.h"
#include "mrpc.h"
#include "msystem.h"
#include <vector>
#include <string>
#include "string.h"
#include "stdlib.h"
#include "stdarg.h"
#include "history.h"
Go to the source code of this file.
Variables | |
MidasHistoryInterface * | mh = nullptr |
INT c_al_define_odb_alarm | ( | const char * | name, |
const char * | condition, | ||
const char * | aclass, | ||
const char * | message | ||
) |
Definition at line 179 of file midas_c_compat.cxx.
Definition at line 175 of file midas_c_compat.cxx.
INT c_al_trigger_alarm | ( | const char * | alarm_name, |
const char * | alarm_message, | ||
const char * | default_class, | ||
const char * | cond_str, | ||
INT | type | ||
) |
Definition at line 171 of file midas_c_compat.cxx.
Definition at line 183 of file midas_c_compat.cxx.
Definition at line 187 of file midas_c_compat.cxx.
Definition at line 191 of file midas_c_compat.cxx.
Definition at line 195 of file midas_c_compat.cxx.
INT c_bm_request_event | ( | INT | buffer_handle, |
short int | event_id, | ||
short int | trigger_mask, | ||
INT | sampling_type, | ||
INT * | request_id | ||
) |
Definition at line 199 of file midas_c_compat.cxx.
Definition at line 449 of file midas_c_compat.cxx.
Definition at line 204 of file midas_c_compat.cxx.
Definition at line 208 of file midas_c_compat.cxx.
INT c_cm_connect_experiment | ( | const char * | host_name, |
const char * | exp_name, | ||
const char * | client_name, | ||
void(*)(char *) | func | ||
) |
Definition at line 212 of file midas_c_compat.cxx.
Definition at line 216 of file midas_c_compat.cxx.
Definition at line 220 of file midas_c_compat.cxx.
INT c_cm_disconnect_experiment | ( | ) |
Definition at line 224 of file midas_c_compat.cxx.
Definition at line 228 of file midas_c_compat.cxx.
INT c_cm_get_environment | ( | char * | host_name, |
int | host_name_size, | ||
char * | exp_name, | ||
int | exp_name_size | ||
) |
Definition at line 232 of file midas_c_compat.cxx.
Definition at line 236 of file midas_c_compat.cxx.
Definition at line 240 of file midas_c_compat.cxx.
Definition at line 245 of file midas_c_compat.cxx.
Definition at line 251 of file midas_c_compat.cxx.
INT c_cm_msg | ( | INT | message_type, |
const char * | filename, | ||
INT | line, | ||
const char * | facility, | ||
const char * | routine, | ||
const char * | format, | ||
... | |||
) |
Definition at line 257 of file midas_c_compat.cxx.
INT c_cm_msg_close_buffer | ( | ) |
Definition at line 306 of file midas_c_compat.cxx.
Definition at line 281 of file midas_c_compat.cxx.
INT c_cm_msg_open_buffer | ( | ) |
Definition at line 302 of file midas_c_compat.cxx.
INT c_cm_msg_register | ( | EVENT_HANDLER * | func | ) |
Definition at line 291 of file midas_c_compat.cxx.
INT c_cm_msg_retrieve2 | ( | const char * | facility, |
uint64_t | before, | ||
INT | min_messages, | ||
char ** | messages, | ||
int * | num_messages_read | ||
) |
Definition at line 295 of file midas_c_compat.cxx.
Definition at line 310 of file midas_c_compat.cxx.
Definition at line 314 of file midas_c_compat.cxx.
Definition at line 318 of file midas_c_compat.cxx.
Definition at line 322 of file midas_c_compat.cxx.
Definition at line 326 of file midas_c_compat.cxx.
Definition at line 330 of file midas_c_compat.cxx.
Definition at line 334 of file midas_c_compat.cxx.
INT c_cm_transition | ( | INT | transition, |
INT | run_number, | ||
char * | error, | ||
INT | strsize, | ||
INT | async_flag, | ||
INT | debug_flag | ||
) |
Definition at line 338 of file midas_c_compat.cxx.
Definition at line 342 of file midas_c_compat.cxx.
Definition at line 478 of file midas_c_compat.cxx.
Definition at line 346 of file midas_c_compat.cxx.
INT c_db_copy_json_ls | ( | HNDLE | hDB, |
HNDLE | hKey, | ||
char ** | buffer, | ||
int * | buffer_size, | ||
int * | buffer_end | ||
) |
Definition at line 350 of file midas_c_compat.cxx.
INT c_db_copy_json_save | ( | HNDLE | hDB, |
HNDLE | hKey, | ||
char ** | buffer, | ||
int * | buffer_size, | ||
int * | buffer_end | ||
) |
Definition at line 354 of file midas_c_compat.cxx.
Definition at line 358 of file midas_c_compat.cxx.
INT c_db_create_link | ( | HNDLE | hdb, |
HNDLE | key_handle, | ||
const char * | link_name, | ||
const char * | destination | ||
) |
Definition at line 362 of file midas_c_compat.cxx.
Definition at line 366 of file midas_c_compat.cxx.
Definition at line 370 of file midas_c_compat.cxx.
Definition at line 374 of file midas_c_compat.cxx.
Definition at line 378 of file midas_c_compat.cxx.
Definition at line 382 of file midas_c_compat.cxx.
Definition at line 386 of file midas_c_compat.cxx.
Definition at line 390 of file midas_c_compat.cxx.
Definition at line 394 of file midas_c_compat.cxx.
INT c_db_get_value | ( | HNDLE | hdb, |
HNDLE | hKeyRoot, | ||
const char * | key_name, | ||
void * | data, | ||
INT * | size, | ||
DWORD | type, | ||
BOOL | create | ||
) |
Definition at line 398 of file midas_c_compat.cxx.
INT c_db_open_record | ( | HNDLE | hdb, |
HNDLE | hkey, | ||
void * | ptr, | ||
INT | rec_size, | ||
WORD | access, | ||
void(*)(INT, INT, void *) | dispatcher, | ||
void * | info | ||
) |
Definition at line 402 of file midas_c_compat.cxx.
Definition at line 406 of file midas_c_compat.cxx.
Definition at line 410 of file midas_c_compat.cxx.
INT c_db_resize_string | ( | HNDLE | hDB, |
HNDLE | hKeyRoot, | ||
const char * | key_name, | ||
int | num_values, | ||
int | max_string_size | ||
) |
Definition at line 414 of file midas_c_compat.cxx.
INT c_db_set_link_data | ( | HNDLE | hdb, |
HNDLE | key_handle, | ||
void * | data, | ||
INT | buf_size, | ||
int | num_values, | ||
DWORD | type | ||
) |
Definition at line 418 of file midas_c_compat.cxx.
Definition at line 422 of file midas_c_compat.cxx.
INT c_db_set_value | ( | HNDLE | hdb, |
HNDLE | hKeyRoot, | ||
const char * | key_name, | ||
const void * | data, | ||
INT | size, | ||
INT | num_values, | ||
DWORD | type | ||
) |
Definition at line 426 of file midas_c_compat.cxx.
INT c_db_set_value_index | ( | HNDLE | hDB, |
HNDLE | hKeyRoot, | ||
const char * | key_name, | ||
const void * | data, | ||
INT | data_size, | ||
INT | index, | ||
DWORD | type, | ||
BOOL | truncate | ||
) |
Definition at line 430 of file midas_c_compat.cxx.
Definition at line 434 of file midas_c_compat.cxx.
Definition at line 438 of file midas_c_compat.cxx.
Definition at line 89 of file midas_c_compat.cxx.
Definition at line 163 of file midas_c_compat.cxx.
Definition at line 134 of file midas_c_compat.cxx.
Definition at line 488 of file midas_c_compat.cxx.
INT c_hs_get_tags | ( | HNDLE | hDB, |
char * | event_name, | ||
char *** | dest_names, | ||
void ** | dest_types, | ||
void ** | dest_n_data, | ||
int & | dest_len | ||
) |
Definition at line 507 of file midas_c_compat.cxx.
INT c_hs_read | ( | HNDLE | hDB, |
uint32_t | start_time, | ||
uint32_t | end_time, | ||
uint32_t | interval_secs, | ||
char * | event_name, | ||
char * | tag_name, | ||
int | idx_start, | ||
int | nvars, | ||
void ** | num_entries, | ||
void ** | times, | ||
void ** | values, | ||
void ** | hs_status | ||
) |
Definition at line 538 of file midas_c_compat.cxx.
Definition at line 442 of file midas_c_compat.cxx.
Definition at line 456 of file midas_c_compat.cxx.
Definition at line 460 of file midas_c_compat.cxx.
INT c_rpc_send_event | ( | INT | buffer_handle, |
const EVENT_HEADER * | event, | ||
INT | buf_size, | ||
INT | async_flag, | ||
INT | mode | ||
) |
Definition at line 464 of file midas_c_compat.cxx.
Definition at line 468 of file midas_c_compat.cxx.
Definition at line 472 of file midas_c_compat.cxx.
Definition at line 40 of file midas_c_compat.cxx.
Definition at line 67 of file midas_c_compat.cxx.
MidasHistoryInterface* mh = nullptr |
Definition at line 476 of file midas_c_compat.cxx.