#include "midas.h"
#include "mrpc.h"
#include <stdio.h>
Go to the source code of this file.
◆ main()
Definition at line 27 of file rpc_test.cxx.
29{
35 float f;
37
38#ifdef OS_VXWORKS
40#else
41 printf(
"Remote host IP address: ");
43#endif
44
47 return 1;
48
49 f = 3.5f;
51
52
53 rpc_call(
RPC_TEST, 1, 2, 3l, f,
d, &b, &w, &
i, &f, &
d);
54
55 printf(
"\nResult should be: 2 4 6 7.0 9.0\n");
56 printf(
"Result is: %d %d %ld %1.1f %1.1lf\n", b, w, (
long int)
i, f,
d);
57
60
62 return 1;
63}
INT cm_connect_experiment(const char *host_name, const char *exp_name, const char *client_name, void(*func)(char *))
INT cm_disconnect_experiment(void)
char * ss_gets(char *string, int size)
INT rpc_call(DWORD routine_id,...)
char host_name[HOST_NAME_LENGTH]
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)