version 1.19, 2013/08/23 13:53:15
|
version 1.21, 2013/11/22 13:41:33
|
Line 144 struct tagRPCCall {
|
Line 144 struct tagRPCCall {
|
uint16_t call_argc; |
uint16_t call_argc; |
ait_val_t call_argv[0]; |
ait_val_t call_argv[0]; |
} __packed; /* size == 20 bytes */ |
} __packed; /* size == 20 bytes */ |
#define RPC_CHK_NOREPLY(x) ((x)->call_req.flags & RPC_NOREPLY) | #define RPC_CHK_NOREPLY(x) (ntohl((u_long) (x)->call_req.flags) & RPC_NOREPLY) |
| #define RPC_SET_ERRNO(x, _v) ((x)->call_rep.eno = htonl((_v))) |
|
|
/* Network BLOB packet - Header */ |
/* Network BLOB packet - Header */ |
|
|
Line 364 int rpc_srv_loopServer(rpc_srv_t * __restrict srv);
|
Line 365 int rpc_srv_loopServer(rpc_srv_t * __restrict srv);
|
else \ |
else \ |
pthread_detach((_srv)->srv_tid); \ |
pthread_detach((_srv)->srv_tid); \ |
} } while (0) |
} } while (0) |
|
#define rpc_srv_killServer(_srv) (assert((_srv)), (_srv)->srv_blob.kill = 1, (_srv)->srv_kill = 1) |
|
|
/* |
/* |
* rpc_srv_initBLOBServer() - Init & create BLOB Server |
* rpc_srv_initBLOBServer() - Init & create BLOB Server |