1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-01 21:07:24 +00:00

Support json value in async mode.

This commit is contained in:
Shuai Lin
2016-06-28 11:37:17 +08:00
parent 25ce2aeceb
commit 5fd3bb7176
3 changed files with 42 additions and 0 deletions

View File

@@ -109,6 +109,12 @@ searpc_client_async_call__objlist (SearpcClient *client,
GType object_type, void *cbdata,
int n_params, ...);
int
searpc_client_async_call__json (SearpcClient *client,
const char *fname,
AsyncCallback callback, void *cbdata,
int n_params, ...);
/* called by the transport layer, the rpc layer should be able to
* modify the str, but not take ownership of it */