version 1.11, 2013/04/02 15:50:13
|
version 1.12, 2013/07/16 13:04:20
|
Line 4
|
Line 4
|
#include "rc.h" |
#include "rc.h" |
|
|
|
|
|
rpc_srv_t *srv; |
|
|
|
|
int aaa(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) |
int aaa(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) |
{ |
{ |
// rpc_blob_t *b; |
// rpc_blob_t *b; |
Line 59 int BBB(rpc_cli_t *cli, struct tagRPCCall *rpc, array_
|
Line 62 int BBB(rpc_cli_t *cli, struct tagRPCCall *rpc, array_
|
AIT_SET_STR(ait_getVars(&RPC_RETVARS(cli), 2), "Oho boho i cheburashka"); |
AIT_SET_STR(ait_getVars(&RPC_RETVARS(cli), 2), "Oho boho i cheburashka"); |
|
|
// return blob object |
// return blob object |
b = rpc_srv_registerBLOB(s, 128); | b = rpc_srv_registerBLOB(s, 128, 0); |
if (!b) |
if (!b) |
return -1; |
return -1; |
else |
else |
Line 94 int xYz(rpc_cli_t *cli, struct tagRPCCall *rpc, array_
|
Line 97 int xYz(rpc_cli_t *cli, struct tagRPCCall *rpc, array_
|
return 0; |
return 0; |
} |
} |
|
|
|
|
int main() |
int main() |
{ |
{ |
rpc_srv_t *srv; |
|
rpc_func_t *f; |
rpc_func_t *f; |
int ret; |
int ret; |
|
|