Changeset 98 for trunk/include
- Timestamp:
- Aug 21, 2001, 7:29:38 PM (24 years ago)
- Location:
- trunk/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/expat/expat.h
r97 r98 13 13 // to save the app from having to include this as well 14 14 15 #ifndef XMLPARSEAPI15 /* #ifndef XMLPARSEAPI 16 16 #ifdef EXPATENTRY 17 #define XMLPARSEAPI(type) type EXPATENTRY 17 // #define XMLPARSEAPI(type) type EXPATENTRY 18 #define XMLPARSEAPI(type) 18 19 // V0.9.14 (2001-08-09) [umoeller] 19 20 #else 20 21 #define XMLPARSEAPI(type) type 21 22 #endif 22 #endif 23 #endif */ 24 25 #ifndef XMLPARSEAPI 26 # ifdef __declspec 27 # define XMLPARSEAPI __declspec(dllimport) 28 # else 29 # define XMLPARSEAPI /* nothing */ 30 # endif 31 #endif /* not defined XMLPARSEAPI */ 23 32 24 33 #ifdef __cplusplus … … 119 128 */ 120 129 121 typedef void (* XML_ElementDeclHandler) (void *userData,130 typedef void (* EXPATENTRY XML_ElementDeclHandler) (void *userData, 122 131 const XML_Char *name, 123 132 XMLCONTENT *model); 124 133 125 XMLPARSEAPI(void) 126 XML_SetElementDeclHandler(XML_Parser parser, 127 XML_ElementDeclHandler eldecl); 134 void EXPATENTRY XML_SetElementDeclHandler(XML_Parser parser, 135 XML_ElementDeclHandler eldecl); 128 136 129 137 /* … … 137 145 */ 138 146 139 typedef void (* XML_AttlistDeclHandler) (void *userData,147 typedef void (* EXPATENTRY XML_AttlistDeclHandler) (void *userData, 140 148 const XML_Char *elname, 141 149 const XML_Char *attname, … … 144 152 int isrequired); 145 153 146 XMLPARSEAPI(void) 154 void EXPATENTRY 147 155 XML_SetAttlistDeclHandler(XML_Parser parser, 148 156 XML_AttlistDeclHandler attdecl); … … 157 165 */ 158 166 159 typedef void (* XML_XmlDeclHandler) (void *userData,167 typedef void (* EXPATENTRY XML_XmlDeclHandler) (void *userData, 160 168 const XML_Char *version, 161 169 const XML_Char *encoding, 162 170 int standalone); 163 171 164 XMLPARSEAPI(void) 172 void EXPATENTRY 165 173 XML_SetXmlDeclHandler(XML_Parser parser, 166 174 XML_XmlDeclHandler xmldecl); … … 176 184 external protocol or null if there is none specified. */ 177 185 178 XML PARSEAPI(XML_Parser)186 XML_Parser EXPATENTRY 179 187 XML_ParserCreate(const XML_Char *encoding); 180 188 … … 189 197 the name and prefix will be passed through without expansion. */ 190 198 191 XML PARSEAPI(XML_Parser)199 XML_Parser EXPATENTRY 192 200 XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator); 193 201 … … 203 211 */ 204 212 205 XML PARSEAPI(XML_Parser)213 XML_Parser EXPATENTRY 206 214 XML_ParserCreate_MM(const XML_Char *encoding, 207 215 const XML_Memory_Handling_Suite *memsuite, … … 211 219 names and values are 0 terminated. */ 212 220 213 typedef void (* XML_StartElementHandler)(void *userData,221 typedef void (* EXPATENTRY XML_StartElementHandler)(void *userData, 214 222 const XML_Char *name, 215 223 const XML_Char **atts); 216 224 217 typedef void (* XML_EndElementHandler)(void *userData,225 typedef void (* EXPATENTRY XML_EndElementHandler)(void *userData, 218 226 const XML_Char *name); 219 227 220 228 221 229 /* s is not 0 terminated. */ 222 typedef void (* XML_CharacterDataHandler)(void *userData,230 typedef void (* EXPATENTRY XML_CharacterDataHandler)(void *userData, 223 231 const XML_Char *s, 224 232 int len); 225 233 226 234 /* target and data are 0 terminated */ 227 typedef void (* XML_ProcessingInstructionHandler)(void *userData,235 typedef void (* EXPATENTRY XML_ProcessingInstructionHandler)(void *userData, 228 236 const XML_Char *target, 229 237 const XML_Char *data); 230 238 231 239 /* data is 0 terminated */ 232 typedef void (* XML_CommentHandler)(void *userData, const XML_Char *data);233 234 typedef void (* XML_StartCdataSectionHandler)(void *userData);235 typedef void (* XML_EndCdataSectionHandler)(void *userData);240 typedef void (* EXPATENTRY XML_CommentHandler)(void *userData, const XML_Char *data); 241 242 typedef void (* EXPATENTRY XML_StartCdataSectionHandler)(void *userData); 243 typedef void (* EXPATENTRY XML_EndCdataSectionHandler)(void *userData); 236 244 237 245 /* This is called for any characters in the XML document for … … 248 256 multiple calls. */ 249 257 250 typedef void (* XML_DefaultHandler)(void *userData,258 typedef void (* EXPATENTRY XML_DefaultHandler)(void *userData, 251 259 const XML_Char *s, 252 260 int len); … … 255 263 any DTD or internal subset is parsed. */ 256 264 257 typedef void (* XML_StartDoctypeDeclHandler)(void *userData,265 typedef void (* EXPATENTRY XML_StartDoctypeDeclHandler)(void *userData, 258 266 const XML_Char *doctypeName, 259 267 const XML_Char *sysid, … … 263 271 /* This is called for the start of the DOCTYPE declaration when the 264 272 closing > is encountered, but after processing any external subset. */ 265 typedef void (* XML_EndDoctypeDeclHandler)(void *userData);273 typedef void (* EXPATENTRY XML_EndDoctypeDeclHandler)(void *userData); 266 274 267 275 /* This is called for entity declarations. The is_parameter_entity … … 281 289 */ 282 290 283 typedef void (* XML_EntityDeclHandler) (void *userData,291 typedef void (* EXPATENTRY XML_EntityDeclHandler) (void *userData, 284 292 const XML_Char *entityName, 285 293 int is_parameter_entity, … … 291 299 const XML_Char *notationName); 292 300 293 XMLPARSEAPI(void) 301 void EXPATENTRY 294 302 XML_SetEntityDeclHandler(XML_Parser parser, 295 303 XML_EntityDeclHandler handler); … … 303 311 The other arguments may be. */ 304 312 305 typedef void (* XML_UnparsedEntityDeclHandler)(void *userData,313 typedef void (* EXPATENTRY XML_UnparsedEntityDeclHandler)(void *userData, 306 314 const XML_Char *entityName, 307 315 const XML_Char *base, … … 314 322 The notationName will never be null. The other arguments can be. */ 315 323 316 typedef void (* XML_NotationDeclHandler)(void *userData,324 typedef void (* EXPATENTRY XML_NotationDeclHandler)(void *userData, 317 325 const XML_Char *notationName, 318 326 const XML_Char *base, … … 326 334 For an xmlns="" attribute, uri will be null. */ 327 335 328 typedef void (* XML_StartNamespaceDeclHandler)(void *userData,336 typedef void (* EXPATENTRY XML_StartNamespaceDeclHandler)(void *userData, 329 337 const XML_Char *prefix, 330 338 const XML_Char *uri); 331 339 332 typedef void (* XML_EndNamespaceDeclHandler)(void *userData,340 typedef void (* EXPATENTRY XML_EndNamespaceDeclHandler)(void *userData, 333 341 const XML_Char *prefix); 334 342 … … 339 347 ERROR_EXPAT_NOT_STANDALONE error. */ 340 348 341 typedef int (* XML_NotStandaloneHandler)(void *userData);349 typedef int (* EXPATENTRY XML_NotStandaloneHandler)(void *userData); 342 350 343 351 /* This is called for a reference to an external parsed general entity. … … 366 374 userData. */ 367 375 368 typedef int (* XML_ExternalEntityRefHandler)(void *userData, // added V0.9.14 (2001-08-09) [umoeller]376 typedef int (* EXPATENTRY XML_ExternalEntityRefHandler)(void *userData, // added V0.9.14 (2001-08-09) [umoeller] 369 377 XML_Parser parser, 370 378 const XML_Char *context, … … 418 426 int map[256]; 419 427 void *data; 420 int (* convert)(void *data, const char *s);421 void (* release)(void *data);428 int (* EXPATENTRY convert)(void *data, const char *s); 429 void (* EXPATENTRY release)(void *data); 422 430 } XML_Encoding; 423 431 … … 433 441 then the parser will return an XML_UNKNOWN_ENCODING error. */ 434 442 435 typedef int (* XML_UnknownEncodingHandler)(void *encodingHandlerData,443 typedef int (* EXPATENTRY XML_UnknownEncodingHandler)(void *encodingHandlerData, 436 444 const XML_Char *name, 437 445 XML_Encoding *info); 438 446 439 XMLPARSEAPI(void) 447 void EXPATENTRY 440 448 XML_SetElementHandler(XML_Parser parser, 441 449 XML_StartElementHandler start, 442 450 XML_EndElementHandler end); 443 451 444 XMLPARSEAPI(void) 452 void EXPATENTRY 445 453 XML_SetStartElementHandler(XML_Parser, XML_StartElementHandler); 446 454 447 XMLPARSEAPI(void) 455 void EXPATENTRY 448 456 XML_SetEndElementHandler(XML_Parser, XML_EndElementHandler); 449 457 450 XMLPARSEAPI(void) 458 void EXPATENTRY 451 459 XML_SetCharacterDataHandler(XML_Parser parser, 452 460 XML_CharacterDataHandler handler); 453 461 454 XMLPARSEAPI(void) 462 void EXPATENTRY 455 463 XML_SetProcessingInstructionHandler(XML_Parser parser, 456 464 XML_ProcessingInstructionHandler handler); 457 XMLPARSEAPI(void) 465 void EXPATENTRY 458 466 XML_SetCommentHandler(XML_Parser parser, 459 467 XML_CommentHandler handler); 460 468 461 XMLPARSEAPI(void) 469 void EXPATENTRY 462 470 XML_SetCdataSectionHandler(XML_Parser parser, 463 471 XML_StartCdataSectionHandler start, 464 472 XML_EndCdataSectionHandler end); 465 473 466 XMLPARSEAPI(void) 474 void EXPATENTRY 467 475 XML_SetStartCdataSectionHandler(XML_Parser parser, 468 476 XML_StartCdataSectionHandler start); 469 477 470 XMLPARSEAPI(void) 478 void EXPATENTRY 471 479 XML_SetEndCdataSectionHandler(XML_Parser parser, 472 480 XML_EndCdataSectionHandler end); … … 476 484 handler. */ 477 485 478 XMLPARSEAPI(void) 486 void EXPATENTRY 479 487 XML_SetDefaultHandler(XML_Parser parser, 480 488 XML_DefaultHandler handler); … … 484 492 default handler. */ 485 493 486 XMLPARSEAPI(void) 494 void EXPATENTRY 487 495 XML_SetDefaultHandlerExpand(XML_Parser parser, 488 496 XML_DefaultHandler handler); 489 497 490 XMLPARSEAPI(void) 498 void EXPATENTRY 491 499 XML_SetDoctypeDeclHandler(XML_Parser parser, 492 500 XML_StartDoctypeDeclHandler start, 493 501 XML_EndDoctypeDeclHandler end); 494 502 495 XMLPARSEAPI(void) 503 void EXPATENTRY 496 504 XML_SetStartDoctypeDeclHandler(XML_Parser parser, 497 505 XML_StartDoctypeDeclHandler start); 498 506 499 XMLPARSEAPI(void) 507 void EXPATENTRY 500 508 XML_SetEndDoctypeDeclHandler(XML_Parser parser, 501 509 XML_EndDoctypeDeclHandler end); 502 510 503 XMLPARSEAPI(void) 511 void EXPATENTRY 504 512 XML_SetUnparsedEntityDeclHandler(XML_Parser parser, 505 513 XML_UnparsedEntityDeclHandler handler); 506 514 507 XMLPARSEAPI(void) 515 void EXPATENTRY 508 516 XML_SetNotationDeclHandler(XML_Parser parser, 509 517 XML_NotationDeclHandler handler); 510 518 511 XMLPARSEAPI(void) 519 void EXPATENTRY 512 520 XML_SetNamespaceDeclHandler(XML_Parser parser, 513 521 XML_StartNamespaceDeclHandler start, 514 522 XML_EndNamespaceDeclHandler end); 515 523 516 XMLPARSEAPI(void) 524 void EXPATENTRY 517 525 XML_SetStartNamespaceDeclHandler(XML_Parser parser, 518 526 XML_StartNamespaceDeclHandler start); 519 527 520 XMLPARSEAPI(void) 528 void EXPATENTRY 521 529 XML_SetEndNamespaceDeclHandler(XML_Parser parser, 522 530 XML_EndNamespaceDeclHandler end); 523 531 524 XMLPARSEAPI(void) 532 void EXPATENTRY 525 533 XML_SetNotStandaloneHandler(XML_Parser parser, 526 534 XML_NotStandaloneHandler handler); 527 535 528 XMLPARSEAPI(void) 536 void EXPATENTRY 529 537 XML_SetExternalEntityRefHandler(XML_Parser parser, 530 538 XML_ExternalEntityRefHandler handler); … … 533 541 as the first argument to the external entity ref handler instead 534 542 of the parser object. */ 535 XMLPARSEAPI(void) 543 void EXPATENTRY 536 544 XML_SetExternalEntityRefHandlerArg(XML_Parser, void *arg); 537 545 538 XMLPARSEAPI(void) 546 void EXPATENTRY 539 547 XML_SetUnknownEncodingHandler(XML_Parser parser, 540 548 XML_UnknownEncodingHandler handler, … … 544 552 processing instruction or character data. It causes the corresponding 545 553 markup to be passed to the default handler. */ 546 XMLPARSEAPI(void) 554 void EXPATENTRY 547 555 XML_DefaultCurrent(XML_Parser parser); 548 556 … … 558 566 */ 559 567 560 XMLPARSEAPI(void) 568 void EXPATENTRY 561 569 XML_SetReturnNSTriplet(XML_Parser parser, int do_nst); 562 570 563 571 /* This value is passed as the userData argument to callbacks. */ 564 XMLPARSEAPI(void) 572 void EXPATENTRY 565 573 XML_SetUserData(XML_Parser parser, void *userData); 566 574 … … 572 580 or XML_ParseBuffer. */ 573 581 574 XMLPARSEAPI(int) 582 int EXPATENTRY 575 583 XML_SetEncoding(XML_Parser parser, const XML_Char *encoding); 576 584 … … 579 587 The userData will still be accessible using XML_GetUserData. */ 580 588 581 XMLPARSEAPI(void) 589 void EXPATENTRY 582 590 XML_UseParserAsHandlerArg(XML_Parser parser); 583 591 … … 589 597 Returns zero if out of memory, non-zero otherwise. */ 590 598 591 XMLPARSEAPI(int) 599 int EXPATENTRY 592 600 XML_SetBase(XML_Parser parser, const XML_Char *base); 593 601 594 XMLPARSEAPI(const XML_Char *) 602 const XML_Char * EXPATENTRY 595 603 XML_GetBase(XML_Parser parser); 596 604 … … 601 609 XML_StartElementHandler. */ 602 610 603 XMLPARSEAPI(int) 611 int EXPATENTRY 604 612 XML_GetSpecifiedAttributeCount(XML_Parser parser); 605 613 … … 609 617 into the atts array passed to the XML_StartElementHandler. */ 610 618 611 XMLPARSEAPI(int) 619 int EXPATENTRY 612 620 XML_GetIdAttributeIndex(XML_Parser parser); 613 621 … … 615 623 The last call to XML_Parse must have isFinal true; 616 624 len may be zero for this call (or any other). */ 617 XMLPARSEAPI(int) 625 int EXPATENTRY 618 626 XML_Parse(XML_Parser parser, const char *s, int len, int isFinal); 619 627 620 XMLPARSEAPI(void *) 628 void * EXPATENTRY 621 629 XML_GetBuffer(XML_Parser parser, int len); 622 630 623 XMLPARSEAPI(int) 631 int EXPATENTRY 624 632 XML_ParseBuffer(XML_Parser parser, int len, int isFinal); 625 633 … … 639 647 from the parser argument. Returns 0 if out of memory. Otherwise 640 648 returns a new XML_Parser object. */ 641 XML PARSEAPI(XML_Parser)649 XML_Parser EXPATENTRY 642 650 XML_ExternalEntityParserCreate(XML_Parser parser, 643 651 const XML_Char *context, … … 669 677 entities is requested; otherwise it will return non-zero. */ 670 678 671 XMLPARSEAPI(int) 679 int EXPATENTRY 672 680 XML_SetParamEntityParsing(XML_Parser parser, 673 681 enum XML_ParamEntityParsing parsing); … … 732 740 returns information about the error. */ 733 741 734 XML PARSEAPI(XMLERROR)742 XMLERROR EXPATENTRY 735 743 XML_GetErrorCode(XML_Parser parser); 736 744 … … 743 751 of the sequence of characters that generated the event. */ 744 752 745 XMLPARSEAPI(int)XML_GetCurrentLineNumber(XML_Parser parser);746 XMLPARSEAPI(int)XML_GetCurrentColumnNumber(XML_Parser parser);747 XMLPARSEAPI(long)XML_GetCurrentByteIndex(XML_Parser parser);753 int EXPATENTRY XML_GetCurrentLineNumber(XML_Parser parser); 754 int EXPATENTRY XML_GetCurrentColumnNumber(XML_Parser parser); 755 long EXPATENTRY XML_GetCurrentByteIndex(XML_Parser parser); 748 756 749 757 /* Return the number of bytes in the current event. 750 758 Returns 0 if the event is in an internal entity. */ 751 759 752 XMLPARSEAPI(int) 760 int EXPATENTRY 753 761 XML_GetCurrentByteCount(XML_Parser parser); 754 762 … … 763 771 the handler that makes the call. */ 764 772 765 XMLPARSEAPI(const char *) 773 const char * EXPATENTRY 766 774 XML_GetInputContext(XML_Parser parser, 767 775 int *offset, … … 774 782 775 783 /* Frees memory used by the parser. */ 776 XMLPARSEAPI(void) 784 void EXPATENTRY 777 785 XML_ParserFree(XML_Parser parser); 778 786 779 787 /* Returns a string describing the error. */ 780 XMLPARSEAPI(const XML_LChar *) 788 const XML_LChar * EXPATENTRY 781 789 XML_ErrorString(int code); 782 790 783 791 /* Return a string containing the version number of this expat */ 784 XMLPARSEAPI(const XML_LChar *) 792 const XML_LChar * EXPATENTRY 785 793 XML_ExpatVersion(void); 786 794 … … 794 802 number information for this version of expat */ 795 803 796 XML PARSEAPI(XML_Expat_Version)804 XML_Expat_Version EXPATENTRY 797 805 XML_ExpatVersionInfo(void); 798 806 -
trunk/include/expat/xmlrole.h
r97 r98 6 6 #ifndef XmlRole_INCLUDED 7 7 #define XmlRole_INCLUDED 1 8 9 #include "expat\expat_setup.h" 10 // V0.9.9 (2001-02-10) [umoeller] 11 // to save the app from having to include this as well 8 12 9 13 #include "expat\xmltok.h" … … 73 77 }; 74 78 79 struct prolog_state; 80 typedef int EXPATENTRY FNHANDLER(struct prolog_state *state, 81 int tok, 82 const char *ptr, 83 const char *end, 84 const ENCODING *enc); 85 75 86 typedef struct prolog_state { 76 int (*handler)(struct prolog_state *state, 77 int tok, 78 const char *ptr, 79 const char *end, 80 const ENCODING *enc); 87 FNHANDLER *handler; 81 88 unsigned level; 82 89 #ifdef XML_DTD -
trunk/include/expat/xmltok.h
r97 r98 6 6 #ifndef XmlTok_INCLUDED 7 7 #define XmlTok_INCLUDED 1 8 9 #include "expat\expat_setup.h" 10 // V0.9.9 (2001-02-10) [umoeller] 11 // to save the app from having to include this as well 8 12 9 13 #ifdef __cplusplus … … 17 21 #define XML_TOK_NONE -4 /* The string to be scanned is empty */ 18 22 #define XML_TOK_TRAILING_CR -3 /* A CR at the end of the scan; 19 might be part of CRLF sequence */ 23 might be part of CRLF sequence */ 20 24 #define XML_TOK_PARTIAL_CHAR -2 /* only part of a multibyte sequence */ 21 25 #define XML_TOK_PARTIAL -1 /* only part of a token */ … … 122 126 typedef struct encoding ENCODING; 123 127 128 typedef int EXPATENTRY SCANNERFUNC(const ENCODING *, 129 const char *, 130 const char *, 131 const char **); 132 typedef SCANNERFUNC *PSCANNERFUNC; 133 124 134 struct encoding { 125 int (*scanners[XML_N_STATES])(const ENCODING *, 126 const char *, 127 const char *, 128 const char **); 129 int (*literalScanners[XML_N_LITERAL_TYPES])(const ENCODING *, 130 const char *, 131 const char *, 132 const char **); 133 int (*sameName)(const ENCODING *, 134 const char *, const char *); 135 int (*nameMatchesAscii)(const ENCODING *, 136 const char *, const char *, const char *); 137 int (*nameLength)(const ENCODING *, const char *); 138 const char *(*skipS)(const ENCODING *, const char *); 139 int (*getAtts)(const ENCODING *enc, const char *ptr, 140 int attsMax, ATTRIBUTE *atts); 141 int (*charRefNumber)(const ENCODING *enc, const char *ptr); 142 int (*predefinedEntityName)(const ENCODING *, const char *, const char *); 143 void (*updatePosition)(const ENCODING *, 144 const char *ptr, 145 const char *end, 146 POSITION *); 147 int (*isPublicId)(const ENCODING *enc, const char *ptr, const char *end, 148 const char **badPtr); 149 void (*utf8Convert)(const ENCODING *enc, 150 const char **fromP, 151 const char *fromLim, 152 char **toP, 153 const char *toLim); 154 void (*utf16Convert)(const ENCODING *enc, 155 const char **fromP, 156 const char *fromLim, 157 unsigned short **toP, 158 const unsigned short *toLim); 135 PSCANNERFUNC scanners[XML_N_STATES]; 136 PSCANNERFUNC literalScanners[XML_N_LITERAL_TYPES]; 137 /* int (* EXPATENTRY literalScanners[XML_N_LITERAL_TYPES])(const ENCODING *, 138 const char *, 139 const char *, 140 const char **); */ 141 int (* EXPATENTRY sameName)(const ENCODING *, 142 const char *, const char *); 143 int (* EXPATENTRY nameMatchesAscii)(const ENCODING *, 144 const char *, const char *, const char *); 145 int (* EXPATENTRY nameLength)(const ENCODING *, const char *); 146 const char *(* EXPATENTRY skipS)(const ENCODING *, const char *); 147 int (* EXPATENTRY getAtts)(const ENCODING *enc, const char *ptr, 148 int attsMax, ATTRIBUTE *atts); 149 int (* EXPATENTRY charRefNumber)(const ENCODING *enc, const char *ptr); 150 int (* EXPATENTRY predefinedEntityName)(const ENCODING *, const char *, const char *); 151 void (* EXPATENTRY updatePosition)(const ENCODING *, 152 const char *ptr, 153 const char *end, 154 POSITION *); 155 int (* EXPATENTRY isPublicId)(const ENCODING *enc, const char *ptr, const char *end, 156 const char **badPtr); 157 void (* EXPATENTRY utf8Convert)(const ENCODING *enc, 158 const char **fromP, 159 const char *fromLim, 160 char **toP, 161 const char *toLim); 162 void (* EXPATENTRY utf16Convert)(const ENCODING *enc, 163 const char **fromP, 164 const char *fromLim, 165 unsigned short **toP, 166 const unsigned short *toLim); 159 167 int minBytesPerChar; 160 168 char isUtf8; … … 203 211 204 212 /* This is used for performing a 2nd-level tokenization on 205 the content of a literal that has already been returned by XmlTok. */ 213 the content of a literal that has already been returned by XmlTok. */ 206 214 207 215 #define XmlLiteralTok(enc, literalType, ptr, end, nextTokPtr) \ … … 252 260 253 261 int XmlParseXmlDecl(int isGeneralTextEntity, 254 255 256 257 258 259 260 261 262 262 const ENCODING *enc, 263 const char *ptr, 264 const char *end, 265 const char **badPtr, 266 const char **versionPtr, 267 const char **versionEndPtr, 268 const char **encodingNamePtr, 269 const ENCODING **namedEncodingPtr, 270 int *standalonePtr); 263 271 264 272 int XmlInitEncoding(INIT_ENCODING *, const ENCODING **, const char *name); … … 271 279 ENCODING * 272 280 XmlInitUnknownEncoding(void *mem, 273 274 275 281 int *table, 282 int (*conv)(void *userData, const char *p), 283 void *userData); 276 284 277 285 int XmlParseXmlDeclNS(int isGeneralTextEntity, 278 279 280 281 282 283 284 285 286 286 const ENCODING *enc, 287 const char *ptr, 288 const char *end, 289 const char **badPtr, 290 const char **versionPtr, 291 const char **versionEndPtr, 292 const char **encodingNamePtr, 293 const ENCODING **namedEncodingPtr, 294 int *standalonePtr); 287 295 int XmlInitEncodingNS(INIT_ENCODING *, const ENCODING **, const char *name); 288 296 const ENCODING *XmlGetUtf8InternalEncodingNS(void); … … 290 298 ENCODING * 291 299 XmlInitUnknownEncodingNS(void *mem, 292 293 294 300 int *table, 301 int (*conv)(void *userData, const char *p), 302 void *userData); 295 303 #ifdef __cplusplus 296 304 } -
trunk/include/helpers/xml.h
r97 r98 630 630 631 631 typedef APIRET APIENTRY FNEXTERNALHANDLER(PXMLDOM pDom, 632 XML_Parser *pSubParser,632 XML_Parser pSubParser, 633 633 const char *pcszSystemID, 634 634 const char *pcszPublicID);
Note:
See TracChangeset
for help on using the changeset viewer.