[Expat-CVS] expat/doc reference.html,1.23,1.24

Fred L. Drake fdrake@users.sourceforge.net
Fri Aug 23 15:22:01 2002


Update of /cvsroot/expat/expat/doc
In directory usw-pr-cvs1:/tmp/cvs-serv2562

Modified Files:
	reference.html 
Log Message:
Minor changes for consistency.


Index: reference.html
===================================================================
RCS file: /cvsroot/expat/expat/doc/reference.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- reference.html	22 Aug 2002 21:08:43 -0000	1.23
+++ reference.html	23 Aug 2002 22:21:09 -0000	1.24
@@ -1035,13 +1035,20 @@
 <pre class="setter" id="XML_SetUnknownEncodingHandler">
 XML_SetUnknownEncodingHandler(XML_Parser p,
                               XML_UnknownEncodingHandler enchandler,
-			                  void *encodingHandlerData)
+			      void *encodingHandlerData)
 </pre>
 <pre class="signature">
 typedef int
 (*XML_UnknownEncodingHandler)(void *encodingHandlerData,
                               const XML_Char *name,
                               XML_Encoding *info);
+
+typedef struct {
+  int map[256];
+  void *data;
+  int (*convert)(void *data, const char *s);
+  void (*release)(void *data);
+} XML_Encoding;
 </pre>
 <p>Set a handler to deal with encodings other than the
 <a href="#builtin_encodings">built in set</a>. This should  be done before
@@ -1049,20 +1056,11 @@
 "#XML_ParseBuffer" >XML_ParseBuffer</a></code> have been called on the
 given parser.</p>
 <p>If the handler knows how to deal with an encoding with the given
-name, it should fill in the info data structure and return
+name, it should fill in the <code>info</code> data structure and return
 1. Otherwise it should return 0. The handler will be called at most
 once per parsed (external) entity. The optional application data
 pointer <code>encodingHandlerData</code> will be passed back to the
 handler.</p>
-
-<pre class="signature">
-    typedef struct {
-      int map[256];
-      void *data;
-      int (*convert)(void *data, const char *s);
-      void (*release)(void *data);
-    } XML_Encoding;
-</pre>
 
 <p>The map array contains information for every possible possible leading
 byte in a byte sequence. If the corresponding value is &gt;= 0, then it's