Files
adsb-tools/adsbus/json.h
2016-02-27 16:23:26 -08:00

15 lines
349 B
C

#pragma once
#include <stdbool.h>
struct buf;
struct packet;
void json_init(void);
void json_cleanup(void);
bool __attribute__ ((warn_unused_result)) json_parse(struct buf *, struct packet *, void *);
void json_serialize(struct packet *, struct buf *);
void json_hello(struct buf **);
int json_buf_append_callback(const char *, size_t, void *);