mjsonrpc 1.0
A lightweight JSON-RPC 2.0 message parser and generator based on cJSON
Loading...
Searching...
No Matches
Data Fields
mjrpc_handle Struct Reference

Main handle structure for managing RPC methods. More...

#include <mjsonrpc.h>

Data Fields

struct mjrpc_methodmethods
 Array of registered methods (hash table)
 
size_t capacity
 Total capacity of the hash table.
 
size_t size
 Current number of registered methods.
 

Detailed Description

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.

Field Documentation

◆ capacity

size_t mjrpc_handle::capacity

Total capacity of the hash table.

Definition at line 180 of file mjsonrpc.h.

◆ methods

struct mjrpc_method* mjrpc_handle::methods

Array of registered methods (hash table)

Definition at line 177 of file mjsonrpc.h.

◆ size

size_t mjrpc_handle::size

Current number of registered methods.

Definition at line 183 of file mjsonrpc.h.


The documentation for this struct was generated from the following file: