gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r10794 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r10794 - gnunet/src/fs
Date: Mon, 5 Apr 2010 15:35:24 +0200

Author: grothoff
Date: 2010-04-05 15:35:24 +0200 (Mon, 05 Apr 2010)
New Revision: 10794

Modified:
   gnunet/src/fs/gnunet-search.c
Log:
fix

Modified: gnunet/src/fs/gnunet-search.c
===================================================================
--- gnunet/src/fs/gnunet-search.c       2010-04-05 13:22:50 UTC (rev 10793)
+++ gnunet/src/fs/gnunet-search.c       2010-04-05 13:35:24 UTC (rev 10794)
@@ -46,6 +46,23 @@
 
 static int verbose;
 
+/**
+ * Type of a function that libextractor calls for each
+ * meta data item found.
+ *
+ * @param cls closure (user-defined, unused)
+ * @param plugin_name name of the plugin that produced this value;
+ *        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 format basic format information about data 
+ * @param data_mime_type mime-type of data (not of the original file);
+ *        can be NULL (if mime-type is not known)
+ * @param data actual meta-data found
+ * @param data_len number of bytes in data
+ * @return 0 to continue extracting, 1 to abort
+ */ 
 static int
 item_printer (void *cls,
              const char *plugin_name,
@@ -62,7 +79,7 @@
           dgettext (LIBEXTRACTOR_GETTEXT_DOMAIN,
                     EXTRACTOR_metatype_to_string (type)),
          data);
-  return GNUNET_OK;
+  return 0;
 }
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]