aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-17 21:00:58 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-17 21:00:58 +0000
commit8c4f13e5109054a8f7ad3555b6db51c81eec5e0b (patch)
tree55aa82541d4c148148bcf50e7c59bfa17ed950ab /src/include
parenta7a20387006a89cd13fd122e0262dd59957bc6d0 (diff)
downloadgnunet-8c4f13e5109054a8f7ad3555b6db51c81eec5e0b.tar.gz
gnunet-8c4f13e5109054a8f7ad3555b6db51c81eec5e0b.zip
-adding libidn--towards fixing #2475
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_dnsparser_lib.h12
-rw-r--r--src/include/gnunet_gns_service.h2
2 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h
index 328a2286a..19148bd3d 100644
--- a/src/include/gnunet_dnsparser_lib.h
+++ b/src/include/gnunet_dnsparser_lib.h
@@ -479,6 +479,18 @@ struct GNUNET_DNSPARSER_Packet
479 479
480 480
481/** 481/**
482 * Check if a label in UTF-8 format can be coded into valid IDNA.
483 * This can fail if the ASCII-conversion becomes longer than 63 characters.
484 *
485 * @param label label to check (UTF-8 string)
486 * @return GNUNET_OK if the label can be converted to IDNA,
487 * GNUNET_SYSERR if the label is not valid for DNS names
488 */
489int
490GNUNET_DNSPARSER_check_label (const char *label);
491
492
493/**
482 * Parse a UDP payload of a DNS packet in to a nice struct for further 494 * Parse a UDP payload of a DNS packet in to a nice struct for further
483 * processing and manipulation. 495 * processing and manipulation.
484 * 496 *
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h
index 3e3d140b9..ac9e2d006 100644
--- a/src/include/gnunet_gns_service.h
+++ b/src/include/gnunet_gns_service.h
@@ -109,6 +109,8 @@ enum GNUNET_GNS_RecordType
109 109
110 /* struct vpn_data */ 110 /* struct vpn_data */
111 GNUNET_GNS_RECORD_VPN = GNUNET_NAMESTORE_TYPE_VPN, 111 GNUNET_GNS_RECORD_VPN = GNUNET_NAMESTORE_TYPE_VPN,
112
113 /* revocation */
112 GNUNET_GNS_RECORD_REV = GNUNET_NAMESTORE_TYPE_REV 114 GNUNET_GNS_RECORD_REV = GNUNET_NAMESTORE_TYPE_REV
113}; 115};
114 116