Proto serialization support.

This commit is contained in:
Ian Gulliver
2016-02-23 16:13:11 -08:00
parent a98eeec91e
commit 819518e402
2 changed files with 77 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
#include "buf.h"
#include "json.h"
#include "peer.h"
#include "proto.h"
#include "raw.h"
#include "stats.h"
#include "uuid.h"
@@ -43,6 +44,10 @@ struct serializer {
.name = "json",
.serialize = json_serialize,
},
{
.name = "proto",
.serialize = proto_serialize,
},
{
.name = "raw",
.serialize = raw_serialize,