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,424 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: the XMLReader implementation
|
3
|
+
* Description: API of the XML streaming API based on C# interfaces.
|
4
|
+
*
|
5
|
+
* Copy: See Copyright for the status of this software.
|
6
|
+
*
|
7
|
+
* Author: Daniel Veillard
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef __XML_XMLREADER_H__
|
11
|
+
#define __XML_XMLREADER_H__
|
12
|
+
|
13
|
+
#include <libxml/xmlversion.h>
|
14
|
+
#include <libxml/tree.h>
|
15
|
+
#include <libxml/xmlIO.h>
|
16
|
+
#ifdef LIBXML_SCHEMAS_ENABLED
|
17
|
+
#include <libxml/relaxng.h>
|
18
|
+
#include <libxml/xmlschemas.h>
|
19
|
+
#endif
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
#endif
|
24
|
+
|
25
|
+
/**
|
26
|
+
* xmlParserSeverities:
|
27
|
+
*
|
28
|
+
* How severe an error callback is when the per-reader error callback API
|
29
|
+
* is used.
|
30
|
+
*/
|
31
|
+
typedef enum {
|
32
|
+
XML_PARSER_SEVERITY_VALIDITY_WARNING = 1,
|
33
|
+
XML_PARSER_SEVERITY_VALIDITY_ERROR = 2,
|
34
|
+
XML_PARSER_SEVERITY_WARNING = 3,
|
35
|
+
XML_PARSER_SEVERITY_ERROR = 4
|
36
|
+
} xmlParserSeverities;
|
37
|
+
|
38
|
+
#ifdef LIBXML_READER_ENABLED
|
39
|
+
|
40
|
+
/**
|
41
|
+
* xmlTextReaderMode:
|
42
|
+
*
|
43
|
+
* Internal state values for the reader.
|
44
|
+
*/
|
45
|
+
typedef enum {
|
46
|
+
XML_TEXTREADER_MODE_INITIAL = 0,
|
47
|
+
XML_TEXTREADER_MODE_INTERACTIVE = 1,
|
48
|
+
XML_TEXTREADER_MODE_ERROR = 2,
|
49
|
+
XML_TEXTREADER_MODE_EOF =3,
|
50
|
+
XML_TEXTREADER_MODE_CLOSED = 4,
|
51
|
+
XML_TEXTREADER_MODE_READING = 5
|
52
|
+
} xmlTextReaderMode;
|
53
|
+
|
54
|
+
/**
|
55
|
+
* xmlParserProperties:
|
56
|
+
*
|
57
|
+
* Some common options to use with xmlTextReaderSetParserProp, but it
|
58
|
+
* is better to use xmlParserOption and the xmlReaderNewxxx and
|
59
|
+
* xmlReaderForxxx APIs now.
|
60
|
+
*/
|
61
|
+
typedef enum {
|
62
|
+
XML_PARSER_LOADDTD = 1,
|
63
|
+
XML_PARSER_DEFAULTATTRS = 2,
|
64
|
+
XML_PARSER_VALIDATE = 3,
|
65
|
+
XML_PARSER_SUBST_ENTITIES = 4
|
66
|
+
} xmlParserProperties;
|
67
|
+
|
68
|
+
/**
|
69
|
+
* xmlReaderTypes:
|
70
|
+
*
|
71
|
+
* Predefined constants for the different types of nodes.
|
72
|
+
*/
|
73
|
+
typedef enum {
|
74
|
+
XML_READER_TYPE_NONE = 0,
|
75
|
+
XML_READER_TYPE_ELEMENT = 1,
|
76
|
+
XML_READER_TYPE_ATTRIBUTE = 2,
|
77
|
+
XML_READER_TYPE_TEXT = 3,
|
78
|
+
XML_READER_TYPE_CDATA = 4,
|
79
|
+
XML_READER_TYPE_ENTITY_REFERENCE = 5,
|
80
|
+
XML_READER_TYPE_ENTITY = 6,
|
81
|
+
XML_READER_TYPE_PROCESSING_INSTRUCTION = 7,
|
82
|
+
XML_READER_TYPE_COMMENT = 8,
|
83
|
+
XML_READER_TYPE_DOCUMENT = 9,
|
84
|
+
XML_READER_TYPE_DOCUMENT_TYPE = 10,
|
85
|
+
XML_READER_TYPE_DOCUMENT_FRAGMENT = 11,
|
86
|
+
XML_READER_TYPE_NOTATION = 12,
|
87
|
+
XML_READER_TYPE_WHITESPACE = 13,
|
88
|
+
XML_READER_TYPE_SIGNIFICANT_WHITESPACE = 14,
|
89
|
+
XML_READER_TYPE_END_ELEMENT = 15,
|
90
|
+
XML_READER_TYPE_END_ENTITY = 16,
|
91
|
+
XML_READER_TYPE_XML_DECLARATION = 17
|
92
|
+
} xmlReaderTypes;
|
93
|
+
|
94
|
+
/**
|
95
|
+
* xmlTextReader:
|
96
|
+
*
|
97
|
+
* Structure for an xmlReader context.
|
98
|
+
*/
|
99
|
+
typedef struct _xmlTextReader xmlTextReader;
|
100
|
+
|
101
|
+
/**
|
102
|
+
* xmlTextReaderPtr:
|
103
|
+
*
|
104
|
+
* Pointer to an xmlReader context.
|
105
|
+
*/
|
106
|
+
typedef xmlTextReader *xmlTextReaderPtr;
|
107
|
+
|
108
|
+
/*
|
109
|
+
* Constructors & Destructor
|
110
|
+
*/
|
111
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
112
|
+
xmlNewTextReader (xmlParserInputBufferPtr input,
|
113
|
+
const char *URI);
|
114
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
115
|
+
xmlNewTextReaderFilename(const char *URI);
|
116
|
+
|
117
|
+
XMLPUBFUN void XMLCALL
|
118
|
+
xmlFreeTextReader (xmlTextReaderPtr reader);
|
119
|
+
|
120
|
+
XMLPUBFUN int XMLCALL
|
121
|
+
xmlTextReaderSetup(xmlTextReaderPtr reader,
|
122
|
+
xmlParserInputBufferPtr input, const char *URL,
|
123
|
+
const char *encoding, int options);
|
124
|
+
|
125
|
+
/*
|
126
|
+
* Iterators
|
127
|
+
*/
|
128
|
+
XMLPUBFUN int XMLCALL
|
129
|
+
xmlTextReaderRead (xmlTextReaderPtr reader);
|
130
|
+
|
131
|
+
#ifdef LIBXML_WRITER_ENABLED
|
132
|
+
XMLPUBFUN xmlChar * XMLCALL
|
133
|
+
xmlTextReaderReadInnerXml (xmlTextReaderPtr reader);
|
134
|
+
|
135
|
+
XMLPUBFUN xmlChar * XMLCALL
|
136
|
+
xmlTextReaderReadOuterXml (xmlTextReaderPtr reader);
|
137
|
+
#endif
|
138
|
+
|
139
|
+
XMLPUBFUN xmlChar * XMLCALL
|
140
|
+
xmlTextReaderReadString (xmlTextReaderPtr reader);
|
141
|
+
XMLPUBFUN int XMLCALL
|
142
|
+
xmlTextReaderReadAttributeValue (xmlTextReaderPtr reader);
|
143
|
+
|
144
|
+
/*
|
145
|
+
* Attributes of the node
|
146
|
+
*/
|
147
|
+
XMLPUBFUN int XMLCALL
|
148
|
+
xmlTextReaderAttributeCount(xmlTextReaderPtr reader);
|
149
|
+
XMLPUBFUN int XMLCALL
|
150
|
+
xmlTextReaderDepth (xmlTextReaderPtr reader);
|
151
|
+
XMLPUBFUN int XMLCALL
|
152
|
+
xmlTextReaderHasAttributes(xmlTextReaderPtr reader);
|
153
|
+
XMLPUBFUN int XMLCALL
|
154
|
+
xmlTextReaderHasValue(xmlTextReaderPtr reader);
|
155
|
+
XMLPUBFUN int XMLCALL
|
156
|
+
xmlTextReaderIsDefault (xmlTextReaderPtr reader);
|
157
|
+
XMLPUBFUN int XMLCALL
|
158
|
+
xmlTextReaderIsEmptyElement(xmlTextReaderPtr reader);
|
159
|
+
XMLPUBFUN int XMLCALL
|
160
|
+
xmlTextReaderNodeType (xmlTextReaderPtr reader);
|
161
|
+
XMLPUBFUN int XMLCALL
|
162
|
+
xmlTextReaderQuoteChar (xmlTextReaderPtr reader);
|
163
|
+
XMLPUBFUN int XMLCALL
|
164
|
+
xmlTextReaderReadState (xmlTextReaderPtr reader);
|
165
|
+
XMLPUBFUN int XMLCALL
|
166
|
+
xmlTextReaderIsNamespaceDecl(xmlTextReaderPtr reader);
|
167
|
+
|
168
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
169
|
+
xmlTextReaderConstBaseUri (xmlTextReaderPtr reader);
|
170
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
171
|
+
xmlTextReaderConstLocalName (xmlTextReaderPtr reader);
|
172
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
173
|
+
xmlTextReaderConstName (xmlTextReaderPtr reader);
|
174
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
175
|
+
xmlTextReaderConstNamespaceUri(xmlTextReaderPtr reader);
|
176
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
177
|
+
xmlTextReaderConstPrefix (xmlTextReaderPtr reader);
|
178
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
179
|
+
xmlTextReaderConstXmlLang (xmlTextReaderPtr reader);
|
180
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
181
|
+
xmlTextReaderConstString (xmlTextReaderPtr reader,
|
182
|
+
const xmlChar *str);
|
183
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
184
|
+
xmlTextReaderConstValue (xmlTextReaderPtr reader);
|
185
|
+
|
186
|
+
/*
|
187
|
+
* use the Const version of the routine for
|
188
|
+
* better performance and simpler code
|
189
|
+
*/
|
190
|
+
XMLPUBFUN xmlChar * XMLCALL
|
191
|
+
xmlTextReaderBaseUri (xmlTextReaderPtr reader);
|
192
|
+
XMLPUBFUN xmlChar * XMLCALL
|
193
|
+
xmlTextReaderLocalName (xmlTextReaderPtr reader);
|
194
|
+
XMLPUBFUN xmlChar * XMLCALL
|
195
|
+
xmlTextReaderName (xmlTextReaderPtr reader);
|
196
|
+
XMLPUBFUN xmlChar * XMLCALL
|
197
|
+
xmlTextReaderNamespaceUri(xmlTextReaderPtr reader);
|
198
|
+
XMLPUBFUN xmlChar * XMLCALL
|
199
|
+
xmlTextReaderPrefix (xmlTextReaderPtr reader);
|
200
|
+
XMLPUBFUN xmlChar * XMLCALL
|
201
|
+
xmlTextReaderXmlLang (xmlTextReaderPtr reader);
|
202
|
+
XMLPUBFUN xmlChar * XMLCALL
|
203
|
+
xmlTextReaderValue (xmlTextReaderPtr reader);
|
204
|
+
|
205
|
+
/*
|
206
|
+
* Methods of the XmlTextReader
|
207
|
+
*/
|
208
|
+
XMLPUBFUN int XMLCALL
|
209
|
+
xmlTextReaderClose (xmlTextReaderPtr reader);
|
210
|
+
XMLPUBFUN xmlChar * XMLCALL
|
211
|
+
xmlTextReaderGetAttributeNo (xmlTextReaderPtr reader,
|
212
|
+
int no);
|
213
|
+
XMLPUBFUN xmlChar * XMLCALL
|
214
|
+
xmlTextReaderGetAttribute (xmlTextReaderPtr reader,
|
215
|
+
const xmlChar *name);
|
216
|
+
XMLPUBFUN xmlChar * XMLCALL
|
217
|
+
xmlTextReaderGetAttributeNs (xmlTextReaderPtr reader,
|
218
|
+
const xmlChar *localName,
|
219
|
+
const xmlChar *namespaceURI);
|
220
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
221
|
+
xmlTextReaderGetRemainder (xmlTextReaderPtr reader);
|
222
|
+
XMLPUBFUN xmlChar * XMLCALL
|
223
|
+
xmlTextReaderLookupNamespace(xmlTextReaderPtr reader,
|
224
|
+
const xmlChar *prefix);
|
225
|
+
XMLPUBFUN int XMLCALL
|
226
|
+
xmlTextReaderMoveToAttributeNo(xmlTextReaderPtr reader,
|
227
|
+
int no);
|
228
|
+
XMLPUBFUN int XMLCALL
|
229
|
+
xmlTextReaderMoveToAttribute(xmlTextReaderPtr reader,
|
230
|
+
const xmlChar *name);
|
231
|
+
XMLPUBFUN int XMLCALL
|
232
|
+
xmlTextReaderMoveToAttributeNs(xmlTextReaderPtr reader,
|
233
|
+
const xmlChar *localName,
|
234
|
+
const xmlChar *namespaceURI);
|
235
|
+
XMLPUBFUN int XMLCALL
|
236
|
+
xmlTextReaderMoveToFirstAttribute(xmlTextReaderPtr reader);
|
237
|
+
XMLPUBFUN int XMLCALL
|
238
|
+
xmlTextReaderMoveToNextAttribute(xmlTextReaderPtr reader);
|
239
|
+
XMLPUBFUN int XMLCALL
|
240
|
+
xmlTextReaderMoveToElement (xmlTextReaderPtr reader);
|
241
|
+
XMLPUBFUN int XMLCALL
|
242
|
+
xmlTextReaderNormalization (xmlTextReaderPtr reader);
|
243
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
244
|
+
xmlTextReaderConstEncoding (xmlTextReaderPtr reader);
|
245
|
+
|
246
|
+
/*
|
247
|
+
* Extensions
|
248
|
+
*/
|
249
|
+
XMLPUBFUN int XMLCALL
|
250
|
+
xmlTextReaderSetParserProp (xmlTextReaderPtr reader,
|
251
|
+
int prop,
|
252
|
+
int value);
|
253
|
+
XMLPUBFUN int XMLCALL
|
254
|
+
xmlTextReaderGetParserProp (xmlTextReaderPtr reader,
|
255
|
+
int prop);
|
256
|
+
XMLPUBFUN xmlNodePtr XMLCALL
|
257
|
+
xmlTextReaderCurrentNode (xmlTextReaderPtr reader);
|
258
|
+
|
259
|
+
XMLPUBFUN int XMLCALL
|
260
|
+
xmlTextReaderGetParserLineNumber(xmlTextReaderPtr reader);
|
261
|
+
|
262
|
+
XMLPUBFUN int XMLCALL
|
263
|
+
xmlTextReaderGetParserColumnNumber(xmlTextReaderPtr reader);
|
264
|
+
|
265
|
+
XMLPUBFUN xmlNodePtr XMLCALL
|
266
|
+
xmlTextReaderPreserve (xmlTextReaderPtr reader);
|
267
|
+
#ifdef LIBXML_PATTERN_ENABLED
|
268
|
+
XMLPUBFUN int XMLCALL
|
269
|
+
xmlTextReaderPreservePattern(xmlTextReaderPtr reader,
|
270
|
+
const xmlChar *pattern,
|
271
|
+
const xmlChar **namespaces);
|
272
|
+
#endif /* LIBXML_PATTERN_ENABLED */
|
273
|
+
XMLPUBFUN xmlDocPtr XMLCALL
|
274
|
+
xmlTextReaderCurrentDoc (xmlTextReaderPtr reader);
|
275
|
+
XMLPUBFUN xmlNodePtr XMLCALL
|
276
|
+
xmlTextReaderExpand (xmlTextReaderPtr reader);
|
277
|
+
XMLPUBFUN int XMLCALL
|
278
|
+
xmlTextReaderNext (xmlTextReaderPtr reader);
|
279
|
+
XMLPUBFUN int XMLCALL
|
280
|
+
xmlTextReaderNextSibling (xmlTextReaderPtr reader);
|
281
|
+
XMLPUBFUN int XMLCALL
|
282
|
+
xmlTextReaderIsValid (xmlTextReaderPtr reader);
|
283
|
+
#ifdef LIBXML_SCHEMAS_ENABLED
|
284
|
+
XMLPUBFUN int XMLCALL
|
285
|
+
xmlTextReaderRelaxNGValidate(xmlTextReaderPtr reader,
|
286
|
+
const char *rng);
|
287
|
+
XMLPUBFUN int XMLCALL
|
288
|
+
xmlTextReaderRelaxNGSetSchema(xmlTextReaderPtr reader,
|
289
|
+
xmlRelaxNGPtr schema);
|
290
|
+
XMLPUBFUN int XMLCALL
|
291
|
+
xmlTextReaderSchemaValidate (xmlTextReaderPtr reader,
|
292
|
+
const char *xsd);
|
293
|
+
XMLPUBFUN int XMLCALL
|
294
|
+
xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader,
|
295
|
+
xmlSchemaValidCtxtPtr ctxt,
|
296
|
+
int options);
|
297
|
+
XMLPUBFUN int XMLCALL
|
298
|
+
xmlTextReaderSetSchema (xmlTextReaderPtr reader,
|
299
|
+
xmlSchemaPtr schema);
|
300
|
+
#endif
|
301
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
302
|
+
xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader);
|
303
|
+
XMLPUBFUN int XMLCALL
|
304
|
+
xmlTextReaderStandalone (xmlTextReaderPtr reader);
|
305
|
+
|
306
|
+
|
307
|
+
/*
|
308
|
+
* Index lookup
|
309
|
+
*/
|
310
|
+
XMLPUBFUN long XMLCALL
|
311
|
+
xmlTextReaderByteConsumed (xmlTextReaderPtr reader);
|
312
|
+
|
313
|
+
/*
|
314
|
+
* New more complete APIs for simpler creation and reuse of readers
|
315
|
+
*/
|
316
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
317
|
+
xmlReaderWalker (xmlDocPtr doc);
|
318
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
319
|
+
xmlReaderForDoc (const xmlChar * cur,
|
320
|
+
const char *URL,
|
321
|
+
const char *encoding,
|
322
|
+
int options);
|
323
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
324
|
+
xmlReaderForFile (const char *filename,
|
325
|
+
const char *encoding,
|
326
|
+
int options);
|
327
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
328
|
+
xmlReaderForMemory (const char *buffer,
|
329
|
+
int size,
|
330
|
+
const char *URL,
|
331
|
+
const char *encoding,
|
332
|
+
int options);
|
333
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
334
|
+
xmlReaderForFd (int fd,
|
335
|
+
const char *URL,
|
336
|
+
const char *encoding,
|
337
|
+
int options);
|
338
|
+
XMLPUBFUN xmlTextReaderPtr XMLCALL
|
339
|
+
xmlReaderForIO (xmlInputReadCallback ioread,
|
340
|
+
xmlInputCloseCallback ioclose,
|
341
|
+
void *ioctx,
|
342
|
+
const char *URL,
|
343
|
+
const char *encoding,
|
344
|
+
int options);
|
345
|
+
|
346
|
+
XMLPUBFUN int XMLCALL
|
347
|
+
xmlReaderNewWalker (xmlTextReaderPtr reader,
|
348
|
+
xmlDocPtr doc);
|
349
|
+
XMLPUBFUN int XMLCALL
|
350
|
+
xmlReaderNewDoc (xmlTextReaderPtr reader,
|
351
|
+
const xmlChar * cur,
|
352
|
+
const char *URL,
|
353
|
+
const char *encoding,
|
354
|
+
int options);
|
355
|
+
XMLPUBFUN int XMLCALL
|
356
|
+
xmlReaderNewFile (xmlTextReaderPtr reader,
|
357
|
+
const char *filename,
|
358
|
+
const char *encoding,
|
359
|
+
int options);
|
360
|
+
XMLPUBFUN int XMLCALL
|
361
|
+
xmlReaderNewMemory (xmlTextReaderPtr reader,
|
362
|
+
const char *buffer,
|
363
|
+
int size,
|
364
|
+
const char *URL,
|
365
|
+
const char *encoding,
|
366
|
+
int options);
|
367
|
+
XMLPUBFUN int XMLCALL
|
368
|
+
xmlReaderNewFd (xmlTextReaderPtr reader,
|
369
|
+
int fd,
|
370
|
+
const char *URL,
|
371
|
+
const char *encoding,
|
372
|
+
int options);
|
373
|
+
XMLPUBFUN int XMLCALL
|
374
|
+
xmlReaderNewIO (xmlTextReaderPtr reader,
|
375
|
+
xmlInputReadCallback ioread,
|
376
|
+
xmlInputCloseCallback ioclose,
|
377
|
+
void *ioctx,
|
378
|
+
const char *URL,
|
379
|
+
const char *encoding,
|
380
|
+
int options);
|
381
|
+
/*
|
382
|
+
* Error handling extensions
|
383
|
+
*/
|
384
|
+
typedef void * xmlTextReaderLocatorPtr;
|
385
|
+
|
386
|
+
/**
|
387
|
+
* xmlTextReaderErrorFunc:
|
388
|
+
* @arg: the user argument
|
389
|
+
* @msg: the message
|
390
|
+
* @severity: the severity of the error
|
391
|
+
* @locator: a locator indicating where the error occured
|
392
|
+
*
|
393
|
+
* Signature of an error callback from a reader parser
|
394
|
+
*/
|
395
|
+
typedef void (XMLCALL *xmlTextReaderErrorFunc)(void *arg,
|
396
|
+
const char *msg,
|
397
|
+
xmlParserSeverities severity,
|
398
|
+
xmlTextReaderLocatorPtr locator);
|
399
|
+
XMLPUBFUN int XMLCALL
|
400
|
+
xmlTextReaderLocatorLineNumber(xmlTextReaderLocatorPtr locator);
|
401
|
+
/*int xmlTextReaderLocatorLinePosition(xmlTextReaderLocatorPtr locator);*/
|
402
|
+
XMLPUBFUN xmlChar * XMLCALL
|
403
|
+
xmlTextReaderLocatorBaseURI (xmlTextReaderLocatorPtr locator);
|
404
|
+
XMLPUBFUN void XMLCALL
|
405
|
+
xmlTextReaderSetErrorHandler(xmlTextReaderPtr reader,
|
406
|
+
xmlTextReaderErrorFunc f,
|
407
|
+
void *arg);
|
408
|
+
XMLPUBFUN void XMLCALL
|
409
|
+
xmlTextReaderSetStructuredErrorHandler(xmlTextReaderPtr reader,
|
410
|
+
xmlStructuredErrorFunc f,
|
411
|
+
void *arg);
|
412
|
+
XMLPUBFUN void XMLCALL
|
413
|
+
xmlTextReaderGetErrorHandler(xmlTextReaderPtr reader,
|
414
|
+
xmlTextReaderErrorFunc *f,
|
415
|
+
void **arg);
|
416
|
+
|
417
|
+
#endif /* LIBXML_READER_ENABLED */
|
418
|
+
|
419
|
+
#ifdef __cplusplus
|
420
|
+
}
|
421
|
+
#endif
|
422
|
+
|
423
|
+
#endif /* __XML_XMLREADER_H__ */
|
424
|
+
|
@@ -0,0 +1,222 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: regular expressions handling
|
3
|
+
* Description: basic API for libxml regular expressions handling used
|
4
|
+
* for XML Schemas and validation.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __XML_REGEXP_H__
|
12
|
+
#define __XML_REGEXP_H__
|
13
|
+
|
14
|
+
#include <libxml/xmlversion.h>
|
15
|
+
|
16
|
+
#ifdef LIBXML_REGEXP_ENABLED
|
17
|
+
|
18
|
+
#ifdef __cplusplus
|
19
|
+
extern "C" {
|
20
|
+
#endif
|
21
|
+
|
22
|
+
/**
|
23
|
+
* xmlRegexpPtr:
|
24
|
+
*
|
25
|
+
* A libxml regular expression, they can actually be far more complex
|
26
|
+
* thank the POSIX regex expressions.
|
27
|
+
*/
|
28
|
+
typedef struct _xmlRegexp xmlRegexp;
|
29
|
+
typedef xmlRegexp *xmlRegexpPtr;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* xmlRegExecCtxtPtr:
|
33
|
+
*
|
34
|
+
* A libxml progressive regular expression evaluation context
|
35
|
+
*/
|
36
|
+
typedef struct _xmlRegExecCtxt xmlRegExecCtxt;
|
37
|
+
typedef xmlRegExecCtxt *xmlRegExecCtxtPtr;
|
38
|
+
|
39
|
+
#ifdef __cplusplus
|
40
|
+
}
|
41
|
+
#endif
|
42
|
+
#include <libxml/tree.h>
|
43
|
+
#include <libxml/dict.h>
|
44
|
+
#ifdef __cplusplus
|
45
|
+
extern "C" {
|
46
|
+
#endif
|
47
|
+
|
48
|
+
/*
|
49
|
+
* The POSIX like API
|
50
|
+
*/
|
51
|
+
XMLPUBFUN xmlRegexpPtr XMLCALL
|
52
|
+
xmlRegexpCompile (const xmlChar *regexp);
|
53
|
+
XMLPUBFUN void XMLCALL xmlRegFreeRegexp(xmlRegexpPtr regexp);
|
54
|
+
XMLPUBFUN int XMLCALL
|
55
|
+
xmlRegexpExec (xmlRegexpPtr comp,
|
56
|
+
const xmlChar *value);
|
57
|
+
XMLPUBFUN void XMLCALL
|
58
|
+
xmlRegexpPrint (FILE *output,
|
59
|
+
xmlRegexpPtr regexp);
|
60
|
+
XMLPUBFUN int XMLCALL
|
61
|
+
xmlRegexpIsDeterminist(xmlRegexpPtr comp);
|
62
|
+
|
63
|
+
/**
|
64
|
+
* xmlRegExecCallbacks:
|
65
|
+
* @exec: the regular expression context
|
66
|
+
* @token: the current token string
|
67
|
+
* @transdata: transition data
|
68
|
+
* @inputdata: input data
|
69
|
+
*
|
70
|
+
* Callback function when doing a transition in the automata
|
71
|
+
*/
|
72
|
+
typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec,
|
73
|
+
const xmlChar *token,
|
74
|
+
void *transdata,
|
75
|
+
void *inputdata);
|
76
|
+
|
77
|
+
/*
|
78
|
+
* The progressive API
|
79
|
+
*/
|
80
|
+
XMLPUBFUN xmlRegExecCtxtPtr XMLCALL
|
81
|
+
xmlRegNewExecCtxt (xmlRegexpPtr comp,
|
82
|
+
xmlRegExecCallbacks callback,
|
83
|
+
void *data);
|
84
|
+
XMLPUBFUN void XMLCALL
|
85
|
+
xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec);
|
86
|
+
XMLPUBFUN int XMLCALL
|
87
|
+
xmlRegExecPushString(xmlRegExecCtxtPtr exec,
|
88
|
+
const xmlChar *value,
|
89
|
+
void *data);
|
90
|
+
XMLPUBFUN int XMLCALL
|
91
|
+
xmlRegExecPushString2(xmlRegExecCtxtPtr exec,
|
92
|
+
const xmlChar *value,
|
93
|
+
const xmlChar *value2,
|
94
|
+
void *data);
|
95
|
+
|
96
|
+
XMLPUBFUN int XMLCALL
|
97
|
+
xmlRegExecNextValues(xmlRegExecCtxtPtr exec,
|
98
|
+
int *nbval,
|
99
|
+
int *nbneg,
|
100
|
+
xmlChar **values,
|
101
|
+
int *terminal);
|
102
|
+
XMLPUBFUN int XMLCALL
|
103
|
+
xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
|
104
|
+
const xmlChar **string,
|
105
|
+
int *nbval,
|
106
|
+
int *nbneg,
|
107
|
+
xmlChar **values,
|
108
|
+
int *terminal);
|
109
|
+
#ifdef LIBXML_EXPR_ENABLED
|
110
|
+
/*
|
111
|
+
* Formal regular expression handling
|
112
|
+
* Its goal is to do some formal work on content models
|
113
|
+
*/
|
114
|
+
|
115
|
+
/* expressions are used within a context */
|
116
|
+
typedef struct _xmlExpCtxt xmlExpCtxt;
|
117
|
+
typedef xmlExpCtxt *xmlExpCtxtPtr;
|
118
|
+
|
119
|
+
XMLPUBFUN void XMLCALL
|
120
|
+
xmlExpFreeCtxt (xmlExpCtxtPtr ctxt);
|
121
|
+
XMLPUBFUN xmlExpCtxtPtr XMLCALL
|
122
|
+
xmlExpNewCtxt (int maxNodes,
|
123
|
+
xmlDictPtr dict);
|
124
|
+
|
125
|
+
XMLPUBFUN int XMLCALL
|
126
|
+
xmlExpCtxtNbNodes(xmlExpCtxtPtr ctxt);
|
127
|
+
XMLPUBFUN int XMLCALL
|
128
|
+
xmlExpCtxtNbCons(xmlExpCtxtPtr ctxt);
|
129
|
+
|
130
|
+
/* Expressions are trees but the tree is opaque */
|
131
|
+
typedef struct _xmlExpNode xmlExpNode;
|
132
|
+
typedef xmlExpNode *xmlExpNodePtr;
|
133
|
+
|
134
|
+
typedef enum {
|
135
|
+
XML_EXP_EMPTY = 0,
|
136
|
+
XML_EXP_FORBID = 1,
|
137
|
+
XML_EXP_ATOM = 2,
|
138
|
+
XML_EXP_SEQ = 3,
|
139
|
+
XML_EXP_OR = 4,
|
140
|
+
XML_EXP_COUNT = 5
|
141
|
+
} xmlExpNodeType;
|
142
|
+
|
143
|
+
/*
|
144
|
+
* 2 core expressions shared by all for the empty language set
|
145
|
+
* and for the set with just the empty token
|
146
|
+
*/
|
147
|
+
XMLPUBVAR xmlExpNodePtr forbiddenExp;
|
148
|
+
XMLPUBVAR xmlExpNodePtr emptyExp;
|
149
|
+
|
150
|
+
/*
|
151
|
+
* Expressions are reference counted internally
|
152
|
+
*/
|
153
|
+
XMLPUBFUN void XMLCALL
|
154
|
+
xmlExpFree (xmlExpCtxtPtr ctxt,
|
155
|
+
xmlExpNodePtr expr);
|
156
|
+
XMLPUBFUN void XMLCALL
|
157
|
+
xmlExpRef (xmlExpNodePtr expr);
|
158
|
+
|
159
|
+
/*
|
160
|
+
* constructors can be either manual or from a string
|
161
|
+
*/
|
162
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
163
|
+
xmlExpParse (xmlExpCtxtPtr ctxt,
|
164
|
+
const char *expr);
|
165
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
166
|
+
xmlExpNewAtom (xmlExpCtxtPtr ctxt,
|
167
|
+
const xmlChar *name,
|
168
|
+
int len);
|
169
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
170
|
+
xmlExpNewOr (xmlExpCtxtPtr ctxt,
|
171
|
+
xmlExpNodePtr left,
|
172
|
+
xmlExpNodePtr right);
|
173
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
174
|
+
xmlExpNewSeq (xmlExpCtxtPtr ctxt,
|
175
|
+
xmlExpNodePtr left,
|
176
|
+
xmlExpNodePtr right);
|
177
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
178
|
+
xmlExpNewRange (xmlExpCtxtPtr ctxt,
|
179
|
+
xmlExpNodePtr subset,
|
180
|
+
int min,
|
181
|
+
int max);
|
182
|
+
/*
|
183
|
+
* The really interesting APIs
|
184
|
+
*/
|
185
|
+
XMLPUBFUN int XMLCALL
|
186
|
+
xmlExpIsNillable(xmlExpNodePtr expr);
|
187
|
+
XMLPUBFUN int XMLCALL
|
188
|
+
xmlExpMaxToken (xmlExpNodePtr expr);
|
189
|
+
XMLPUBFUN int XMLCALL
|
190
|
+
xmlExpGetLanguage(xmlExpCtxtPtr ctxt,
|
191
|
+
xmlExpNodePtr expr,
|
192
|
+
const xmlChar**langList,
|
193
|
+
int len);
|
194
|
+
XMLPUBFUN int XMLCALL
|
195
|
+
xmlExpGetStart (xmlExpCtxtPtr ctxt,
|
196
|
+
xmlExpNodePtr expr,
|
197
|
+
const xmlChar**tokList,
|
198
|
+
int len);
|
199
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
200
|
+
xmlExpStringDerive(xmlExpCtxtPtr ctxt,
|
201
|
+
xmlExpNodePtr expr,
|
202
|
+
const xmlChar *str,
|
203
|
+
int len);
|
204
|
+
XMLPUBFUN xmlExpNodePtr XMLCALL
|
205
|
+
xmlExpExpDerive (xmlExpCtxtPtr ctxt,
|
206
|
+
xmlExpNodePtr expr,
|
207
|
+
xmlExpNodePtr sub);
|
208
|
+
XMLPUBFUN int XMLCALL
|
209
|
+
xmlExpSubsume (xmlExpCtxtPtr ctxt,
|
210
|
+
xmlExpNodePtr expr,
|
211
|
+
xmlExpNodePtr sub);
|
212
|
+
XMLPUBFUN void XMLCALL
|
213
|
+
xmlExpDump (xmlBufferPtr buf,
|
214
|
+
xmlExpNodePtr expr);
|
215
|
+
#endif /* LIBXML_EXPR_ENABLED */
|
216
|
+
#ifdef __cplusplus
|
217
|
+
}
|
218
|
+
#endif
|
219
|
+
|
220
|
+
#endif /* LIBXML_REGEXP_ENABLED */
|
221
|
+
|
222
|
+
#endif /*__XML_REGEXP_H__ */
|