#include "midas.h"
#include <stdio.h>
Go to the source code of this file.
|
| INT | rpc_mytest (BYTE b, WORD w, INT i, float f, double d, BYTE *b1, WORD *w1, INT *i1, float *f1, double *d1) |
| |
| INT | rpc_dispatch (INT index, void *prpc_param[]) |
| |
| int | main () |
| |
◆ RPC_MYTEST
◆ main()
Definition at line 87 of file rpc_srvr.cxx.
88{
90
91
94 printf(
"Cannot start server");
95 return 0;
96 }
97
98
100
101
103
104
106
107
109
110 return 1;
111}
INT cm_yield(INT millisec)
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_set_debug(void(*func)(const char *), INT mode)
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
INT rpc_dispatch(INT index, void *prpc_param[])
◆ rpc_dispatch()
| INT rpc_dispatch |
( |
INT |
index, |
|
|
void * |
prpc_param[] |
|
) |
| |
Definition at line 68 of file rpc_srvr.cxx.
69{
71
76 break;
77
78 default:
79 cm_msg(
MERROR,
"rpc_dispatch",
"received unrecognized command");
80 }
81
83}
INT cm_msg(INT message_type, const char *filename, INT line, const char *routine, const char *format,...)
INT rpc_mytest(BYTE b, WORD w, INT i, float f, double d, BYTE *b1, WORD *w1, INT *i1, float *f1, double *d1)
◆ rpc_mytest()
◆ rpc_list
Definition at line 20 of file rpc_srvr.cxx.
20 {
21
24 ,
26 ,
28 ,
30 ,
32 ,
34 ,
36 ,
38 ,
40 ,
42 ,
43 {0}
44 }
45 }
46 ,
47
48 {0}
49
50};