diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-02-16 09:59:04 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-02-16 09:59:04 -0500 |
commit | b3b41ddf2ebea8bf4a12b0c6c45330ed0d242f6b (patch) | |
tree | e7808652682b79820e289fa32eedfa9943d88475 /gps_json.h | |
parent | a3766b700808d486762edc7c814ac43412c9296b (diff) | |
download | gpsd-b3b41ddf2ebea8bf4a12b0c6c45330ed0d242f6b.tar.gz |
Refactoring step. All regression tests pass.
What's going in with this commit, and the last one, is that I'm
disentangling the logic for JSON reporting of device state from the
daemon dispatcher layer. This means that other programs that use
libgpsd *without* necessarily going through the dispatcher layer will
be able to do so.
No logic changes.
Diffstat (limited to 'gps_json.h')
-rw-r--r-- | gps_json.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,8 @@ #ifdef __cplusplus extern "C" { #endif +void json_data_report(gps_mask_t, struct gps_data_t *, struct policy_t *, + /*@out@*/char *, size_t); char *json_stringify(/*@out@*/char *, size_t, /*@in@*/const char *); void json_tpv_dump(const struct gps_data_t *, /*@out@*/char *, size_t); void json_noise_dump(const struct gps_data_t *, /*@out@*/char *, size_t); |