summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-30 02:02:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-30 02:02:56 +0000
commit2190780c32f11b769f24d27725a9002207ea4af9 (patch)
treec0293a3f55e33a68d4971f4c2788cdb6b96a7a3a /json.h
parent1eaa0e110e309e916b900de264d4fefe3ccd19ba (diff)
downloadgpsd-2190780c32f11b769f24d27725a9002207ea4af9.tar.gz
Create a way not to step on defaults.
Diffstat (limited to 'json.h')
-rw-r--r--json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/json.h b/json.h
index bcf7ab8b..115dbb20 100644
--- a/json.h
+++ b/json.h
@@ -54,6 +54,7 @@ struct json_attr_t {
} dflt;
size_t len;
const struct json_enum_t *map;
+ bool nodefault;
};
#define JSON_ATTR_MAX 31 /* max chars in JSON attribute name */