gtksourceview2 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +57 -0
- data/README +29 -0
- data/Rakefile +14 -0
- data/ext/gtksourceview2/depend +5 -0
- data/ext/gtksourceview2/extconf.rb +73 -0
- data/ext/gtksourceview2/gtksourceview2.def +2 -0
- data/ext/gtksourceview2/rbgtksourcebuffer.c +401 -0
- data/ext/gtksourceview2/rbgtksourceiter.c +110 -0
- data/ext/gtksourceview2/rbgtksourcelanguage.c +126 -0
- data/ext/gtksourceview2/rbgtksourcelanguagemanager.c +188 -0
- data/ext/gtksourceview2/rbgtksourcemain.c +38 -0
- data/ext/gtksourceview2/rbgtksourcemain.h +32 -0
- data/ext/gtksourceview2/rbgtksourcemark.c +90 -0
- data/ext/gtksourceview2/rbgtksourceprintcompositor.c +249 -0
- data/ext/gtksourceview2/rbgtksourcestyle.c +48 -0
- data/ext/gtksourceview2/rbgtksourcestylescheme.c +71 -0
- data/ext/gtksourceview2/rbgtksourcestyleschememanager.c +211 -0
- data/ext/gtksourceview2/rbgtksourceview.c +239 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtksourceview2.so +0 -0
- data/lib/1.9/gtksourceview2.so +0 -0
- data/lib/gtksourceview2.rb +2 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +33 -0
- data/test/test_source_view.rb +17 -0
- data/vendor/local/bin/libgtksourceview-2.0-0.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +67 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcebuffer.h +181 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletion.h +131 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioncontext.h +98 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioninfo.h +82 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionitem.h +71 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionprovider.h +119 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcegutter.h +106 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceiter.h +53 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguage.h +83 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguagemanager.h +86 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceprintcompositor.h +177 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyle.h +41 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestylescheme.h +91 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyleschememanager.h +90 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceundomanager.h +77 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview-typebuiltins.h +44 -0
- data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview.h +272 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +304 -0
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
- data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
- data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
- data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
- data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
- data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
- data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
- data/vendor/local/include/libxml2/libxml/dict.h +69 -0
- data/vendor/local/include/libxml2/libxml/encoding.h +226 -0
- data/vendor/local/include/libxml2/libxml/entities.h +150 -0
- data/vendor/local/include/libxml2/libxml/globals.h +502 -0
- data/vendor/local/include/libxml2/libxml/hash.h +233 -0
- data/vendor/local/include/libxml2/libxml/list.h +137 -0
- data/vendor/local/include/libxml2/libxml/nanoftp.h +143 -0
- data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
- data/vendor/local/include/libxml2/libxml/parser.h +1235 -0
- data/vendor/local/include/libxml2/libxml/parserInternals.h +611 -0
- data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
- data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
- data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
- data/vendor/local/include/libxml2/libxml/threads.h +84 -0
- data/vendor/local/include/libxml2/libxml/tree.h +1252 -0
- data/vendor/local/include/libxml2/libxml/uri.h +94 -0
- data/vendor/local/include/libxml2/libxml/valid.h +458 -0
- data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
- data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
- data/vendor/local/include/libxml2/libxml/xmlIO.h +360 -0
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
- data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
- data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
- data/vendor/local/include/libxml2/libxml/xmlreader.h +424 -0
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
- data/vendor/local/include/libxml2/libxml/xmlsave.h +87 -0
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +218 -0
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
- data/vendor/local/include/libxml2/libxml/xmlversion.h +458 -0
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +485 -0
- data/vendor/local/include/libxml2/libxml/xpath.h +546 -0
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +630 -0
- data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
- data/vendor/local/lib/libgtksourceview-2.0.dll.a +0 -0
- data/vendor/local/lib/libxml2.def +1657 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
- data/vendor/local/manifest/libxml2-dev_2.7.7-1_win32.mft +267 -0
- data/vendor/local/manifest/libxml2_2.7.7-1_win32.mft +2 -0
- data/vendor/local/share/aclocal/libxml.m4 +188 -0
- data/vendor/local/share/doc/libxml2-2.7.7/Copyright +27 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testHTML.c +880 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testSAX.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/testXPath.c +227 -0
- data/vendor/local/share/doc/libxml2-2.7.7/examples/xmllint.c +3722 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/FAQ.html +282 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/encoding.html +206 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xml +751 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xsl +174 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/book1.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/index.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-DOCBparser.html +51 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLparser.html +182 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLtree.html +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX.html +125 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX2.html +128 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-c14n.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-catalog.html +142 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-chvalid.html +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-debugXML.html +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-dict.html +49 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-encoding.html +118 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-entities.html +79 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-globals.html +152 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-hash.html +116 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-lib.html +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-list.html +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanoftp.html +92 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanohttp.html +65 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parser.html +555 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parserInternals.html +319 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-pattern.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-relaxng.html +162 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schemasInternals.html +373 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schematron.html +81 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-threads.html +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-tree.html +958 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-uri.html +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-valid.html +289 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xinclude.html +59 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xlink.html +82 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlIO.html +206 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlautomata.html +85 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlerror.html +862 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlexports.html +20 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmemory.html +107 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmodule.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlreader.html +327 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlregexp.html +143 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlsave.html +59 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemas.html +173 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemastypes.html +123 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlstring.html +108 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlunicode.html +512 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlversion.html +60 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlwriter.html +258 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpath.html +307 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpathInternals.html +394 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpointer.html +83 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io1.c +166 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io2.c +58 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/io2.res +2 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse1.c +56 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse2.c +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse3.c +60 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/parse4.c +143 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.c +107 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.res +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader2.c +122 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.c +120 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.res +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.c +122 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.res +3 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test1.xml +1 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test2.xml +13 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/test3.xml +39 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/testWriter.c +1198 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.c +94 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.res +4 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.c +118 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.res +18 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tst.xml +7 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apa.html +8 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apb.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apc.html +82 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apd.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ape.html +78 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apf.html +67 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apg.html +75 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/aph.html +76 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/api.html +4 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s02.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s03.html +47 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s04.html +54 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s05.html +55 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s06.html +35 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s07.html +30 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s08.html +38 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s09.html +63 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddattribute.c +64 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddkeyword.c +75 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeconvert.c +73 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includegetattribute.c +72 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includekeyword.c +79 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includexpath.c +74 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/index.html +14 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ix01.html +1 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/xmltutorial.pdf +1336 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/writer.xml +2 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xml.html +5344 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.c +250 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.res +5 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.c +190 -0
- data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.res +30 -0
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +371 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +119 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +208 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +177 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +762 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +673 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1542 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +337 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +950 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +560 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +132 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +299 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +277 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +474 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +529 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3529 -0
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/R.lang +128 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/bibtex.lang +92 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/c.lang +272 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/chdr.lang +42 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cmake.lang +407 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cpp.lang +106 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/csharp.lang +280 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/css.lang +516 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/cuda.lang +288 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/d.lang +295 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/def.lang +268 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/desktop.lang +299 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/erlang.lang +248 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fortran.lang +511 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/fsharp.lang +322 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/haskell.lang +226 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/html.lang +160 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/java.lang +208 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/javascript.lang +334 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/language2.rng +490 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/latex.lang +298 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/lua.lang +156 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/m4.lang +803 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/makefile.lang +195 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/mallard.lang +122 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/msil.lang +490 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ocaml.lang +299 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/octave.lang +238 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/pascal.lang +264 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/perl.lang +1017 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/php.lang +329 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/python.lang +390 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/rpmspec.lang +204 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/ruby.lang +588 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sparql.lang +447 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/styles.rng +138 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vala.lang +227 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vbnet.lang +244 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/verilog.lang +249 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/xslt.lang +107 -0
- data/vendor/local/share/gtksourceview-2.0/language-specs/yacc.lang +172 -0
- data/vendor/local/share/gtksourceview-2.0/styles/classic.xml +99 -0
- data/vendor/local/share/gtksourceview-2.0/styles/cobalt.xml +134 -0
- data/vendor/local/share/gtksourceview-2.0/styles/kate.xml +155 -0
- data/vendor/local/share/gtksourceview-2.0/styles/oblivion.xml +112 -0
- data/vendor/local/share/gtksourceview-2.0/styles/styles.rng +138 -0
- data/vendor/local/share/gtksourceview-2.0/styles/tango.xml +116 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
- data/vendor/local/share/man/man1/xml2-config.1 +31 -0
- data/vendor/local/share/man/man1/xmlcatalog.1 +229 -0
- data/vendor/local/share/man/man1/xmllint.1 +427 -0
- data/vendor/local/share/man/man3/libxml.3 +71 -0
- data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.log +1244 -0
- data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.sh +66 -0
- metadata +567 -0
@@ -0,0 +1,217 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: Tree debugging APIs
|
3
|
+
* Description: Interfaces to a set of routines used for debugging the tree
|
4
|
+
* produced by the XML parser.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __DEBUG_XML__
|
12
|
+
#define __DEBUG_XML__
|
13
|
+
#include <stdio.h>
|
14
|
+
#include <libxml/xmlversion.h>
|
15
|
+
#include <libxml/tree.h>
|
16
|
+
|
17
|
+
#ifdef LIBXML_DEBUG_ENABLED
|
18
|
+
|
19
|
+
#include <libxml/xpath.h>
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
#endif
|
24
|
+
|
25
|
+
/*
|
26
|
+
* The standard Dump routines.
|
27
|
+
*/
|
28
|
+
XMLPUBFUN void XMLCALL
|
29
|
+
xmlDebugDumpString (FILE *output,
|
30
|
+
const xmlChar *str);
|
31
|
+
XMLPUBFUN void XMLCALL
|
32
|
+
xmlDebugDumpAttr (FILE *output,
|
33
|
+
xmlAttrPtr attr,
|
34
|
+
int depth);
|
35
|
+
XMLPUBFUN void XMLCALL
|
36
|
+
xmlDebugDumpAttrList (FILE *output,
|
37
|
+
xmlAttrPtr attr,
|
38
|
+
int depth);
|
39
|
+
XMLPUBFUN void XMLCALL
|
40
|
+
xmlDebugDumpOneNode (FILE *output,
|
41
|
+
xmlNodePtr node,
|
42
|
+
int depth);
|
43
|
+
XMLPUBFUN void XMLCALL
|
44
|
+
xmlDebugDumpNode (FILE *output,
|
45
|
+
xmlNodePtr node,
|
46
|
+
int depth);
|
47
|
+
XMLPUBFUN void XMLCALL
|
48
|
+
xmlDebugDumpNodeList (FILE *output,
|
49
|
+
xmlNodePtr node,
|
50
|
+
int depth);
|
51
|
+
XMLPUBFUN void XMLCALL
|
52
|
+
xmlDebugDumpDocumentHead(FILE *output,
|
53
|
+
xmlDocPtr doc);
|
54
|
+
XMLPUBFUN void XMLCALL
|
55
|
+
xmlDebugDumpDocument (FILE *output,
|
56
|
+
xmlDocPtr doc);
|
57
|
+
XMLPUBFUN void XMLCALL
|
58
|
+
xmlDebugDumpDTD (FILE *output,
|
59
|
+
xmlDtdPtr dtd);
|
60
|
+
XMLPUBFUN void XMLCALL
|
61
|
+
xmlDebugDumpEntities (FILE *output,
|
62
|
+
xmlDocPtr doc);
|
63
|
+
|
64
|
+
/****************************************************************
|
65
|
+
* *
|
66
|
+
* Checking routines *
|
67
|
+
* *
|
68
|
+
****************************************************************/
|
69
|
+
|
70
|
+
XMLPUBFUN int XMLCALL
|
71
|
+
xmlDebugCheckDocument (FILE * output,
|
72
|
+
xmlDocPtr doc);
|
73
|
+
|
74
|
+
/****************************************************************
|
75
|
+
* *
|
76
|
+
* XML shell helpers *
|
77
|
+
* *
|
78
|
+
****************************************************************/
|
79
|
+
|
80
|
+
XMLPUBFUN void XMLCALL
|
81
|
+
xmlLsOneNode (FILE *output, xmlNodePtr node);
|
82
|
+
XMLPUBFUN int XMLCALL
|
83
|
+
xmlLsCountNode (xmlNodePtr node);
|
84
|
+
|
85
|
+
XMLPUBFUN const char * XMLCALL
|
86
|
+
xmlBoolToText (int boolval);
|
87
|
+
|
88
|
+
/****************************************************************
|
89
|
+
* *
|
90
|
+
* The XML shell related structures and functions *
|
91
|
+
* *
|
92
|
+
****************************************************************/
|
93
|
+
|
94
|
+
#ifdef LIBXML_XPATH_ENABLED
|
95
|
+
/**
|
96
|
+
* xmlShellReadlineFunc:
|
97
|
+
* @prompt: a string prompt
|
98
|
+
*
|
99
|
+
* This is a generic signature for the XML shell input function.
|
100
|
+
*
|
101
|
+
* Returns a string which will be freed by the Shell.
|
102
|
+
*/
|
103
|
+
typedef char * (* xmlShellReadlineFunc)(char *prompt);
|
104
|
+
|
105
|
+
/**
|
106
|
+
* xmlShellCtxt:
|
107
|
+
*
|
108
|
+
* A debugging shell context.
|
109
|
+
* TODO: add the defined function tables.
|
110
|
+
*/
|
111
|
+
typedef struct _xmlShellCtxt xmlShellCtxt;
|
112
|
+
typedef xmlShellCtxt *xmlShellCtxtPtr;
|
113
|
+
struct _xmlShellCtxt {
|
114
|
+
char *filename;
|
115
|
+
xmlDocPtr doc;
|
116
|
+
xmlNodePtr node;
|
117
|
+
xmlXPathContextPtr pctxt;
|
118
|
+
int loaded;
|
119
|
+
FILE *output;
|
120
|
+
xmlShellReadlineFunc input;
|
121
|
+
};
|
122
|
+
|
123
|
+
/**
|
124
|
+
* xmlShellCmd:
|
125
|
+
* @ctxt: a shell context
|
126
|
+
* @arg: a string argument
|
127
|
+
* @node: a first node
|
128
|
+
* @node2: a second node
|
129
|
+
*
|
130
|
+
* This is a generic signature for the XML shell functions.
|
131
|
+
*
|
132
|
+
* Returns an int, negative returns indicating errors.
|
133
|
+
*/
|
134
|
+
typedef int (* xmlShellCmd) (xmlShellCtxtPtr ctxt,
|
135
|
+
char *arg,
|
136
|
+
xmlNodePtr node,
|
137
|
+
xmlNodePtr node2);
|
138
|
+
|
139
|
+
XMLPUBFUN void XMLCALL
|
140
|
+
xmlShellPrintXPathError (int errorType,
|
141
|
+
const char *arg);
|
142
|
+
XMLPUBFUN void XMLCALL
|
143
|
+
xmlShellPrintXPathResult(xmlXPathObjectPtr list);
|
144
|
+
XMLPUBFUN int XMLCALL
|
145
|
+
xmlShellList (xmlShellCtxtPtr ctxt,
|
146
|
+
char *arg,
|
147
|
+
xmlNodePtr node,
|
148
|
+
xmlNodePtr node2);
|
149
|
+
XMLPUBFUN int XMLCALL
|
150
|
+
xmlShellBase (xmlShellCtxtPtr ctxt,
|
151
|
+
char *arg,
|
152
|
+
xmlNodePtr node,
|
153
|
+
xmlNodePtr node2);
|
154
|
+
XMLPUBFUN int XMLCALL
|
155
|
+
xmlShellDir (xmlShellCtxtPtr ctxt,
|
156
|
+
char *arg,
|
157
|
+
xmlNodePtr node,
|
158
|
+
xmlNodePtr node2);
|
159
|
+
XMLPUBFUN int XMLCALL
|
160
|
+
xmlShellLoad (xmlShellCtxtPtr ctxt,
|
161
|
+
char *filename,
|
162
|
+
xmlNodePtr node,
|
163
|
+
xmlNodePtr node2);
|
164
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
165
|
+
XMLPUBFUN void XMLCALL
|
166
|
+
xmlShellPrintNode (xmlNodePtr node);
|
167
|
+
XMLPUBFUN int XMLCALL
|
168
|
+
xmlShellCat (xmlShellCtxtPtr ctxt,
|
169
|
+
char *arg,
|
170
|
+
xmlNodePtr node,
|
171
|
+
xmlNodePtr node2);
|
172
|
+
XMLPUBFUN int XMLCALL
|
173
|
+
xmlShellWrite (xmlShellCtxtPtr ctxt,
|
174
|
+
char *filename,
|
175
|
+
xmlNodePtr node,
|
176
|
+
xmlNodePtr node2);
|
177
|
+
XMLPUBFUN int XMLCALL
|
178
|
+
xmlShellSave (xmlShellCtxtPtr ctxt,
|
179
|
+
char *filename,
|
180
|
+
xmlNodePtr node,
|
181
|
+
xmlNodePtr node2);
|
182
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
183
|
+
#ifdef LIBXML_VALID_ENABLED
|
184
|
+
XMLPUBFUN int XMLCALL
|
185
|
+
xmlShellValidate (xmlShellCtxtPtr ctxt,
|
186
|
+
char *dtd,
|
187
|
+
xmlNodePtr node,
|
188
|
+
xmlNodePtr node2);
|
189
|
+
#endif /* LIBXML_VALID_ENABLED */
|
190
|
+
XMLPUBFUN int XMLCALL
|
191
|
+
xmlShellDu (xmlShellCtxtPtr ctxt,
|
192
|
+
char *arg,
|
193
|
+
xmlNodePtr tree,
|
194
|
+
xmlNodePtr node2);
|
195
|
+
XMLPUBFUN int XMLCALL
|
196
|
+
xmlShellPwd (xmlShellCtxtPtr ctxt,
|
197
|
+
char *buffer,
|
198
|
+
xmlNodePtr node,
|
199
|
+
xmlNodePtr node2);
|
200
|
+
|
201
|
+
/*
|
202
|
+
* The Shell interface.
|
203
|
+
*/
|
204
|
+
XMLPUBFUN void XMLCALL
|
205
|
+
xmlShell (xmlDocPtr doc,
|
206
|
+
char *filename,
|
207
|
+
xmlShellReadlineFunc input,
|
208
|
+
FILE *output);
|
209
|
+
|
210
|
+
#endif /* LIBXML_XPATH_ENABLED */
|
211
|
+
|
212
|
+
#ifdef __cplusplus
|
213
|
+
}
|
214
|
+
#endif
|
215
|
+
|
216
|
+
#endif /* LIBXML_DEBUG_ENABLED */
|
217
|
+
#endif /* __DEBUG_XML__ */
|
@@ -0,0 +1,69 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: string dictionnary
|
3
|
+
* Description: dictionary of reusable strings, just used to avoid allocation
|
4
|
+
* and freeing operations.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __XML_DICT_H__
|
12
|
+
#define __XML_DICT_H__
|
13
|
+
|
14
|
+
#include <libxml/xmlversion.h>
|
15
|
+
#include <libxml/tree.h>
|
16
|
+
|
17
|
+
#ifdef __cplusplus
|
18
|
+
extern "C" {
|
19
|
+
#endif
|
20
|
+
|
21
|
+
/*
|
22
|
+
* The dictionnary.
|
23
|
+
*/
|
24
|
+
typedef struct _xmlDict xmlDict;
|
25
|
+
typedef xmlDict *xmlDictPtr;
|
26
|
+
|
27
|
+
/*
|
28
|
+
* Constructor and destructor.
|
29
|
+
*/
|
30
|
+
XMLPUBFUN xmlDictPtr XMLCALL
|
31
|
+
xmlDictCreate (void);
|
32
|
+
XMLPUBFUN xmlDictPtr XMLCALL
|
33
|
+
xmlDictCreateSub(xmlDictPtr sub);
|
34
|
+
XMLPUBFUN int XMLCALL
|
35
|
+
xmlDictReference(xmlDictPtr dict);
|
36
|
+
XMLPUBFUN void XMLCALL
|
37
|
+
xmlDictFree (xmlDictPtr dict);
|
38
|
+
|
39
|
+
/*
|
40
|
+
* Lookup of entry in the dictionnary.
|
41
|
+
*/
|
42
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
43
|
+
xmlDictLookup (xmlDictPtr dict,
|
44
|
+
const xmlChar *name,
|
45
|
+
int len);
|
46
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
47
|
+
xmlDictExists (xmlDictPtr dict,
|
48
|
+
const xmlChar *name,
|
49
|
+
int len);
|
50
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
51
|
+
xmlDictQLookup (xmlDictPtr dict,
|
52
|
+
const xmlChar *prefix,
|
53
|
+
const xmlChar *name);
|
54
|
+
XMLPUBFUN int XMLCALL
|
55
|
+
xmlDictOwns (xmlDictPtr dict,
|
56
|
+
const xmlChar *str);
|
57
|
+
XMLPUBFUN int XMLCALL
|
58
|
+
xmlDictSize (xmlDictPtr dict);
|
59
|
+
|
60
|
+
/*
|
61
|
+
* Cleanup function
|
62
|
+
*/
|
63
|
+
XMLPUBFUN void XMLCALL
|
64
|
+
xmlDictCleanup (void);
|
65
|
+
|
66
|
+
#ifdef __cplusplus
|
67
|
+
}
|
68
|
+
#endif
|
69
|
+
#endif /* ! __XML_DICT_H__ */
|
@@ -0,0 +1,226 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: interface for the encoding conversion functions
|
3
|
+
* Description: interface for the encoding conversion functions needed for
|
4
|
+
* XML basic encoding and iconv() support.
|
5
|
+
*
|
6
|
+
* Related specs are
|
7
|
+
* rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies
|
8
|
+
* [ISO-10646] UTF-8 and UTF-16 in Annexes
|
9
|
+
* [ISO-8859-1] ISO Latin-1 characters codes.
|
10
|
+
* [UNICODE] The Unicode Consortium, "The Unicode Standard --
|
11
|
+
* Worldwide Character Encoding -- Version 1.0", Addison-
|
12
|
+
* Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is
|
13
|
+
* described in Unicode Technical Report #4.
|
14
|
+
* [US-ASCII] Coded Character Set--7-bit American Standard Code for
|
15
|
+
* Information Interchange, ANSI X3.4-1986.
|
16
|
+
*
|
17
|
+
* Copy: See Copyright for the status of this software.
|
18
|
+
*
|
19
|
+
* Author: Daniel Veillard
|
20
|
+
*/
|
21
|
+
|
22
|
+
#ifndef __XML_CHAR_ENCODING_H__
|
23
|
+
#define __XML_CHAR_ENCODING_H__
|
24
|
+
|
25
|
+
#include <libxml/xmlversion.h>
|
26
|
+
|
27
|
+
#ifdef LIBXML_ICONV_ENABLED
|
28
|
+
#include <iconv.h>
|
29
|
+
#endif
|
30
|
+
#ifdef __cplusplus
|
31
|
+
extern "C" {
|
32
|
+
#endif
|
33
|
+
|
34
|
+
/*
|
35
|
+
* xmlCharEncoding:
|
36
|
+
*
|
37
|
+
* Predefined values for some standard encodings.
|
38
|
+
* Libxml does not do beforehand translation on UTF8 and ISOLatinX.
|
39
|
+
* It also supports ASCII, ISO-8859-1, and UTF16 (LE and BE) by default.
|
40
|
+
*
|
41
|
+
* Anything else would have to be translated to UTF8 before being
|
42
|
+
* given to the parser itself. The BOM for UTF16 and the encoding
|
43
|
+
* declaration are looked at and a converter is looked for at that
|
44
|
+
* point. If not found the parser stops here as asked by the XML REC. A
|
45
|
+
* converter can be registered by the user using xmlRegisterCharEncodingHandler
|
46
|
+
* but the current form doesn't allow stateful transcoding (a serious
|
47
|
+
* problem agreed !). If iconv has been found it will be used
|
48
|
+
* automatically and allow stateful transcoding, the simplest is then
|
49
|
+
* to be sure to enable iconv and to provide iconv libs for the encoding
|
50
|
+
* support needed.
|
51
|
+
*
|
52
|
+
* Note that the generic "UTF-16" is not a predefined value. Instead, only
|
53
|
+
* the specific UTF-16LE and UTF-16BE are present.
|
54
|
+
*/
|
55
|
+
typedef enum {
|
56
|
+
XML_CHAR_ENCODING_ERROR= -1, /* No char encoding detected */
|
57
|
+
XML_CHAR_ENCODING_NONE= 0, /* No char encoding detected */
|
58
|
+
XML_CHAR_ENCODING_UTF8= 1, /* UTF-8 */
|
59
|
+
XML_CHAR_ENCODING_UTF16LE= 2, /* UTF-16 little endian */
|
60
|
+
XML_CHAR_ENCODING_UTF16BE= 3, /* UTF-16 big endian */
|
61
|
+
XML_CHAR_ENCODING_UCS4LE= 4, /* UCS-4 little endian */
|
62
|
+
XML_CHAR_ENCODING_UCS4BE= 5, /* UCS-4 big endian */
|
63
|
+
XML_CHAR_ENCODING_EBCDIC= 6, /* EBCDIC uh! */
|
64
|
+
XML_CHAR_ENCODING_UCS4_2143=7, /* UCS-4 unusual ordering */
|
65
|
+
XML_CHAR_ENCODING_UCS4_3412=8, /* UCS-4 unusual ordering */
|
66
|
+
XML_CHAR_ENCODING_UCS2= 9, /* UCS-2 */
|
67
|
+
XML_CHAR_ENCODING_8859_1= 10,/* ISO-8859-1 ISO Latin 1 */
|
68
|
+
XML_CHAR_ENCODING_8859_2= 11,/* ISO-8859-2 ISO Latin 2 */
|
69
|
+
XML_CHAR_ENCODING_8859_3= 12,/* ISO-8859-3 */
|
70
|
+
XML_CHAR_ENCODING_8859_4= 13,/* ISO-8859-4 */
|
71
|
+
XML_CHAR_ENCODING_8859_5= 14,/* ISO-8859-5 */
|
72
|
+
XML_CHAR_ENCODING_8859_6= 15,/* ISO-8859-6 */
|
73
|
+
XML_CHAR_ENCODING_8859_7= 16,/* ISO-8859-7 */
|
74
|
+
XML_CHAR_ENCODING_8859_8= 17,/* ISO-8859-8 */
|
75
|
+
XML_CHAR_ENCODING_8859_9= 18,/* ISO-8859-9 */
|
76
|
+
XML_CHAR_ENCODING_2022_JP= 19,/* ISO-2022-JP */
|
77
|
+
XML_CHAR_ENCODING_SHIFT_JIS=20,/* Shift_JIS */
|
78
|
+
XML_CHAR_ENCODING_EUC_JP= 21,/* EUC-JP */
|
79
|
+
XML_CHAR_ENCODING_ASCII= 22 /* pure ASCII */
|
80
|
+
} xmlCharEncoding;
|
81
|
+
|
82
|
+
/**
|
83
|
+
* xmlCharEncodingInputFunc:
|
84
|
+
* @out: a pointer to an array of bytes to store the UTF-8 result
|
85
|
+
* @outlen: the length of @out
|
86
|
+
* @in: a pointer to an array of chars in the original encoding
|
87
|
+
* @inlen: the length of @in
|
88
|
+
*
|
89
|
+
* Take a block of chars in the original encoding and try to convert
|
90
|
+
* it to an UTF-8 block of chars out.
|
91
|
+
*
|
92
|
+
* Returns the number of bytes written, -1 if lack of space, or -2
|
93
|
+
* if the transcoding failed.
|
94
|
+
* The value of @inlen after return is the number of octets consumed
|
95
|
+
* if the return value is positive, else unpredictiable.
|
96
|
+
* The value of @outlen after return is the number of octets consumed.
|
97
|
+
*/
|
98
|
+
typedef int (* xmlCharEncodingInputFunc)(unsigned char *out, int *outlen,
|
99
|
+
const unsigned char *in, int *inlen);
|
100
|
+
|
101
|
+
|
102
|
+
/**
|
103
|
+
* xmlCharEncodingOutputFunc:
|
104
|
+
* @out: a pointer to an array of bytes to store the result
|
105
|
+
* @outlen: the length of @out
|
106
|
+
* @in: a pointer to an array of UTF-8 chars
|
107
|
+
* @inlen: the length of @in
|
108
|
+
*
|
109
|
+
* Take a block of UTF-8 chars in and try to convert it to another
|
110
|
+
* encoding.
|
111
|
+
* Note: a first call designed to produce heading info is called with
|
112
|
+
* in = NULL. If stateful this should also initialize the encoder state.
|
113
|
+
*
|
114
|
+
* Returns the number of bytes written, -1 if lack of space, or -2
|
115
|
+
* if the transcoding failed.
|
116
|
+
* The value of @inlen after return is the number of octets consumed
|
117
|
+
* if the return value is positive, else unpredictiable.
|
118
|
+
* The value of @outlen after return is the number of octets produced.
|
119
|
+
*/
|
120
|
+
typedef int (* xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen,
|
121
|
+
const unsigned char *in, int *inlen);
|
122
|
+
|
123
|
+
|
124
|
+
/*
|
125
|
+
* Block defining the handlers for non UTF-8 encodings.
|
126
|
+
* If iconv is supported, there are two extra fields.
|
127
|
+
*/
|
128
|
+
|
129
|
+
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
|
130
|
+
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
|
131
|
+
struct _xmlCharEncodingHandler {
|
132
|
+
char *name;
|
133
|
+
xmlCharEncodingInputFunc input;
|
134
|
+
xmlCharEncodingOutputFunc output;
|
135
|
+
#ifdef LIBXML_ICONV_ENABLED
|
136
|
+
iconv_t iconv_in;
|
137
|
+
iconv_t iconv_out;
|
138
|
+
#endif /* LIBXML_ICONV_ENABLED */
|
139
|
+
};
|
140
|
+
|
141
|
+
#ifdef __cplusplus
|
142
|
+
}
|
143
|
+
#endif
|
144
|
+
#include <libxml/tree.h>
|
145
|
+
#ifdef __cplusplus
|
146
|
+
extern "C" {
|
147
|
+
#endif
|
148
|
+
|
149
|
+
/*
|
150
|
+
* Interfaces for encoding handlers.
|
151
|
+
*/
|
152
|
+
XMLPUBFUN void XMLCALL
|
153
|
+
xmlInitCharEncodingHandlers (void);
|
154
|
+
XMLPUBFUN void XMLCALL
|
155
|
+
xmlCleanupCharEncodingHandlers (void);
|
156
|
+
XMLPUBFUN void XMLCALL
|
157
|
+
xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler);
|
158
|
+
XMLPUBFUN xmlCharEncodingHandlerPtr XMLCALL
|
159
|
+
xmlGetCharEncodingHandler (xmlCharEncoding enc);
|
160
|
+
XMLPUBFUN xmlCharEncodingHandlerPtr XMLCALL
|
161
|
+
xmlFindCharEncodingHandler (const char *name);
|
162
|
+
XMLPUBFUN xmlCharEncodingHandlerPtr XMLCALL
|
163
|
+
xmlNewCharEncodingHandler (const char *name,
|
164
|
+
xmlCharEncodingInputFunc input,
|
165
|
+
xmlCharEncodingOutputFunc output);
|
166
|
+
|
167
|
+
/*
|
168
|
+
* Interfaces for encoding names and aliases.
|
169
|
+
*/
|
170
|
+
XMLPUBFUN int XMLCALL
|
171
|
+
xmlAddEncodingAlias (const char *name,
|
172
|
+
const char *alias);
|
173
|
+
XMLPUBFUN int XMLCALL
|
174
|
+
xmlDelEncodingAlias (const char *alias);
|
175
|
+
XMLPUBFUN const char * XMLCALL
|
176
|
+
xmlGetEncodingAlias (const char *alias);
|
177
|
+
XMLPUBFUN void XMLCALL
|
178
|
+
xmlCleanupEncodingAliases (void);
|
179
|
+
XMLPUBFUN xmlCharEncoding XMLCALL
|
180
|
+
xmlParseCharEncoding (const char *name);
|
181
|
+
XMLPUBFUN const char * XMLCALL
|
182
|
+
xmlGetCharEncodingName (xmlCharEncoding enc);
|
183
|
+
|
184
|
+
/*
|
185
|
+
* Interfaces directly used by the parsers.
|
186
|
+
*/
|
187
|
+
XMLPUBFUN xmlCharEncoding XMLCALL
|
188
|
+
xmlDetectCharEncoding (const unsigned char *in,
|
189
|
+
int len);
|
190
|
+
|
191
|
+
XMLPUBFUN int XMLCALL
|
192
|
+
xmlCharEncOutFunc (xmlCharEncodingHandler *handler,
|
193
|
+
xmlBufferPtr out,
|
194
|
+
xmlBufferPtr in);
|
195
|
+
|
196
|
+
XMLPUBFUN int XMLCALL
|
197
|
+
xmlCharEncInFunc (xmlCharEncodingHandler *handler,
|
198
|
+
xmlBufferPtr out,
|
199
|
+
xmlBufferPtr in);
|
200
|
+
XMLPUBFUN int XMLCALL
|
201
|
+
xmlCharEncFirstLine (xmlCharEncodingHandler *handler,
|
202
|
+
xmlBufferPtr out,
|
203
|
+
xmlBufferPtr in);
|
204
|
+
XMLPUBFUN int XMLCALL
|
205
|
+
xmlCharEncCloseFunc (xmlCharEncodingHandler *handler);
|
206
|
+
|
207
|
+
/*
|
208
|
+
* Export a few useful functions
|
209
|
+
*/
|
210
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
211
|
+
XMLPUBFUN int XMLCALL
|
212
|
+
UTF8Toisolat1 (unsigned char *out,
|
213
|
+
int *outlen,
|
214
|
+
const unsigned char *in,
|
215
|
+
int *inlen);
|
216
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
217
|
+
XMLPUBFUN int XMLCALL
|
218
|
+
isolat1ToUTF8 (unsigned char *out,
|
219
|
+
int *outlen,
|
220
|
+
const unsigned char *in,
|
221
|
+
int *inlen);
|
222
|
+
#ifdef __cplusplus
|
223
|
+
}
|
224
|
+
#endif
|
225
|
+
|
226
|
+
#endif /* __XML_CHAR_ENCODING_H__ */
|
@@ -0,0 +1,150 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: interface for the XML entities handling
|
3
|
+
* Description: this module provides some of the entity API needed
|
4
|
+
* for the parser and applications.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __XML_ENTITIES_H__
|
12
|
+
#define __XML_ENTITIES_H__
|
13
|
+
|
14
|
+
#include <libxml/xmlversion.h>
|
15
|
+
#include <libxml/tree.h>
|
16
|
+
|
17
|
+
#ifdef __cplusplus
|
18
|
+
extern "C" {
|
19
|
+
#endif
|
20
|
+
|
21
|
+
/*
|
22
|
+
* The different valid entity types.
|
23
|
+
*/
|
24
|
+
typedef enum {
|
25
|
+
XML_INTERNAL_GENERAL_ENTITY = 1,
|
26
|
+
XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
|
27
|
+
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
|
28
|
+
XML_INTERNAL_PARAMETER_ENTITY = 4,
|
29
|
+
XML_EXTERNAL_PARAMETER_ENTITY = 5,
|
30
|
+
XML_INTERNAL_PREDEFINED_ENTITY = 6
|
31
|
+
} xmlEntityType;
|
32
|
+
|
33
|
+
/*
|
34
|
+
* An unit of storage for an entity, contains the string, the value
|
35
|
+
* and the linkind data needed for the linking in the hash table.
|
36
|
+
*/
|
37
|
+
|
38
|
+
struct _xmlEntity {
|
39
|
+
void *_private; /* application data */
|
40
|
+
xmlElementType type; /* XML_ENTITY_DECL, must be second ! */
|
41
|
+
const xmlChar *name; /* Entity name */
|
42
|
+
struct _xmlNode *children; /* First child link */
|
43
|
+
struct _xmlNode *last; /* Last child link */
|
44
|
+
struct _xmlDtd *parent; /* -> DTD */
|
45
|
+
struct _xmlNode *next; /* next sibling link */
|
46
|
+
struct _xmlNode *prev; /* previous sibling link */
|
47
|
+
struct _xmlDoc *doc; /* the containing document */
|
48
|
+
|
49
|
+
xmlChar *orig; /* content without ref substitution */
|
50
|
+
xmlChar *content; /* content or ndata if unparsed */
|
51
|
+
int length; /* the content length */
|
52
|
+
xmlEntityType etype; /* The entity type */
|
53
|
+
const xmlChar *ExternalID; /* External identifier for PUBLIC */
|
54
|
+
const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */
|
55
|
+
|
56
|
+
struct _xmlEntity *nexte; /* unused */
|
57
|
+
const xmlChar *URI; /* the full URI as computed */
|
58
|
+
int owner; /* does the entity own the childrens */
|
59
|
+
int checked; /* was the entity content checked */
|
60
|
+
/* this is also used to count entites
|
61
|
+
* references done from that entity */
|
62
|
+
};
|
63
|
+
|
64
|
+
/*
|
65
|
+
* All entities are stored in an hash table.
|
66
|
+
* There is 2 separate hash tables for global and parameter entities.
|
67
|
+
*/
|
68
|
+
|
69
|
+
typedef struct _xmlHashTable xmlEntitiesTable;
|
70
|
+
typedef xmlEntitiesTable *xmlEntitiesTablePtr;
|
71
|
+
|
72
|
+
/*
|
73
|
+
* External functions:
|
74
|
+
*/
|
75
|
+
|
76
|
+
#ifdef LIBXML_LEGACY_ENABLED
|
77
|
+
XMLPUBFUN void XMLCALL
|
78
|
+
xmlInitializePredefinedEntities (void);
|
79
|
+
#endif /* LIBXML_LEGACY_ENABLED */
|
80
|
+
|
81
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
82
|
+
xmlNewEntity (xmlDocPtr doc,
|
83
|
+
const xmlChar *name,
|
84
|
+
int type,
|
85
|
+
const xmlChar *ExternalID,
|
86
|
+
const xmlChar *SystemID,
|
87
|
+
const xmlChar *content);
|
88
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
89
|
+
xmlAddDocEntity (xmlDocPtr doc,
|
90
|
+
const xmlChar *name,
|
91
|
+
int type,
|
92
|
+
const xmlChar *ExternalID,
|
93
|
+
const xmlChar *SystemID,
|
94
|
+
const xmlChar *content);
|
95
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
96
|
+
xmlAddDtdEntity (xmlDocPtr doc,
|
97
|
+
const xmlChar *name,
|
98
|
+
int type,
|
99
|
+
const xmlChar *ExternalID,
|
100
|
+
const xmlChar *SystemID,
|
101
|
+
const xmlChar *content);
|
102
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
103
|
+
xmlGetPredefinedEntity (const xmlChar *name);
|
104
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
105
|
+
xmlGetDocEntity (xmlDocPtr doc,
|
106
|
+
const xmlChar *name);
|
107
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
108
|
+
xmlGetDtdEntity (xmlDocPtr doc,
|
109
|
+
const xmlChar *name);
|
110
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
111
|
+
xmlGetParameterEntity (xmlDocPtr doc,
|
112
|
+
const xmlChar *name);
|
113
|
+
#ifdef LIBXML_LEGACY_ENABLED
|
114
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
115
|
+
xmlEncodeEntities (xmlDocPtr doc,
|
116
|
+
const xmlChar *input);
|
117
|
+
#endif /* LIBXML_LEGACY_ENABLED */
|
118
|
+
XMLPUBFUN xmlChar * XMLCALL
|
119
|
+
xmlEncodeEntitiesReentrant(xmlDocPtr doc,
|
120
|
+
const xmlChar *input);
|
121
|
+
XMLPUBFUN xmlChar * XMLCALL
|
122
|
+
xmlEncodeSpecialChars (xmlDocPtr doc,
|
123
|
+
const xmlChar *input);
|
124
|
+
XMLPUBFUN xmlEntitiesTablePtr XMLCALL
|
125
|
+
xmlCreateEntitiesTable (void);
|
126
|
+
#ifdef LIBXML_TREE_ENABLED
|
127
|
+
XMLPUBFUN xmlEntitiesTablePtr XMLCALL
|
128
|
+
xmlCopyEntitiesTable (xmlEntitiesTablePtr table);
|
129
|
+
#endif /* LIBXML_TREE_ENABLED */
|
130
|
+
XMLPUBFUN void XMLCALL
|
131
|
+
xmlFreeEntitiesTable (xmlEntitiesTablePtr table);
|
132
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
133
|
+
XMLPUBFUN void XMLCALL
|
134
|
+
xmlDumpEntitiesTable (xmlBufferPtr buf,
|
135
|
+
xmlEntitiesTablePtr table);
|
136
|
+
XMLPUBFUN void XMLCALL
|
137
|
+
xmlDumpEntityDecl (xmlBufferPtr buf,
|
138
|
+
xmlEntityPtr ent);
|
139
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
140
|
+
#ifdef LIBXML_LEGACY_ENABLED
|
141
|
+
XMLPUBFUN void XMLCALL
|
142
|
+
xmlCleanupPredefinedEntities(void);
|
143
|
+
#endif /* LIBXML_LEGACY_ENABLED */
|
144
|
+
|
145
|
+
|
146
|
+
#ifdef __cplusplus
|
147
|
+
}
|
148
|
+
#endif
|
149
|
+
|
150
|
+
# endif /* __XML_ENTITIES_H__ */
|