version 1.6.2.2, 2012/03/28 11:17:07
|
version 1.6.2.3, 2012/03/28 11:36:42
|
Line 85 int main()
|
Line 85 int main()
|
} |
} |
printf("return=%d aaa arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); |
printf("return=%d aaa arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); |
|
|
|
|
valz = io_allocVars(1); |
valz = io_allocVars(1); |
v = io_array(valz, 0, ait_val_t*); |
v = io_array(valz, 0, ait_val_t*); |
AIT_SET_DATA(v, "1234567890", 11); |
AIT_SET_DATA(v, "1234567890", 11); |
Line 94 int main()
|
Line 95 int main()
|
return 3; |
return 3; |
} |
} |
printf("return=%d xxx arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); |
printf("return=%d xxx arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); |
|
io_freeVars(&valz); |
|
if (arr) { |
|
printf("...REPLY --- "); |
|
v = io_array(arr, 0, ait_val_t*); |
|
printf("ret_val0:: %p %s len=%d type=%d\n", |
|
v, AIT_GET_BUF(v), AIT_LEN(v), AIT_TYPE(v)); |
|
io_freeVars(&arr); |
|
} |
|
|
|
valz = io_allocVars(1); |
|
v = io_array(valz, 0, ait_val_t*); |
|
AIT_SET_DATA(v, "0987654321", 11); |
|
io_arraySet(valz, 0, v); |
|
if (rpc_cli_execCall(cli, RPC_REPLY, NULL, "xxx", valz, &arr) < 0) { |
|
printf("error:: \"xxx\" errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
|
return 3; |
|
} |
|
printf("return=%d xxx arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); |
|
io_freeVars(&valz); |
|
if (arr) { |
|
printf("@REPLY --- "); |
|
v = io_array(arr, 0, ait_val_t*); |
|
printf("ret_val0:: %p %s len=%d type=%d\n", |
|
v, AIT_GET_BUF(v), AIT_LEN(v), AIT_TYPE(v)); |
|
io_freeVars(&arr); |
|
} |
|
|
|
|
if (rpc_cli_execCall(cli, RPC_REPLY, NULL, CALL_SRVCLIENTS, NULL, &arr) < 0) { |
if (rpc_cli_execCall(cli, RPC_REPLY, NULL, CALL_SRVCLIENTS, NULL, &arr) < 0) { |
printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |