diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-07-13 13:25:39 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-07-13 13:25:39 +0000 |
commit | 9a3e95a000c9682b3a8335db53bbc9a8a651ac0d (patch) | |
tree | 9a10fca2c0fe7616e4300fe820e3cc9d1eb947cd /json.h | |
parent | d4e71ffd0fadd2f8020754c0c632ad46688f6afe (diff) | |
download | gpsd-9a3e95a000c9682b3a8335db53bbc9a8a651ac0d.tar.gz |
Add entry point for dumping JSON parse error condition text messages.
Diffstat (limited to 'json.h')
-rw-r--r-- | json.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ struct json_attr_t { #define JSON_VAL_MAX 63 /* max charss in JSON value part */ int json_read_object(const char *, const struct json_attr_t *, int, const char **end); +const char *json_error_string(int); #define JSON_ERR_OBSTART -1 /* non-WS when expecting object start */ #define JSON_ERR_ATTRSTART -2 /* non-WS when expecting attrib start */ |