--- libaitrpc/example/tsrv.c 2013/07/15 15:10:37 1.11.4.1 +++ libaitrpc/example/tsrv.c 2013/07/16 13:04:20 1.12 @@ -4,6 +4,9 @@ #include "rc.h" +rpc_srv_t *srv; + + int aaa(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) { // rpc_blob_t *b; @@ -59,7 +62,7 @@ int BBB(rpc_cli_t *cli, struct tagRPCCall *rpc, array_ AIT_SET_STR(ait_getVars(&RPC_RETVARS(cli), 2), "Oho boho i cheburashka"); // return blob object - b = rpc_srv_registerBLOB(s, 128, 0, cli); + b = rpc_srv_registerBLOB(s, 128, 0); if (!b) return -1; else @@ -94,10 +97,8 @@ int xYz(rpc_cli_t *cli, struct tagRPCCall *rpc, array_ return 0; } - int main() { - rpc_srv_t *srv; rpc_func_t *f; int ret;