aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-05 10:26:56 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-05 10:26:56 +0000
commit0333d3afbc95ada40eabbac5e7cf02c598507a67 (patch)
treea42129ad9130a51561d72e117e9222bb00be07d4 /src/include/gnunet_namestore_service.h
parent02ff54a5f5daec8a93d75991a77b8e27b22708aa (diff)
downloadgnunet-0333d3afbc95ada40eabbac5e7cf02c598507a67.tar.gz
gnunet-0333d3afbc95ada40eabbac5e7cf02c598507a67.zip
-parsing type and common values in gnunet-gns
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r--src/include/gnunet_namestore_service.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index 0278c4a49..a8233fa4b 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -49,6 +49,11 @@ extern "C"
49#define GNUNET_GNS_TYPE_PKEY 65536 49#define GNUNET_GNS_TYPE_PKEY 65536
50 50
51/** 51/**
52 * Record type for GNS zone transfer ("PSEU").
53 */
54#define GNUNET_GNS_TYPE_PSEU 65537
55
56/**
52 * Entry in the queue. 57 * Entry in the queue.
53 */ 58 */
54struct GNUNET_NAMESTORE_QueueEntry; 59struct GNUNET_NAMESTORE_QueueEntry;
@@ -68,6 +73,17 @@ struct GNUNET_NAMESTORE_ZoneIterator;
68 */ 73 */
69#define GNUNET_NAMESTORE_MAX_VALUE_SIZE (63 * 1024) 74#define GNUNET_NAMESTORE_MAX_VALUE_SIZE (63 * 1024)
70 75
76
77/**
78 * Convert a type name (i.e. "AAAA") to the corresponding number.
79 *
80 * @param typename name to convert
81 * @return corresponding number, UINT32_MAX on error
82 */
83uint32_t
84GNUNET_NAMESTORE_typename_to_number (const char *typename);
85
86
71/** 87/**
72 * Connect to the namestore service. 88 * Connect to the namestore service.
73 * 89 *