aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord/json_gnsrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnsrecord/json_gnsrecord.c')
-rw-r--r--src/gnsrecord/json_gnsrecord.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnsrecord/json_gnsrecord.c b/src/gnsrecord/json_gnsrecord.c
index 068ff48c1..94916292f 100644
--- a/src/gnsrecord/json_gnsrecord.c
+++ b/src/gnsrecord/json_gnsrecord.c
@@ -32,9 +32,9 @@
32#define GNUNET_JSON_GNSRECORD_RECORD_DATA "data" 32#define GNUNET_JSON_GNSRECORD_RECORD_DATA "data"
33#define GNUNET_JSON_GNSRECORD_TYPE "record_type" 33#define GNUNET_JSON_GNSRECORD_TYPE "record_type"
34#define GNUNET_JSON_GNSRECORD_EXPIRATION_TIME "expiration_time" 34#define GNUNET_JSON_GNSRECORD_EXPIRATION_TIME "expiration_time"
35#define GNUNET_JSON_GNSRECORD_FLAG_PRIVATE "private" 35#define GNUNET_JSON_GNSRECORD_FLAG_PRIVATE "is_private"
36#define GNUNET_JSON_GNSRECORD_FLAG_SUPPLEMENTAL "supplemental" 36#define GNUNET_JSON_GNSRECORD_FLAG_SUPPLEMENTAL "supplemental"
37#define GNUNET_JSON_GNSRECORD_FLAG_RELATIVE "relative_expiration" 37#define GNUNET_JSON_GNSRECORD_FLAG_RELATIVE "is_relative_expiration"
38#define GNUNET_JSON_GNSRECORD_FLAG_SHADOW "shadow" 38#define GNUNET_JSON_GNSRECORD_FLAG_SHADOW "shadow"
39#define GNUNET_JSON_GNSRECORD_RECORD_NAME "record_name" 39#define GNUNET_JSON_GNSRECORD_RECORD_NAME "record_name"
40#define GNUNET_JSON_GNSRECORD_NEVER "never" 40#define GNUNET_JSON_GNSRECORD_NEVER "never"
@@ -350,9 +350,9 @@ GNUNET_GNSRECORD_JSON_from_gnsrecord (const char*rname,
350 record_type_str, 350 record_type_str,
351 "expiration_time", 351 "expiration_time",
352 expiration_time_str, 352 expiration_time_str,
353 "private", 353 GNUNET_JSON_GNSRECORD_FLAG_PRIVATE,
354 rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE, 354 rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE,
355 "relative_expiration", 355 GNUNET_JSON_GNSRECORD_FLAG_RELATIVE,
356 rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION, 356 rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION,
357 "supplemental", 357 "supplemental",
358 rd[i].flags & GNUNET_GNSRECORD_RF_SUPPLEMENTAL, 358 rd[i].flags & GNUNET_GNSRECORD_RF_SUPPLEMENTAL,