diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-05 10:26:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-05 10:26:56 +0000 |
commit | 0333d3afbc95ada40eabbac5e7cf02c598507a67 (patch) | |
tree | a42129ad9130a51561d72e117e9222bb00be07d4 /src/include/gnunet_namestore_service.h | |
parent | 02ff54a5f5daec8a93d75991a77b8e27b22708aa (diff) | |
download | gnunet-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.h | 16 |
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 | */ |
54 | struct GNUNET_NAMESTORE_QueueEntry; | 59 | struct 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 | */ | ||
83 | uint32_t | ||
84 | GNUNET_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 | * |