diff options
-rw-r--r-- | src/fs/fs_uri.c | 2 | ||||
-rw-r--r-- | src/fs/gnunet-directory.c | 6 | ||||
-rw-r--r-- | src/fs/gnunet-publish.c | 6 | ||||
-rw-r--r-- | src/include/gnunet_transport_service.h | 19 | ||||
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 2 | ||||
-rw-r--r-- | src/util/container_meta_data.c | 4 | ||||
-rw-r--r-- | src/util/pseudonym.c | 6 |
7 files changed, 33 insertions, 12 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index 16b6e26e9..665f04728 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c | |||
@@ -1470,7 +1470,7 @@ GNUNET_FS_uri_test_loc (const struct GNUNET_FS_Uri *uri) | |||
1470 | * | 1470 | * |
1471 | * @param cls URI to update | 1471 | * @param cls URI to update |
1472 | * @param plugin_name name of the plugin that produced this value; | 1472 | * @param plugin_name name of the plugin that produced this value; |
1473 | * special values can be used (i.e. '<zlib>' for zlib being | 1473 | * special values can be used (i.e. '<zlib>' for zlib being |
1474 | * used in the main libextractor library and yielding | 1474 | * used in the main libextractor library and yielding |
1475 | * meta data). | 1475 | * meta data). |
1476 | * @param type libextractor-type describing the meta data | 1476 | * @param type libextractor-type describing the meta data |
diff --git a/src/fs/gnunet-directory.c b/src/fs/gnunet-directory.c index 3ea76985e..fe2ae8af6 100644 --- a/src/fs/gnunet-directory.c +++ b/src/fs/gnunet-directory.c | |||
@@ -32,7 +32,11 @@ static int ret; | |||
32 | * | 32 | * |
33 | * @param cls closure (unused) | 33 | * @param cls closure (unused) |
34 | * @param type type of the keyword | 34 | * @param type type of the keyword |
35 | * @param data value of the keyword | 35 | * @param format format of data |
36 | * @param data_mime_type mime type of data | ||
37 | * @param data value of the meta data | ||
38 | * @param data_size number of bytes in data | ||
39 | * @return always 0 (to continue iterating) | ||
36 | */ | 40 | */ |
37 | static int | 41 | static int |
38 | item_printer (void *cls, | 42 | item_printer (void *cls, |
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index 65f437f11..226877b15 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -139,7 +139,10 @@ progress_cb (void *cls, | |||
139 | * | 139 | * |
140 | * @param cls closure | 140 | * @param cls closure |
141 | * @param type type of the meta data | 141 | * @param type type of the meta data |
142 | * @param format format of data | ||
143 | * @param data_mime_type mime type of data | ||
142 | * @param data value of the meta data | 144 | * @param data value of the meta data |
145 | * @param data_size number of bytes in data | ||
143 | * @return always 0 | 146 | * @return always 0 |
144 | */ | 147 | */ |
145 | static int | 148 | static int |
@@ -169,7 +172,10 @@ meta_printer (void *cls, | |||
169 | * | 172 | * |
170 | * @param cls closure, target metadata structure | 173 | * @param cls closure, target metadata structure |
171 | * @param type type of the meta data | 174 | * @param type type of the meta data |
175 | * @param format format of data | ||
176 | * @param data_mime_type mime type of data | ||
172 | * @param data value of the meta data | 177 | * @param data value of the meta data |
178 | * @param data_size number of bytes in data | ||
173 | * @return always 0 | 179 | * @return always 0 |
174 | */ | 180 | */ |
175 | static int | 181 | static int |
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 74141a383..a705d3e10 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -235,10 +235,17 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle, | |||
235 | const struct GNUNET_MessageHeader *hello); | 235 | const struct GNUNET_MessageHeader *hello); |
236 | 236 | ||
237 | /** | 237 | /** |
238 | * Obtain a AddressLookupMessage from a client and return to client all the host addresses of other peers. | 238 | * Convert a binary address into a human |
239 | * readable address. | ||
239 | * | 240 | * |
240 | * @param handle connection to transport service | 241 | * @param handle connection to transport service |
241 | * @param addLUmsg the address-lookup message | 242 | * @param cfg configuration to use |
243 | * @param address address to convert (binary format) | ||
244 | * @param addressLen number of bytes in address | ||
245 | * @param nameTrans name of the transport to which the address belongs | ||
246 | * @param timeout how long is the lookup allowed to take at most | ||
247 | * @param aluc function to call with the results | ||
248 | * @param aluc_cls closure for aluc | ||
242 | */ | 249 | */ |
243 | void | 250 | void |
244 | GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, | 251 | GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, |
@@ -246,9 +253,9 @@ GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, | |||
246 | const char * address, | 253 | const char * address, |
247 | size_t addressLen, | 254 | size_t addressLen, |
248 | const char * nameTrans, | 255 | const char * nameTrans, |
249 | struct GNUNET_TIME_Relative timeout, | 256 | struct GNUNET_TIME_Relative timeout, |
250 | GNUNET_TRANSPORT_AddressLookUpCallback aluc, | 257 | GNUNET_TRANSPORT_AddressLookUpCallback aluc, |
251 | void *aluc_cls); | 258 | void *aluc_cls); |
252 | 259 | ||
253 | 260 | ||
254 | 261 | ||
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index 2f56ff2bd..30723be0b 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -220,7 +220,7 @@ transmit_pending_notification (void *cls, | |||
220 | * list was previously empty. | 220 | * list was previously empty. |
221 | * | 221 | * |
222 | * @param nl client to notify | 222 | * @param nl client to notify |
223 | * @param hc entry to notify about | 223 | * @param he entry to notify about |
224 | */ | 224 | */ |
225 | static void | 225 | static void |
226 | do_notify (struct NotifyList *nl, | 226 | do_notify (struct NotifyList *nl, |
diff --git a/src/util/container_meta_data.c b/src/util/container_meta_data.c index a614f3c4f..b122982d5 100644 --- a/src/util/container_meta_data.c +++ b/src/util/container_meta_data.c | |||
@@ -227,7 +227,7 @@ GNUNET_CONTAINER_meta_data_test_equal (const struct GNUNET_CONTAINER_MetaData | |||
227 | * | 227 | * |
228 | * @param md metadata to extend | 228 | * @param md metadata to extend |
229 | * @param plugin_name name of the plugin that produced this value; | 229 | * @param plugin_name name of the plugin that produced this value; |
230 | * special values can be used (i.e. '<zlib>' for zlib being | 230 | * special values can be used (i.e. '<zlib>' for zlib being |
231 | * used in the main libextractor library and yielding | 231 | * used in the main libextractor library and yielding |
232 | * meta data). | 232 | * meta data). |
233 | * @param type libextractor-type describing the meta data | 233 | * @param type libextractor-type describing the meta data |
@@ -565,7 +565,7 @@ GNUNET_CONTAINER_meta_data_duplicate (const struct GNUNET_CONTAINER_MetaData | |||
565 | * | 565 | * |
566 | * @param cls closure, our meta data container | 566 | * @param cls closure, our meta data container |
567 | * @param plugin_name name of the plugin that produced this value; | 567 | * @param plugin_name name of the plugin that produced this value; |
568 | * special values can be used (i.e. '<zlib>' for zlib being | 568 | * special values can be used (i.e. '<zlib>' for zlib being |
569 | * used in the main libextractor library and yielding | 569 | * used in the main libextractor library and yielding |
570 | * meta data). | 570 | * meta data). |
571 | * @param type libextractor-type describing the meta data | 571 | * @param type libextractor-type describing the meta data |
diff --git a/src/util/pseudonym.c b/src/util/pseudonym.c index 626e8ca99..07c05b9e6 100644 --- a/src/util/pseudonym.c +++ b/src/util/pseudonym.c | |||
@@ -541,7 +541,11 @@ GNUNET_PSEUDONYM_rank (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
541 | * | 541 | * |
542 | * @param cls metadata to add to | 542 | * @param cls metadata to add to |
543 | * @param type type of entry to insert | 543 | * @param type type of entry to insert |
544 | * @param data value of entry to insert | 544 | * @param format format of data |
545 | * @param data_mime_type mime type of data | ||
546 | * @param data value of the meta data | ||
547 | * @param data_size number of bytes in data | ||
548 | * @return always 0 | ||
545 | */ | 549 | */ |
546 | static int | 550 | static int |
547 | merge_meta_helper (void *cls, | 551 | merge_meta_helper (void *cls, |