14#include <zcbor_decode.h>
15#include <zcbor_encode.h>
89 zcbor_state_t *response_detail_map,
enum golioth_status golioth_rpc_deinit(struct golioth_rpc *grpc)
struct golioth_rpc * golioth_rpc_init(struct golioth_client *client)
enum golioth_rpc_status(* golioth_rpc_cb_fn)(zcbor_state_t *request_params_array, zcbor_state_t *response_detail_map, void *callback_arg)
enum golioth_status golioth_rpc_register(struct golioth_rpc *grpc, const char *method, golioth_rpc_cb_fn callback, void *callback_arg)
golioth_rpc_status
Enumeration of RPC status codes, sent in the RPC response.
@ GOLIOTH_RPC_UNAVAILABLE
@ GOLIOTH_RPC_OUT_OF_RANGE
@ GOLIOTH_RPC_ALREADYEXISTS
@ GOLIOTH_RPC_INVALID_ARGUMENT
@ GOLIOTH_RPC_PERMISSION_DENIED
@ GOLIOTH_RPC_RESOURCE_EXHAUSTED
@ GOLIOTH_RPC_UNAUTHENTICATED
@ GOLIOTH_RPC_DEADLINE_EXCEEDED
@ GOLIOTH_RPC_FAILED_PRECONDITION
@ GOLIOTH_RPC_UNIMPLEMENTED