125#define rpc_pb_call(stub, funcid, reqt, req, respt, resp) rpc_do_pb_call(stub, funcid, reqt##_fields, req, respt##_fields, resp)
MOSAPI rpc_result_code_t rpc_simple_callv(rpc_server_stub_t *stub, u32 funcid, rpc_result_t *result, const char *argspec, va_list args)
Call a function on the server.
MOSAPI rpc_result_code_t rpc_simple_call(rpc_server_stub_t *stub, u32 funcid, rpc_result_t *result, const char *argspec,...)
Call a function on the server.
MOSAPI void rpc_call_arg_s8(rpc_call_t *call, s8 arg)
MOSAPI void rpc_call_arg_u64(rpc_call_t *call, u64 arg)
MOSAPI void rpc_call_arg_s16(rpc_call_t *call, s16 arg)
MOSAPI void rpc_call_arg_s64(rpc_call_t *call, s64 arg)
MOSAPI void rpc_call_arg_s32(rpc_call_t *call, s32 arg)
MOSAPI void rpc_call_arg_string(rpc_call_t *call, const char *arg)
MOSAPI void rpc_call_destroy(rpc_call_t *call)
Destroy a call.
MOSAPI rpc_call_t * rpc_call_create(rpc_server_stub_t *server, u32 function_id)
Manually create a new RPC call.
MOSAPI rpc_server_stub_t * rpc_client_create(const char *server_name)
Create a new RPC client stub for the given server.
MOSAPI rpc_result_code_t rpc_call_exec(rpc_call_t *call, void **result_data, size_t *result_size)
Execute a call.
MOSAPI void rpc_client_destroy(rpc_server_stub_t *server)
Destroy a server stub.
MOSAPI rpc_result_code_t rpc_do_pb_call(rpc_server_stub_t *stub, u32 funcid, const pb_msgdesc_t *reqm, const void *req, const pb_msgdesc_t *respm, void *resp)
Call a function on the server using protobuf (nanopb)
MOSAPI void rpc_call_arg(rpc_call_t *call, rpc_argtype_t argtype, const void *data, size_t size)
Add an argument to a call.
MOSAPI void rpc_call_arg_u32(rpc_call_t *call, u32 arg)
MOSAPI void rpc_call_arg_u16(rpc_call_t *call, u16 arg)
MOSAPI void rpc_call_arg_u8(rpc_call_t *call, u8 arg)