Clean up serialize interface.

Switch to jansson for JSON handling.
Add server ID.
Expose IDs in JSON.
This commit is contained in:
Ian Gulliver
2016-02-17 00:21:28 +00:00
parent b993764a14
commit 01d548dbb5
9 changed files with 93 additions and 55 deletions

2
json.h
View File

@@ -4,4 +4,4 @@
void json_init();
size_t json_serialize(struct packet *, char *);
void json_serialize(struct packet *, struct buf *);