diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-19 17:16:16 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-19 17:16:16 +0000 |
commit | bb60118907cfc6a4007e2d71f1c801a681bb37cd (patch) | |
tree | 3eb1c7b51fe1cab6dba65ff15f10040c83665d0a /src | |
parent | 995f39243d257b7299f5b672214c20705e062b3f (diff) | |
download | gnunet-bb60118907cfc6a4007e2d71f1c801a681bb37cd.tar.gz gnunet-bb60118907cfc6a4007e2d71f1c801a681bb37cd.zip |
- includes
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_namestore_plugin.h | 10 | ||||
-rw-r--r-- | src/include/gnunet_namestore_service.h | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/include/gnunet_namestore_plugin.h b/src/include/gnunet_namestore_plugin.h index 9a1d54774..b27867f89 100644 --- a/src/include/gnunet_namestore_plugin.h +++ b/src/include/gnunet_namestore_plugin.h | |||
@@ -105,7 +105,7 @@ struct GNUNET_NAMESTORE_PluginFunctions | |||
105 | * @return GNUNET_OK on success | 105 | * @return GNUNET_OK on success |
106 | */ | 106 | */ |
107 | int (*remove_records) (void *cls, | 107 | int (*remove_records) (void *cls, |
108 | const GNUNET_HashCode *zone, | 108 | const struct GNUNET_CRYPTO_ShortHashCode *zone, |
109 | const char *name); | 109 | const char *name); |
110 | 110 | ||
111 | 111 | ||
@@ -122,7 +122,7 @@ struct GNUNET_NAMESTORE_PluginFunctions | |||
122 | * @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error | 122 | * @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error |
123 | */ | 123 | */ |
124 | int (*iterate_records) (void *cls, | 124 | int (*iterate_records) (void *cls, |
125 | const GNUNET_HashCode *zone, | 125 | const struct GNUNET_CRYPTO_ShortHashCode *zone, |
126 | const char *name, | 126 | const char *name, |
127 | uint64_t offset, | 127 | uint64_t offset, |
128 | GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls); | 128 | GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls); |
@@ -140,8 +140,8 @@ struct GNUNET_NAMESTORE_PluginFunctions | |||
140 | * @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error | 140 | * @return GNUNET_OK on success, GNUNET_NO if there were no results, GNUNET_SYSERR on error |
141 | */ | 141 | */ |
142 | int (*zone_to_name) (void *cls, | 142 | int (*zone_to_name) (void *cls, |
143 | const GNUNET_HashCode *zone, | 143 | const struct GNUNET_CRYPTO_ShortHashCode *zone, |
144 | const GNUNET_HashCode *value_zone, | 144 | const struct GNUNET_CRYPTO_ShortHashCode *value_zone, |
145 | GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls); | 145 | GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls); |
146 | 146 | ||
147 | 147 | ||
@@ -152,7 +152,7 @@ struct GNUNET_NAMESTORE_PluginFunctions | |||
152 | * @param zone zone to delete | 152 | * @param zone zone to delete |
153 | */ | 153 | */ |
154 | void (*delete_zone) (void *cls, | 154 | void (*delete_zone) (void *cls, |
155 | const GNUNET_HashCode *zone); | 155 | const struct GNUNET_CRYPTO_ShortHashCode *zone); |
156 | 156 | ||
157 | 157 | ||
158 | }; | 158 | }; |
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 8e92dd906..1b5f89cb3 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -309,7 +309,7 @@ typedef void (*GNUNET_NAMESTORE_RecordProcessor) (void *cls, | |||
309 | */ | 309 | */ |
310 | struct GNUNET_NAMESTORE_QueueEntry * | 310 | struct GNUNET_NAMESTORE_QueueEntry * |
311 | GNUNET_NAMESTORE_lookup_record (struct GNUNET_NAMESTORE_Handle *h, | 311 | GNUNET_NAMESTORE_lookup_record (struct GNUNET_NAMESTORE_Handle *h, |
312 | const GNUNET_HashCode *zone, | 312 | const struct GNUNET_CRYPTO_ShortHashCode *zone, |
313 | const char *name, | 313 | const char *name, |
314 | uint32_t record_type, | 314 | uint32_t record_type, |
315 | GNUNET_NAMESTORE_RecordProcessor proc, void *proc_cls); | 315 | GNUNET_NAMESTORE_RecordProcessor proc, void *proc_cls); |
@@ -330,8 +330,8 @@ GNUNET_NAMESTORE_lookup_record (struct GNUNET_NAMESTORE_Handle *h, | |||
330 | */ | 330 | */ |
331 | struct GNUNET_NAMESTORE_QueueEntry * | 331 | struct GNUNET_NAMESTORE_QueueEntry * |
332 | GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, | 332 | GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, |
333 | const GNUNET_HashCode *zone, | 333 | const struct GNUNET_CRYPTO_ShortHashCode *zone, |
334 | const GNUNET_HashCode *value_zone, | 334 | const struct GNUNET_CRYPTO_ShortHashCode *value_zone, |
335 | GNUNET_NAMESTORE_RecordProcessor proc, void *proc_cls); | 335 | GNUNET_NAMESTORE_RecordProcessor proc, void *proc_cls); |
336 | 336 | ||
337 | 337 | ||
@@ -354,7 +354,7 @@ GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, | |||
354 | */ | 354 | */ |
355 | struct GNUNET_NAMESTORE_ZoneIterator * | 355 | struct GNUNET_NAMESTORE_ZoneIterator * |
356 | GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h, | 356 | GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h, |
357 | const GNUNET_HashCode *zone, | 357 | const struct GNUNET_CRYPTO_ShortHashCode *zone, |
358 | enum GNUNET_NAMESTORE_RecordFlags must_have_flags, | 358 | enum GNUNET_NAMESTORE_RecordFlags must_have_flags, |
359 | enum GNUNET_NAMESTORE_RecordFlags must_not_have_flags, | 359 | enum GNUNET_NAMESTORE_RecordFlags must_not_have_flags, |
360 | GNUNET_NAMESTORE_RecordProcessor proc, | 360 | GNUNET_NAMESTORE_RecordProcessor proc, |