gnunet-svn
[Top][All Lists]
Advanced

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

[libextractor] branch master updated: add NONE, clairfy RESERVED


From: gnunet
Subject: [libextractor] branch master updated: add NONE, clairfy RESERVED
Date: Tue, 08 Feb 2022 23:14:10 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libextractor.

The following commit(s) were added to refs/heads/master by this push:
     new 91debab  add NONE, clairfy RESERVED
91debab is described below

commit 91debab9ade37293b1ea2ef5eb738c9a1214b6d6
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Feb 8 23:14:03 2022 +0100

    add NONE, clairfy RESERVED
---
 src/include/extractor.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/include/extractor.h b/src/include/extractor.h
index 78fe627..9f24735 100644
--- a/src/include/extractor.h
+++ b/src/include/extractor.h
@@ -124,8 +124,14 @@ enum EXTRACTOR_MetaFormat
  */
 enum EXTRACTOR_MetaType
 {
-  /* fundamental types */
+  /* available to application for marking an `enum EXTRACTOR_MetaType` as not
+     carrying any meaningful value - never used by libextractor */
+  EXTRACTOR_METATYPE_NONE = -1,
+
+  /* reserved should be used as a terminator (like the '\0'-terminator for 
strings)
+     and is never used directly by libextractor */
   EXTRACTOR_METATYPE_RESERVED = 0,
+
   EXTRACTOR_METATYPE_MIMETYPE = 1,
   EXTRACTOR_METATYPE_FILENAME = 2,
   EXTRACTOR_METATYPE_COMMENT = 3,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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