From bb761420b6d10e64bcb305cbb3bc8942a422a2b8 Mon Sep 17 00:00:00 2001
From: "Fred L. Drake, Jr."
Date: Mon, 26 Aug 2002 17:19:41 +0000
Subject: [PATCH] XML_GetFeatureList(): New API function.
---
expat/doc/reference.html | 18 ++++++++++++++++++
expat/lib/expat.h | 3 +++
expat/lib/xmlparse.c | 21 ++++++++++++++++++++-
3 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/expat/doc/reference.html b/expat/doc/reference.html
index f497438a..18b3370d 100644
--- a/expat/doc/reference.html
+++ b/expat/doc/reference.html
@@ -116,6 +116,7 @@ Clark Cooper to retain copyright and to distribute it with expat.
XML_DefaultCurrent
XML_ExpatVersion
XML_ExpatVersionInfo
+ XML_GetFeatureList
@@ -1652,6 +1653,23 @@ Testing these constants is currently the best way to determine if
particular parts of the Expat API are available.
+
+const char **
+XML_GetFeatureList();
+
+
+
Returns a list of "feature" identifiers that provide details on how
+Expat was configured at compile time. Most applications should not
+need to worry about this, but this information is otherwise not
+available from Expat. This function allows code that does need to
+check these features to do so at runtime.
+
+
The return value is an array of strings, terminated by NULL,
+identifying the feature-test macros Expat was compiled with. Common
+features which may be found in this list include
+"XML_DTD"
and "XML_UNICODE"
.
+
+
