Add client support, use it to dump json to stdout first.

This commit is contained in:
Ian Gulliver
2016-02-16 02:28:05 +00:00
parent cbae234327
commit af8b3d0c4c
10 changed files with 237 additions and 36 deletions

10
client.h Normal file
View File

@@ -0,0 +1,10 @@
#pragma once
#include "common.h"
#define SERIALIZE_LEN 256
struct serializer *client_get_serializer(char *);
void client_add(int, struct serializer *);
void client_write(struct packet *);