Files
adsb-tools/adsbus/json.h

15 lines
349 B
C
Raw Normal View History

#pragma once
#include <stdbool.h>
2016-02-22 16:41:34 -08:00
struct buf;
2016-02-22 16:58:13 -08:00
struct packet;
2016-02-22 16:41:34 -08:00
void json_init(void);
void json_cleanup(void);
2016-02-26 14:09:37 -08:00
bool __attribute__ ((warn_unused_result)) json_parse(struct buf *, struct packet *, void *);
void json_serialize(struct packet *, struct buf *);
2016-02-27 16:23:26 -08:00
void json_hello(struct buf **);
2016-02-17 08:30:32 +00:00
int json_buf_append_callback(const char *, size_t, void *);