aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord/gnsrecord_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnsrecord/gnsrecord_misc.c')
-rw-r--r--src/gnsrecord/gnsrecord_misc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gnsrecord/gnsrecord_misc.c b/src/gnsrecord/gnsrecord_misc.c
index 54d8fb860..5e3bbdb8c 100644
--- a/src/gnsrecord/gnsrecord_misc.c
+++ b/src/gnsrecord/gnsrecord_misc.c
@@ -44,6 +44,7 @@ GNUNET_GNSRECORD_string_normalize (const char *src)
44 return GNUNET_STRINGS_utf8_normalize (src); 44 return GNUNET_STRINGS_utf8_normalize (src);
45} 45}
46 46
47
47enum GNUNET_GenericReturnValue 48enum GNUNET_GenericReturnValue
48GNUNET_GNSRECORD_label_check (const char*label, char **emsg) 49GNUNET_GNSRECORD_label_check (const char*label, char **emsg)
49{ 50{
@@ -60,6 +61,7 @@ GNUNET_GNSRECORD_label_check (const char*label, char **emsg)
60 return GNUNET_OK; 61 return GNUNET_OK;
61} 62}
62 63
64
63/** 65/**
64 * Convert a zone key to a string (for printing debug messages). 66 * Convert a zone key to a string (for printing debug messages).
65 * This is one of the very few calls in the entire API that is 67 * This is one of the very few calls in the entire API that is
@@ -409,6 +411,7 @@ GNUNET_GNSRECORD_record_to_identity_key (const struct GNUNET_GNSRECORD_Data *rd,
409 411
410} 412}
411 413
414
412enum GNUNET_GenericReturnValue 415enum GNUNET_GenericReturnValue
413GNUNET_GNSRECORD_normalize_record_set (const char *label, 416GNUNET_GNSRECORD_normalize_record_set (const char *label,
414 const struct 417 const struct
@@ -488,7 +491,7 @@ GNUNET_GNSRECORD_normalize_record_set (const char *label,
488 (GNUNET_YES == have_gns2dns)) 491 (GNUNET_YES == have_gns2dns))
489 { 492 {
490 *emsg = GNUNET_strdup (_ ( 493 *emsg = GNUNET_strdup (_ (
491 "Redirection record set conains mutually exclusive records.")); 494 "Redirection record set contains mutually exclusive records."));
492 return GNUNET_SYSERR; 495 return GNUNET_SYSERR;
493 } 496 }
494 /* No redirection records under empty label*/ 497 /* No redirection records under empty label*/
@@ -514,7 +517,7 @@ GNUNET_GNSRECORD_normalize_record_set (const char *label,
514 (GNUNET_YES == have_zone_delegation)) 517 (GNUNET_YES == have_zone_delegation))
515 { 518 {
516 *emsg = GNUNET_strdup (_ ( 519 *emsg = GNUNET_strdup (_ (
517 "Redirection record set conains mutually exclusive records.")); 520 "Redirection record set contains mutually exclusive records."));
518 return GNUNET_SYSERR; 521 return GNUNET_SYSERR;
519 } 522 }
520 have_gns2dns = GNUNET_YES; 523 have_gns2dns = GNUNET_YES;
@@ -557,6 +560,7 @@ GNUNET_GNSRECORD_normalize_record_set (const char *label,
557 return GNUNET_OK; 560 return GNUNET_OK;
558} 561}
559 562
563
560enum GNUNET_GenericReturnValue 564enum GNUNET_GenericReturnValue
561GNUNET_GNSRECORD_convert_records_for_export (const char *label, 565GNUNET_GNSRECORD_convert_records_for_export (const char *label,
562 const struct 566 const struct
@@ -580,5 +584,4 @@ GNUNET_GNSRECORD_convert_records_for_export (const char *label,
580} 584}
581 585
582 586
583
584/* end of gnsrecord_misc.c */ 587/* end of gnsrecord_misc.c */