Return to tcli.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitrpc / example |
version 1.1.1.1.2.10, 2010/07/08 09:18:51 | version 1.1.1.1.2.15, 2011/03/15 17:10:58 |
---|---|
Line 1 | Line 1 |
#include <stdio.h> | #include <stdio.h> |
#include <pthread.h> | |
#include <aitrpc.h> | #include <aitrpc.h> |
//rpc_val_t valz[3]; | //rpc_val_t valz[3]; |
Line 93 int main() | Line 94 int main() |
printf("registeredBLOBClient(%d)=%s\n", i, RPC_GET_STR(&*v)); | printf("registeredBLOBClient(%d)=%s\n", i, RPC_GET_STR(&*v)); |
rpc_cli_freeVals(c, v); | rpc_cli_freeVals(c, v); |
sleep(5); | |
if (rpc_cli_execCall(cli, NULL, CALL_BLOBVARS, 0, NULL, &c, &v) < 0) { | if (rpc_cli_execCall(cli, NULL, CALL_BLOBVARS, 0, NULL, &c, &v) < 0) { |
printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); | printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
return 5; | return 5; |