1 #ifndef MIDLTESTS_C_CODE
4 * For midltests_tcp.exe you may want to
5 * redirect the traffic via rinetd
6 * with a /etc/rinetd.conf like this:
8 * 172.31.9.1 5032 172.31.9.8 5032
9 * 172.31.9.1 5064 172.31.9.8 5064
11 * This is useful to watch the traffic with
15 cpp_quote("#define LISTEN_IP \"0.0.0.0\"")
16 cpp_quote("#define FORWARD_IP \"127.0.0.1\"")
17 cpp_quote("#define CONNECT_IP \"172.31.9.1\"")
21 * With midltests_tcp.exe NDR64 is enforced by default.
22 * For testing it might be needed to allow downgrades
23 * to NDR32. This is needed when you use 'pipe'.
25 //cpp_quote("#define DONOT_FORCE_NDR64 1")
28 uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
29 pointer_default(unique)
33 typedef [switch_type(short)] union {
43 #elif MIDLTESTS_C_CODE
45 static
void midltests
(void)
54 cli_midltests_fn
(l
, v
, u
);
57 long srv_midltests_fn
(short l
, char v
, u u
)
59 printf
("srv_midltests_fn: Start\n");
60 printf
("srv_midltests_fn: End\n");