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

Internal structure representing a registered RPC method. More...

#include <mjsonrpc.h>

Data Fields

char * name
 Method name.
 
mjrpc_func func
 Function pointer to method implementation.
 
void * arg
 User argument passed to the function.
 
int state
 Internal state for hash table management.
 

Detailed Description

Internal structure representing a registered RPC method.

Definition at line 152 of file mjsonrpc.h.

Field Documentation

◆ arg

void* mjrpc_method::arg

User argument passed to the function.

Definition at line 161 of file mjsonrpc.h.

◆ func

mjrpc_func mjrpc_method::func

Function pointer to method implementation.

Definition at line 158 of file mjsonrpc.h.

◆ name

char* mjrpc_method::name

Method name.

Definition at line 155 of file mjsonrpc.h.

◆ state

int mjrpc_method::state

Internal state for hash table management.

Definition at line 164 of file mjsonrpc.h.


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