#define BANKLIST_MAX 64 |
#define DATABASE_VERSION 3 |
#define DEFAULT_ODB_SIZE 0x100000 |
online database 1M
Definition at line 221 of file midas.h.
Referenced by cm_connect_experiment(), cm_connect_experiment1(), and main().
#define DEFAULT_WATCHDOG_TIMEOUT 10000 |
Watchdog
Definition at line 241 of file midas.h.
Referenced by cm_connect_experiment(), and cm_connect_experiment1().
#define HOST_NAME_LENGTH 256 |
length of TCP/IP names
Definition at line 224 of file midas.h.
Referenced by cm_connect_client(), cm_connect_experiment1(), cm_disconnect_experiment(), cm_set_client_info(), cm_shutdown(), and cm_transition().
#define LAM_SOURCE | ( | c, | |||
s | ) | (c<<24 | ((s) & 0xFFFFFF)) |
#define LAM_SOURCE_CRATE | ( | c | ) | (c>>24) |
Convert the coded LAM crate to Crate number.
c | coded crate |
Definition at line 406 of file midas.h.
Referenced by poll_event().
#define LAM_SOURCE_STATION | ( | s | ) | ((s) & 0xFFFFFF) |
Convert the coded LAM station to Station number.
s | Slot number |
Definition at line 412 of file midas.h.
Referenced by poll_event().
#define LAM_STATION | ( | s | ) | (1<<(s-1)) |
#define MAX_CLIENTS 64 |
client processes per buf/db
Definition at line 225 of file midas.h.
Referenced by bm_close_buffer(), bm_open_buffer(), cm_cleanup(), db_close_database(), and db_open_database().
#define MAX_EVENT_SIZE 0x400000 |
dox maximum event size 4MB
Definition at line 208 of file midas.h.
Referenced by bm_send_event(), dm_buffer_create(), main(), register_equipment(), rpc_send_event(), and source_booking().
#define MAX_EXPERIMENT 32 |
number of different exp.
Definition at line 229 of file midas.h.
Referenced by cm_connect_experiment1(), cm_list_experiments(), cm_scan_experiments(), and cm_select_experiment().
#define MAX_ODB_PATH 256 |
#define MIDAS_TCP_PORT 1175 |
#define MIDAS_VERSION "2.0.0" |
#define NAME_LENGTH 32 |
length of names, mult.of 8!
Definition at line 223 of file midas.h.
Referenced by bm_open_buffer(), cm_check_client(), cm_connect_client(), cm_connect_experiment1(), cm_exist(), cm_get_client_info(), cm_select_experiment(), cm_set_client_info(), cm_shutdown(), cm_transition(), db_open_database(), hs_dump(), and load_fragment().
#define NET_TCP_SIZE 0xFFFF |
maximum TCP transfer size
Definition at line 216 of file midas.h.
Referenced by rpc_send_event(), and scheduler().
#define WATCHDOG_INTERVAL 1000 |
Definition at line 239 of file midas.h.
Referenced by cm_set_client_info(), and cm_set_watchdog_params().
INT _call_watchdog = TRUE [static] |
Definition at line 1094 of file midas.c.
Referenced by cm_get_watchdog_params(), and cm_set_watchdog_params().
char _client_name[NAME_LENGTH] [static] |
HNDLE _hDB = 0 [static] |
Definition at line 1091 of file midas.c.
Referenced by cm_get_experiment_database(), and cm_set_experiment_database().
HNDLE _hKeyClient = 0 [static] |
dox
Definition at line 1090 of file midas.c.
Referenced by cm_connect_experiment1(), cm_get_experiment_database(), and cm_set_experiment_database().
char _path_name[MAX_STRING_LENGTH] [static] |
INT _watchdog_timeout = DEFAULT_WATCHDOG_TIMEOUT [static] |
Definition at line 1095 of file midas.c.
Referenced by cm_get_watchdog_params(), and cm_set_watchdog_params().