diff options
Diffstat (limited to 'src/include/gnunet_json_lib.h')
-rw-r--r-- | src/include/gnunet_json_lib.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/include/gnunet_json_lib.h b/src/include/gnunet_json_lib.h index 07a14d329..92597d3dd 100644 --- a/src/include/gnunet_json_lib.h +++ b/src/include/gnunet_json_lib.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #define GNUNET_JSON_LIB_H | 28 | #define GNUNET_JSON_LIB_H |
29 | 29 | ||
30 | #include "gnunet_util_lib.h" | 30 | #include "gnunet_util_lib.h" |
31 | #include "gnunet_gnsrecord_lib.h" | ||
32 | #include <jansson.h> | 31 | #include <jansson.h> |
33 | #include <microhttpd.h> | 32 | #include <microhttpd.h> |
34 | 33 | ||
@@ -359,18 +358,6 @@ GNUNET_JSON_spec_rsa_signature (const char *name, | |||
359 | struct GNUNET_CRYPTO_RsaSignature **sig); | 358 | struct GNUNET_CRYPTO_RsaSignature **sig); |
360 | 359 | ||
361 | 360 | ||
362 | /** | ||
363 | * JSON Specification for GNS Records. | ||
364 | * | ||
365 | * @param gnsrecord_object struct of GNUNET_GNSRECORD_Data to fill | ||
366 | * @return JSON Specification | ||
367 | */ | ||
368 | struct GNUNET_JSON_Specification | ||
369 | GNUNET_JSON_spec_gnsrecord (struct GNUNET_GNSRECORD_Data **rd, | ||
370 | unsigned int *rd_count, | ||
371 | char **name); | ||
372 | |||
373 | |||
374 | /* ****************** Generic generator interface ******************* */ | 361 | /* ****************** Generic generator interface ******************* */ |
375 | 362 | ||
376 | 363 | ||
@@ -446,18 +433,6 @@ GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk); | |||
446 | json_t * | 433 | json_t * |
447 | GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig); | 434 | GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig); |
448 | 435 | ||
449 | /** | ||
450 | * Convert Gns record to JSON. | ||
451 | * | ||
452 | * @param rname name of record | ||
453 | * @param rd record data | ||
454 | * @return corresponding JSON encoding | ||
455 | */ | ||
456 | json_t * | ||
457 | GNUNET_JSON_from_gnsrecord (const char *rname, | ||
458 | const struct GNUNET_GNSRECORD_Data *rd, | ||
459 | unsigned int rd_count); | ||
460 | |||
461 | /* ******************* Helpers for MHD upload handling ******************* */ | 436 | /* ******************* Helpers for MHD upload handling ******************* */ |
462 | 437 | ||
463 | /** | 438 | /** |