[Expat-CVS] expat/doc reference.html,1.24,1.25
Fred L. Drake
fdrake@users.sourceforge.net
Mon Aug 26 10:20:05 2002
Update of /cvsroot/expat/expat/doc
In directory usw-pr-cvs1:/tmp/cvs-serv3656/doc
Modified Files:
reference.html
Log Message:
XML_GetFeatureList(): New API function.
Index: reference.html
===================================================================
RCS file: /cvsroot/expat/expat/doc/reference.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- reference.html 23 Aug 2002 22:21:09 -0000 1.24
+++ reference.html 26 Aug 2002 17:19:41 -0000 1.25
@@ -116,6 +116,7 @@
<li><a href="#XML_DefaultCurrent">XML_DefaultCurrent</a></li>
<li><a href="#XML_ExpatVersion">XML_ExpatVersion</a></li>
<li><a href="#XML_ExpatVersionInfo">XML_ExpatVersionInfo</a></li>
+ <li><a href="#XML_GetFeatureList">XML_GetFeatureList</a></li>
</ul>
</li>
</ul>
@@ -1650,6 +1651,23 @@
</ul>
Testing these constants is currently the best way to determine if
particular parts of the Expat API are available.
+</div>
+
+<pre class="fcndec" id="XML_GetFeatureList">
+const char **
+XML_GetFeatureList();
+</pre>
+<div class="fcndef">
+<p>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.</p>
+
+<p>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
+<code>"XML_DTD"</code> and <code>"XML_UNICODE"</code>.
</div>
<hr />