diff options
author | Chris Browet <cbro@semperpax.com> | 2010-03-31 04:35:58 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-03-31 04:35:58 -0400 |
commit | d8462cfb9ef84e1b0fbd7c794993318d56bd6dfc (patch) | |
tree | 4ef0f2990e1d5e63d89c8361a57e7231252153df /gps_json.h | |
parent | 3202783122582a67b82ff40507550a17dffebb74 (diff) | |
download | gpsd-d8462cfb9ef84e1b0fbd7c794993318d56bd6dfc.tar.gz |
Internals of Qt support.
All regression tests pass.
Note from esr: this feature cannot be announced yert, as it requires
documentation in the INSTALL file.
1. What the target environments are (Linux? Windows? Both)
2. All build prerequisites (C++ compiler? Qt library? Other libraries?)
3. What the new files libQgpsmm_global.h and libQgpsmm.pro are for,
and how the are used.
We also need to know how to regression-test this code under Linux so
we can verify that it's not broken as the client library evolves.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gps_json.h')
-rw-r--r-- | gps_json.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,9 @@ #define GPS_JSON_COMMAND_MAX 80 #define GPS_JSON_RESPONSE_MAX 1024 +#ifdef __cplusplus +extern "C" { +#endif 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_sky_dump(const struct gps_data_t *, /*@out@*/char *, size_t); @@ -26,6 +29,9 @@ int json_ais_read(const char *, char *, size_t, struct ais_t *, /*@null@*/const char **); int libgps_json_unpack(const char *, struct gps_data_t *, /*@null@*/const char **); +#ifdef __cplusplus +} +#endif /* these values don't matter in themselves, they just have to be out-of-band */ #define DEVDEFAULT_BPS 0 |