*
* @param cls URI to update
* @param plugin_name name of the plugin that produced this value;
- * special values can be used (i.e. '<zlib>' for zlib being
+ * special values can be used (i.e. '<zlib>' for zlib being
* used in the main libextractor library and yielding
* meta data).
* @param type libextractor-type describing the meta data
*
* @param cls closure (unused)
* @param type type of the keyword
- * @param data value of the keyword
+ * @param format format of data
+ * @param data_mime_type mime type of data
+ * @param data value of the meta data
+ * @param data_size number of bytes in data
+ * @return always 0 (to continue iterating)
*/
static int
item_printer (void *cls,
*
* @param cls closure
* @param type type of the meta data
+ * @param format format of data
+ * @param data_mime_type mime type of data
* @param data value of the meta data
+ * @param data_size number of bytes in data
* @return always 0
*/
static int
*
* @param cls closure, target metadata structure
* @param type type of the meta data
+ * @param format format of data
+ * @param data_mime_type mime type of data
* @param data value of the meta data
+ * @param data_size number of bytes in data
* @return always 0
*/
static int
const struct GNUNET_MessageHeader *hello);
/**
- * Obtain a AddressLookupMessage from a client and return to client all the host addresses of other peers.
+ * Convert a binary address into a human
+ * readable address.
*
- * @param handle connection to transport service
- * @param addLUmsg the address-lookup message
+ * @param handle connection to transport service
+ * @param cfg configuration to use
+ * @param address address to convert (binary format)
+ * @param addressLen number of bytes in address
+ * @param nameTrans name of the transport to which the address belongs
+ * @param timeout how long is the lookup allowed to take at most
+ * @param aluc function to call with the results
+ * @param aluc_cls closure for aluc
*/
void
GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched,
const char * address,
size_t addressLen,
const char * nameTrans,
- struct GNUNET_TIME_Relative timeout,
- GNUNET_TRANSPORT_AddressLookUpCallback aluc,
- void *aluc_cls);
+ struct GNUNET_TIME_Relative timeout,
+ GNUNET_TRANSPORT_AddressLookUpCallback aluc,
+ void *aluc_cls);
* list was previously empty.
*
* @param nl client to notify
- * @param hc entry to notify about
+ * @param he entry to notify about
*/
static void
do_notify (struct NotifyList *nl,
*
* @param md metadata to extend
* @param plugin_name name of the plugin that produced this value;
- * special values can be used (i.e. '<zlib>' for zlib being
+ * special values can be used (i.e. '<zlib>' for zlib being
* used in the main libextractor library and yielding
* meta data).
* @param type libextractor-type describing the meta data
*
* @param cls closure, our meta data container
* @param plugin_name name of the plugin that produced this value;
- * special values can be used (i.e. '<zlib>' for zlib being
+ * special values can be used (i.e. '<zlib>' for zlib being
* used in the main libextractor library and yielding
* meta data).
* @param type libextractor-type describing the meta data
*
* @param cls metadata to add to
* @param type type of entry to insert
- * @param data value of entry to insert
+ * @param format format of data
+ * @param data_mime_type mime type of data
+ * @param data value of the meta data
+ * @param data_size number of bytes in data
+ * @return always 0
*/
static int
merge_meta_helper (void *cls,