mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Expose rpc guts
This commit is contained in:
1 parent
f02f88f336
commit
581a0698af
6 files changed
+53
-51
No files matched your search
+2
-2
@@ -2436,9 +2436,9 @@ static void test_json(void) {
|
||||
}
|
||||
|
||||
static void test_rpc(void) {
|
||||
void *head = NULL;
|
||||
struct mg_rpc *head = NULL;
|
||||
char *s = NULL;
|
||||
struct mg_rpc_req req = {&head, mg_pfn_realloc, &s, 0, 0, {0, 0}};
|
||||
struct mg_rpc_req req = {&head, 0, mg_pfn_realloc, &s, 0, {0, 0}};
|
||||
mg_rpc_add(&head, mg_str("rpc.list"), mg_rpc_list, NULL);
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user