69 printf(
"cnaf: Unknown command 0x%X\n", cmd);
73 printf(
"cmd=%d c=%d n=%d a=%d f=%d d=%X x=%d q=%d\n", cmd,
c,
n, a, f, *
pdata, *x,
109 printf(
"cnaf: Unknown command 0x%X\n", cmd);
113 printf(
"cmd=%d c=%d n=%d a=%d f=%d d=%X x=%d q=%d\n", cmd,
c,
n, a, f, *
pdata, *x,
137 cm_msg(
MERROR,
"rpc_dispatch",
"received unrecognized command");
152 printf(
"Cannot start server\n");
157 printf(
"CAMAC server started (debugging mode)\n");
160 printf(
"CAMAC server started\n");
INT cnaf24(DWORD cmd, DWORD b, DWORD c, DWORD n, DWORD a, DWORD f, DWORD *pdata, DWORD *size, DWORD *x, DWORD *q)
INT rpc_dispatch(INT index, void *prpc_param[])
INT cnaf16(DWORD cmd, DWORD b, DWORD c, DWORD n, DWORD a, DWORD f, WORD *pdata, DWORD *size, DWORD *x, DWORD *q)
INT cm_yield(INT millisec)
EXTERNAL void EXPRT cam24o_q(const int c, const int n, const int a, const int f, DWORD d, int *x, int *q)
EXTERNAL void EXPRT cam16i_q(const int c, const int n, const int a, const int f, WORD *d, int *x, int *q)
EXTERNAL void EXPRT cam_inhibit_set(const int c)
EXTERNAL int EXPRT cam_init(void)
EXTERNAL void EXPRT cam24i_q(const int c, const int n, const int a, const int f, DWORD *d, int *x, int *q)
EXTERNAL void EXPRT cam_inhibit_clear(const int c)
EXTERNAL void EXPRT cam16o_q(const int c, const int n, const int a, const int f, WORD d, int *x, int *q)
EXTERNAL void EXPRT cam_crate_clear(const int c)
EXTERNAL void EXPRT cam16i_rq(const int c, const int n, const int a, const int f, WORD **d, const int r)
EXTERNAL void EXPRT cam24i_rq(const int c, const int n, const int a, const int f, DWORD **d, const int r)
EXTERNAL void EXPRT cam_crate_zinit(const int c)
RPC_LIST * rpc_get_internal_list(INT flag)
INT cm_msg(INT message_type, const char *filename, INT line, const char *routine, const char *format,...)
INT rpc_register_server(int port, int *plsock, int *pport)
INT rpc_register_functions(const RPC_LIST *new_list, RPC_HANDLER func)
INT rpc_server_shutdown(void)
INT rpc_register_function(INT id, INT(*func)(INT, void **))
static std::string q(const char *s)
#define CNAF_INHIBIT_CLEAR
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)