Mercurial > pidgin.yaz
comparison libpurple/xmlnode.c @ 17889:c77daec18cbd
merge of '1703086ea650a3935367b62177a03abe60471328'
and 'fe24c1a20aadfd9b2a250a118516473028172233'
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 18 Jun 2007 02:34:17 +0000 |
parents | 905d69a0ffd7 |
children | 3fc94e7c7056 |
comparison
equal
deleted
inserted
replaced
17390:58fa76501227 | 17889:c77daec18cbd |
---|---|
517 struct _xmlnode_parser_data *xpd = user_data; | 517 struct _xmlnode_parser_data *xpd = user_data; |
518 xpd->error = TRUE; | 518 xpd->error = TRUE; |
519 } | 519 } |
520 | 520 |
521 static xmlSAXHandler xmlnode_parser_libxml = { | 521 static xmlSAXHandler xmlnode_parser_libxml = { |
522 .internalSubset = NULL, | 522 NULL, /* internalSubset */ |
523 .isStandalone = NULL, | 523 NULL, /* isStandalone */ |
524 .hasInternalSubset = NULL, | 524 NULL, /* hasInternalSubset */ |
525 .hasExternalSubset = NULL, | 525 NULL, /* hasExternalSubset */ |
526 .resolveEntity = NULL, | 526 NULL, /* resolveEntity */ |
527 .getEntity = NULL, | 527 NULL, /* getEntity */ |
528 .entityDecl = NULL, | 528 NULL, /* entityDecl */ |
529 .notationDecl = NULL, | 529 NULL, /* notationDecl */ |
530 .attributeDecl = NULL, | 530 NULL, /* attributeDecl */ |
531 .elementDecl = NULL, | 531 NULL, /* elementDecl */ |
532 .unparsedEntityDecl = NULL, | 532 NULL, /* unparsedEntityDecl */ |
533 .setDocumentLocator = NULL, | 533 NULL, /* setDocumentLocator */ |
534 .startDocument = NULL, | 534 NULL, /* startDocument */ |
535 .endDocument = NULL, | 535 NULL, /* endDocument */ |
536 .startElement = NULL, | 536 NULL, /* startElement */ |
537 .endElement = NULL, | 537 NULL, /* endElement */ |
538 .reference = NULL, | 538 NULL, /* reference */ |
539 .characters = xmlnode_parser_element_text_libxml, | 539 xmlnode_parser_element_text_libxml, /* characters */ |
540 .ignorableWhitespace = NULL, | 540 NULL, /* ignorableWhitespace */ |
541 .processingInstruction = NULL, | 541 NULL, /* processingInstruction */ |
542 .comment = NULL, | 542 NULL, /* comment */ |
543 .warning = NULL, | 543 NULL, /* warning */ |
544 .error = xmlnode_parser_error_libxml, | 544 xmlnode_parser_error_libxml, /* error */ |
545 .fatalError = NULL, | 545 NULL, /* fatalError */ |
546 .getParameterEntity = NULL, | 546 NULL, /* getParameterEntity */ |
547 .cdataBlock = NULL, | 547 NULL, /* cdataBlock */ |
548 .externalSubset = NULL, | 548 NULL, /* externalSubset */ |
549 .initialized = XML_SAX2_MAGIC, | 549 XML_SAX2_MAGIC, /* initialized */ |
550 ._private = NULL, | 550 NULL, /* _private */ |
551 .startElementNs = xmlnode_parser_element_start_libxml, | 551 xmlnode_parser_element_start_libxml, /* startElementNs */ |
552 .endElementNs = xmlnode_parser_element_end_libxml, | 552 xmlnode_parser_element_end_libxml, /* endElementNs */ |
553 .serror = NULL | 553 NULL, /* serror */ |
554 }; | 554 }; |
555 | 555 |
556 xmlnode * | 556 xmlnode * |
557 xmlnode_from_str(const char *str, gssize size) | 557 xmlnode_from_str(const char *str, gssize size) |
558 { | 558 { |