diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-11 14:59:04 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-11 14:59:04 +0000 |
commit | 8338aebe1b4be9e8cb27be564851a14a9ebb6b14 (patch) | |
tree | d9b37c09a7bf1226d899671765548d5fe0bad145 /src/include/gnunet_gns_service.h | |
parent | c4ea2585c71c4d619f3f24f32c277a5fa6b5772a (diff) | |
download | gnunet-8338aebe1b4be9e8cb27be564851a14a9ebb6b14.tar.gz gnunet-8338aebe1b4be9e8cb27be564851a14a9ebb6b14.zip |
new API for shorten key
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r-- | src/include/gnunet_gns_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 64dbcd25a..1906aba45 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h | |||
@@ -146,6 +146,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, | |||
146 | * @param handle handle to the GNS service | 146 | * @param handle handle to the GNS service |
147 | * @param name the name to look up | 147 | * @param name the name to look up |
148 | * @param zone the zone to start the resolution in | 148 | * @param zone the zone to start the resolution in |
149 | * @param shorten_zone the zone where to shorten names into | ||
149 | * @param type the GNUNET_GNS_RecordType to look for | 150 | * @param type the GNUNET_GNS_RecordType to look for |
150 | * @param proc function to call on result | 151 | * @param proc function to call on result |
151 | * @param proc_cls closure for processor | 152 | * @param proc_cls closure for processor |
@@ -156,6 +157,7 @@ struct GNUNET_GNS_QueueEntry * | |||
156 | GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle, | 157 | GNUNET_GNS_lookup_zone (struct GNUNET_GNS_Handle *handle, |
157 | const char * name, | 158 | const char * name, |
158 | struct GNUNET_CRYPTO_ShortHashCode *zone, | 159 | struct GNUNET_CRYPTO_ShortHashCode *zone, |
160 | struct GNUNET_CRYPTO_ShortHashCode *shorten_zone, | ||
159 | enum GNUNET_GNS_RecordType type, | 161 | enum GNUNET_GNS_RecordType type, |
160 | GNUNET_GNS_LookupResultProcessor proc, | 162 | GNUNET_GNS_LookupResultProcessor proc, |
161 | void *proc_cls); | 163 | void *proc_cls); |
@@ -196,6 +198,7 @@ GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, | |||
196 | * @param handle handle to the GNS service | 198 | * @param handle handle to the GNS service |
197 | * @param name the name to look up | 199 | * @param name the name to look up |
198 | * @param zone the zone to start the resolution in | 200 | * @param zone the zone to start the resolution in |
201 | * @param shorten_zone the zone where to shorten names into | ||
199 | * @param proc function to call on result | 202 | * @param proc function to call on result |
200 | * @param proc_cls closure for processor | 203 | * @param proc_cls closure for processor |
201 | * @return handle to the operation | 204 | * @return handle to the operation |
@@ -204,6 +207,7 @@ struct GNUNET_GNS_QueueEntry * | |||
204 | GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, | 207 | GNUNET_GNS_shorten_zone (struct GNUNET_GNS_Handle *handle, |
205 | const char * name, | 208 | const char * name, |
206 | struct GNUNET_CRYPTO_ShortHashCode *zone, | 209 | struct GNUNET_CRYPTO_ShortHashCode *zone, |
210 | struct GNUNET_CRYPTO_ShortHashCode *shorten_zone, | ||
207 | GNUNET_GNS_ShortenResultProcessor proc, | 211 | GNUNET_GNS_ShortenResultProcessor proc, |
208 | void *proc_cls); | 212 | void *proc_cls); |
209 | 213 | ||