version 1.13.4.1, 2013/07/15 14:27:28
|
version 1.13.4.4, 2013/07/16 13:02:52
|
Line 88 int main(int argc, char **argv)
|
Line 88 int main(int argc, char **argv)
|
AIT_SET_STR(v, "gniah_blah SHMINK!"); |
AIT_SET_STR(v, "gniah_blah SHMINK!"); |
v = array(valz, 2, ait_val_t*); |
v = array(valz, 2, ait_val_t*); |
AIT_NEW_BLOB(v, 512); |
AIT_NEW_BLOB(v, 512); |
if (rpc_cli_sendBLOB(cli2, v, blob43, NULL) == -1) { | if (rpc_cli_sendBLOB(cli2, v, blob43, 0) == -1) { |
printf("!!!!! blob error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
printf("!!!!! blob error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
ait_freeVars(&valz); |
ait_freeVars(&valz); |
rpc_cli_closeBLOBClient(&cli2); |
rpc_cli_closeBLOBClient(&cli2); |
Line 125 int main(int argc, char **argv)
|
Line 125 int main(int argc, char **argv)
|
v = array(arr, 2, ait_val_t*); |
v = array(arr, 2, ait_val_t*); |
printf("ret_val2:: is_empty? %d %s len=%d type=%d\n", |
printf("ret_val2:: is_empty? %d %s len=%d type=%d\n", |
AIT_ISEMPTY(v), AIT_GET_STR(v), AIT_LEN(v), AIT_TYPE(v)); |
AIT_ISEMPTY(v), AIT_GET_STR(v), AIT_LEN(v), AIT_TYPE(v)); |
|
//#if 0 |
v = array(arr, 3, ait_val_t*); |
v = array(arr, 3, ait_val_t*); |
printf("ret_val3:: %X %d\n", AIT_GET_BLOB(v), AIT_LEN(v)); |
printf("ret_val3:: %X %d\n", AIT_GET_BLOB(v), AIT_LEN(v)); |
printf("test found blob=%d\n", rpc_cli_getBLOB(cli2, v, (void**) &mem)); |
printf("test found blob=%d\n", rpc_cli_getBLOB(cli2, v, (void**) &mem)); |
Line 133 int main(int argc, char **argv)
|
Line 134 int main(int argc, char **argv)
|
printf("+++++++ BLOB=%s", mem); |
printf("+++++++ BLOB=%s", mem); |
e_free(mem); |
e_free(mem); |
} |
} |
|
//#endif |
rpc_cli_freeCall(&arr); |
rpc_cli_freeCall(&arr); |
} |
} |
} |
} |