version 1.18, 2014/01/28 14:05:43
|
version 1.19, 2014/04/27 16:26:45
|
Line 49 SUCH DAMAGE.
|
Line 49 SUCH DAMAGE.
|
/* builtin RPC server functions */ |
/* builtin RPC server functions */ |
|
|
static int |
static int |
rpcServerClients(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcServerClients(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
rpc_cli_t *c; |
rpc_cli_t *c; |
Line 90 rpcServerClients(rpc_cli_t *cli, struct tagRPCCall *rp
|
Line 90 rpcServerClients(rpc_cli_t *cli, struct tagRPCCall *rp
|
} |
} |
|
|
static int |
static int |
rpcServerCalls(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcServerCalls(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
rpc_func_t *f; |
rpc_func_t *f; |
Line 126 rpcServerCalls(rpc_cli_t *cli, struct tagRPCCall *rpc,
|
Line 126 rpcServerCalls(rpc_cli_t *cli, struct tagRPCCall *rpc,
|
} |
} |
|
|
static int |
static int |
rpcServerSessions(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcServerSessions(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
|
|
Line 141 rpcServerSessions(rpc_cli_t *cli, struct tagRPCCall *r
|
Line 141 rpcServerSessions(rpc_cli_t *cli, struct tagRPCCall *r
|
} |
} |
|
|
static int |
static int |
rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcServerShutdown(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
|
|
Line 157 rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r
|
Line 157 rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r
|
} |
} |
|
|
static int |
static int |
rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcServerPing(RPC_CALL_STDARGS) |
{ |
{ |
if (ntohl((u_long) rpc->call_req.flags) == RPC_REPLY) |
if (ntohl((u_long) rpc->call_req.flags) == RPC_REPLY) |
AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), random() % USHRT_MAX); |
AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), random() % USHRT_MAX); |
Line 167 rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc,
|
Line 167 rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc,
|
/* ---------------------------------------------------- */ |
/* ---------------------------------------------------- */ |
|
|
static int |
static int |
rpcBLOBServerShutdown(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcBLOBServerShutdown(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
|
|
Line 181 rpcBLOBServerShutdown(rpc_cli_t *cli, struct tagRPCCal
|
Line 181 rpcBLOBServerShutdown(rpc_cli_t *cli, struct tagRPCCal
|
} |
} |
|
|
static int |
static int |
rpcBLOBServerVars(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcBLOBServerVars(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
rpc_blob_t *b; |
rpc_blob_t *b; |
Line 224 rpcBLOBServerVars(rpc_cli_t *cli, struct tagRPCCall *r
|
Line 224 rpcBLOBServerVars(rpc_cli_t *cli, struct tagRPCCall *r
|
} |
} |
|
|
static int |
static int |
rpcBLOBServerClients(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcBLOBServerClients(RPC_CALL_STDARGS) |
{ |
{ |
rpc_srv_t *srv; |
rpc_srv_t *srv; |
rpc_cli_t *c; |
rpc_cli_t *c; |