|
mjsonrpc 1.0
A lightweight JSON-RPC 2.0 message parser and generator based on cJSON
|
Main handle structure for managing RPC methods. More...
#include <mjsonrpc.h>
Data Fields | |
| struct mjrpc_method * | methods |
| Array of registered methods (hash table) | |
| size_t | capacity |
| Total capacity of the hash table. | |
| size_t | size |
| Current number of registered methods. | |
Main handle structure for managing RPC methods.
This structure maintains a hash table of registered RPC methods and provides efficient method lookup.
Definition at line 174 of file mjsonrpc.h.
| size_t mjrpc_handle::capacity |
Total capacity of the hash table.
Definition at line 180 of file mjsonrpc.h.
| struct mjrpc_method* mjrpc_handle::methods |
Array of registered methods (hash table)
Definition at line 177 of file mjsonrpc.h.
| size_t mjrpc_handle::size |
Current number of registered methods.
Definition at line 183 of file mjsonrpc.h.