json input support, some shutdown fixes. json needs cleanup.
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct buf;
|
||||
struct packet;
|
||||
|
||||
void json_init();
|
||||
void json_cleanup();
|
||||
bool json_parse(struct buf *, struct packet *, void *);
|
||||
void json_serialize(struct packet *, struct buf *);
|
||||
|
||||
int json_buf_append_callback(const char *, size_t, void *);
|
||||
|
||||
Reference in New Issue
Block a user