|
MIDAS
|
Classes | |
| class | MJSO |
Typedefs | |
| typedef MJsonNode *() | mjsonrpc_handler_t(const MJsonNode *params) |
Functions | |
| void | mjsonrpc_init () |
| void | mjsonrpc_user_init () |
| void | mjsonrpc_add_handler (const char *method, mjsonrpc_handler_t *handler, bool needs_locking=false) |
| void | mjsonrpc_exit () |
| void | mjsonrpc_set_std_mutex (void *mutex) |
| MJsonNode * | mjsonrpc_get_schema () |
| std::string | mjsonrpc_schema_to_text (const MJsonNode *schema) |
| MJsonNode * | mjsonrpc_make_error (int code, const char *message, const char *data) |
| MJsonNode * | mjsonrpc_make_result (MJsonNode *node) |
| MJsonNode * | mjsonrpc_make_result (const char *name, MJsonNode *value, const char *name2=NULL, MJsonNode *value2=NULL, const char *name3=NULL, MJsonNode *value3=NULL) |
| const MJsonNode * | mjsonrpc_get_param (const MJsonNode *params, const char *name, MJsonNode **error) |
| MJsonNode * | mjsonrpc_decode_post_data (const char *post_data) |
| static MJSO * | MJSO::MakeObjectSchema (const char *description) |
| static MJSO * | MJSO::MakeArraySchema (const char *description) |
| void | MJSO::AddToSchema (MJsonNode *s, const char *name) |
| static MJSO * | MJSO::I () |
| void | MJSO::D (const char *description) |
| MJSO * | MJSO::Params () |
| MJSO * | MJSO::Result () |
| MJSO * | MJSO::PA (const char *description) |
| MJSO * | MJSO::RA (const char *description) |
| void | MJSO::P (const char *name, int mjson_type, const char *description) |
| void | MJSO::R (const char *name, int mjson_type, const char *description) |
| void | MJSO::Add (const char *name, int mjson_type, const char *description) |
| MJSO * | MJSO::AddObject (const char *name, const char *description) |
| MJSO * | MJSO::AddArray (const char *name, const char *description) |
| MJSO::MJSO () | |
Variables | |
| int | mjsonrpc_debug |
| MJsonNode * | MJSO::properties |
| MJsonNode * | MJSO::required |
| MJsonNode * | MJSO::items |
| MJSO * | MJSO::params |
| MJSO * | MJSO::result |
| typedef MJsonNode *() mjsonrpc_handler_t(const MJsonNode *params) |
Definition at line 18 of file mjsonrpc.h.
|
protected |
Definition at line 403 of file mjsonrpc.cxx.

| void MJSO::Add | ( | const char * | name, |
| int | mjson_type, | ||
| const char * | description | ||
| ) |
Definition at line 356 of file mjsonrpc.cxx.


| MJSO * MJSO::AddArray | ( | const char * | name, |
| const char * | description | ||
| ) |
Definition at line 394 of file mjsonrpc.cxx.

| MJSO * MJSO::AddObject | ( | const char * | name, |
| const char * | description | ||
| ) |
Definition at line 385 of file mjsonrpc.cxx.


|
protected |
Definition at line 262 of file mjsonrpc.cxx.


| void MJSO::D | ( | const char * | description | ) |
Definition at line 303 of file mjsonrpc.cxx.
|
static |
|
staticprotected |
Definition at line 243 of file mjsonrpc.cxx.


|
staticprotected |
Definition at line 230 of file mjsonrpc.cxx.


| void mjsonrpc_add_handler | ( | const char * | method, |
| mjsonrpc_handler_t * | handler, | ||
| bool | needs_locking = false |
||
| ) |
Definition at line 4741 of file mjsonrpc.cxx.


| MJsonNode * mjsonrpc_decode_post_data | ( | const char * | post_data | ) |
Definition at line 5366 of file mjsonrpc.cxx.


| void mjsonrpc_exit | ( | ) |
Definition at line 4842 of file mjsonrpc.cxx.


| const MJsonNode * mjsonrpc_get_param | ( | const MJsonNode * | params, |
| const char * | name, | ||
| MJsonNode ** | error | ||
| ) |
Definition at line 178 of file mjsonrpc.cxx.


| MJsonNode * mjsonrpc_get_schema | ( | ) |
Definition at line 4880 of file mjsonrpc.cxx.


| void mjsonrpc_init | ( | ) |
Definition at line 4754 of file mjsonrpc.cxx.

| MJsonNode * mjsonrpc_make_error | ( | int | code, |
| const char * | message, | ||
| const char * | data | ||
| ) |
Definition at line 123 of file mjsonrpc.cxx.

| MJsonNode * mjsonrpc_make_result | ( | const char * | name, |
| MJsonNode * | value, | ||
| const char * | name2 = NULL, |
||
| MJsonNode * | value2 = NULL, |
||
| const char * | name3 = NULL, |
||
| MJsonNode * | value3 = NULL |
||
| ) |
Definition at line 142 of file mjsonrpc.cxx.
| MJsonNode * mjsonrpc_make_result | ( | MJsonNode * | node | ) |
Definition at line 135 of file mjsonrpc.cxx.
| std::string mjsonrpc_schema_to_text | ( | const MJsonNode * | schema | ) |
Definition at line 5190 of file mjsonrpc.cxx.


| void mjsonrpc_set_std_mutex | ( | void * | mutex | ) |
Definition at line 4749 of file mjsonrpc.cxx.

| void mjsonrpc_user_init | ( | ) |
Definition at line 116 of file mjsonrpc_user.cxx.


| void MJSO::P | ( | const char * | name, |
| int | mjson_type, | ||
| const char * | description | ||
| ) |
Definition at line 340 of file mjsonrpc.cxx.

| MJSO * MJSO::PA | ( | const char * | description | ) |
Definition at line 326 of file mjsonrpc.cxx.


| MJSO * MJSO::Params | ( | ) |
Definition at line 308 of file mjsonrpc.cxx.


| void MJSO::R | ( | const char * | name, |
| int | mjson_type, | ||
| const char * | description | ||
| ) |
Definition at line 348 of file mjsonrpc.cxx.

| MJSO * MJSO::RA | ( | const char * | description | ) |
Definition at line 333 of file mjsonrpc.cxx.

| MJSO * MJSO::Result | ( | ) |
Definition at line 317 of file mjsonrpc.cxx.


|
protected |
Definition at line 63 of file mjsonrpc.h.
|
extern |
Definition at line 112 of file mjsonrpc.cxx.
|
protected |
Definition at line 65 of file mjsonrpc.h.
|
protected |
Definition at line 61 of file mjsonrpc.h.
|
protected |
Definition at line 62 of file mjsonrpc.h.
|
protected |
Definition at line 66 of file mjsonrpc.h.