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,189 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: unfinished XLink detection module
|
3
|
+
* Description: unfinished XLink detection module
|
4
|
+
*
|
5
|
+
* Copy: See Copyright for the status of this software.
|
6
|
+
*
|
7
|
+
* Author: Daniel Veillard
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef __XML_XLINK_H__
|
11
|
+
#define __XML_XLINK_H__
|
12
|
+
|
13
|
+
#include <libxml/xmlversion.h>
|
14
|
+
#include <libxml/tree.h>
|
15
|
+
|
16
|
+
#ifdef LIBXML_XPTR_ENABLED
|
17
|
+
|
18
|
+
#ifdef __cplusplus
|
19
|
+
extern "C" {
|
20
|
+
#endif
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Various defines for the various Link properties.
|
24
|
+
*
|
25
|
+
* NOTE: the link detection layer will try to resolve QName expansion
|
26
|
+
* of namespaces. If "foo" is the prefix for "http://foo.com/"
|
27
|
+
* then the link detection layer will expand role="foo:myrole"
|
28
|
+
* to "http://foo.com/:myrole".
|
29
|
+
* NOTE: the link detection layer will expand URI-Refences found on
|
30
|
+
* href attributes by using the base mechanism if found.
|
31
|
+
*/
|
32
|
+
typedef xmlChar *xlinkHRef;
|
33
|
+
typedef xmlChar *xlinkRole;
|
34
|
+
typedef xmlChar *xlinkTitle;
|
35
|
+
|
36
|
+
typedef enum {
|
37
|
+
XLINK_TYPE_NONE = 0,
|
38
|
+
XLINK_TYPE_SIMPLE,
|
39
|
+
XLINK_TYPE_EXTENDED,
|
40
|
+
XLINK_TYPE_EXTENDED_SET
|
41
|
+
} xlinkType;
|
42
|
+
|
43
|
+
typedef enum {
|
44
|
+
XLINK_SHOW_NONE = 0,
|
45
|
+
XLINK_SHOW_NEW,
|
46
|
+
XLINK_SHOW_EMBED,
|
47
|
+
XLINK_SHOW_REPLACE
|
48
|
+
} xlinkShow;
|
49
|
+
|
50
|
+
typedef enum {
|
51
|
+
XLINK_ACTUATE_NONE = 0,
|
52
|
+
XLINK_ACTUATE_AUTO,
|
53
|
+
XLINK_ACTUATE_ONREQUEST
|
54
|
+
} xlinkActuate;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* xlinkNodeDetectFunc:
|
58
|
+
* @ctx: user data pointer
|
59
|
+
* @node: the node to check
|
60
|
+
*
|
61
|
+
* This is the prototype for the link detection routine.
|
62
|
+
* It calls the default link detection callbacks upon link detection.
|
63
|
+
*/
|
64
|
+
typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNodePtr node);
|
65
|
+
|
66
|
+
/*
|
67
|
+
* The link detection module interact with the upper layers using
|
68
|
+
* a set of callback registered at parsing time.
|
69
|
+
*/
|
70
|
+
|
71
|
+
/**
|
72
|
+
* xlinkSimpleLinkFunk:
|
73
|
+
* @ctx: user data pointer
|
74
|
+
* @node: the node carrying the link
|
75
|
+
* @href: the target of the link
|
76
|
+
* @role: the role string
|
77
|
+
* @title: the link title
|
78
|
+
*
|
79
|
+
* This is the prototype for a simple link detection callback.
|
80
|
+
*/
|
81
|
+
typedef void
|
82
|
+
(*xlinkSimpleLinkFunk) (void *ctx,
|
83
|
+
xmlNodePtr node,
|
84
|
+
const xlinkHRef href,
|
85
|
+
const xlinkRole role,
|
86
|
+
const xlinkTitle title);
|
87
|
+
|
88
|
+
/**
|
89
|
+
* xlinkExtendedLinkFunk:
|
90
|
+
* @ctx: user data pointer
|
91
|
+
* @node: the node carrying the link
|
92
|
+
* @nbLocators: the number of locators detected on the link
|
93
|
+
* @hrefs: pointer to the array of locator hrefs
|
94
|
+
* @roles: pointer to the array of locator roles
|
95
|
+
* @nbArcs: the number of arcs detected on the link
|
96
|
+
* @from: pointer to the array of source roles found on the arcs
|
97
|
+
* @to: pointer to the array of target roles found on the arcs
|
98
|
+
* @show: array of values for the show attributes found on the arcs
|
99
|
+
* @actuate: array of values for the actuate attributes found on the arcs
|
100
|
+
* @nbTitles: the number of titles detected on the link
|
101
|
+
* @title: array of titles detected on the link
|
102
|
+
* @langs: array of xml:lang values for the titles
|
103
|
+
*
|
104
|
+
* This is the prototype for a extended link detection callback.
|
105
|
+
*/
|
106
|
+
typedef void
|
107
|
+
(*xlinkExtendedLinkFunk)(void *ctx,
|
108
|
+
xmlNodePtr node,
|
109
|
+
int nbLocators,
|
110
|
+
const xlinkHRef *hrefs,
|
111
|
+
const xlinkRole *roles,
|
112
|
+
int nbArcs,
|
113
|
+
const xlinkRole *from,
|
114
|
+
const xlinkRole *to,
|
115
|
+
xlinkShow *show,
|
116
|
+
xlinkActuate *actuate,
|
117
|
+
int nbTitles,
|
118
|
+
const xlinkTitle *titles,
|
119
|
+
const xmlChar **langs);
|
120
|
+
|
121
|
+
/**
|
122
|
+
* xlinkExtendedLinkSetFunk:
|
123
|
+
* @ctx: user data pointer
|
124
|
+
* @node: the node carrying the link
|
125
|
+
* @nbLocators: the number of locators detected on the link
|
126
|
+
* @hrefs: pointer to the array of locator hrefs
|
127
|
+
* @roles: pointer to the array of locator roles
|
128
|
+
* @nbTitles: the number of titles detected on the link
|
129
|
+
* @title: array of titles detected on the link
|
130
|
+
* @langs: array of xml:lang values for the titles
|
131
|
+
*
|
132
|
+
* This is the prototype for a extended link set detection callback.
|
133
|
+
*/
|
134
|
+
typedef void
|
135
|
+
(*xlinkExtendedLinkSetFunk) (void *ctx,
|
136
|
+
xmlNodePtr node,
|
137
|
+
int nbLocators,
|
138
|
+
const xlinkHRef *hrefs,
|
139
|
+
const xlinkRole *roles,
|
140
|
+
int nbTitles,
|
141
|
+
const xlinkTitle *titles,
|
142
|
+
const xmlChar **langs);
|
143
|
+
|
144
|
+
/**
|
145
|
+
* This is the structure containing a set of Links detection callbacks.
|
146
|
+
*
|
147
|
+
* There is no default xlink callbacks, if one want to get link
|
148
|
+
* recognition activated, those call backs must be provided before parsing.
|
149
|
+
*/
|
150
|
+
typedef struct _xlinkHandler xlinkHandler;
|
151
|
+
typedef xlinkHandler *xlinkHandlerPtr;
|
152
|
+
struct _xlinkHandler {
|
153
|
+
xlinkSimpleLinkFunk simple;
|
154
|
+
xlinkExtendedLinkFunk extended;
|
155
|
+
xlinkExtendedLinkSetFunk set;
|
156
|
+
};
|
157
|
+
|
158
|
+
/*
|
159
|
+
* The default detection routine, can be overridden, they call the default
|
160
|
+
* detection callbacks.
|
161
|
+
*/
|
162
|
+
|
163
|
+
XMLPUBFUN xlinkNodeDetectFunc XMLCALL
|
164
|
+
xlinkGetDefaultDetect (void);
|
165
|
+
XMLPUBFUN void XMLCALL
|
166
|
+
xlinkSetDefaultDetect (xlinkNodeDetectFunc func);
|
167
|
+
|
168
|
+
/*
|
169
|
+
* Routines to set/get the default handlers.
|
170
|
+
*/
|
171
|
+
XMLPUBFUN xlinkHandlerPtr XMLCALL
|
172
|
+
xlinkGetDefaultHandler (void);
|
173
|
+
XMLPUBFUN void XMLCALL
|
174
|
+
xlinkSetDefaultHandler (xlinkHandlerPtr handler);
|
175
|
+
|
176
|
+
/*
|
177
|
+
* Link detection module itself.
|
178
|
+
*/
|
179
|
+
XMLPUBFUN xlinkType XMLCALL
|
180
|
+
xlinkIsLink (xmlDocPtr doc,
|
181
|
+
xmlNodePtr node);
|
182
|
+
|
183
|
+
#ifdef __cplusplus
|
184
|
+
}
|
185
|
+
#endif
|
186
|
+
|
187
|
+
#endif /* LIBXML_XPTR_ENABLED */
|
188
|
+
|
189
|
+
#endif /* __XML_XLINK_H__ */
|
@@ -0,0 +1,360 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: interface for the I/O interfaces used by the parser
|
3
|
+
* Description: interface for the I/O interfaces used by the parser
|
4
|
+
*
|
5
|
+
* Copy: See Copyright for the status of this software.
|
6
|
+
*
|
7
|
+
* Author: Daniel Veillard
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef __XML_IO_H__
|
11
|
+
#define __XML_IO_H__
|
12
|
+
|
13
|
+
#include <stdio.h>
|
14
|
+
#include <libxml/xmlversion.h>
|
15
|
+
|
16
|
+
#ifdef __cplusplus
|
17
|
+
extern "C" {
|
18
|
+
#endif
|
19
|
+
|
20
|
+
/*
|
21
|
+
* Those are the functions and datatypes for the parser input
|
22
|
+
* I/O structures.
|
23
|
+
*/
|
24
|
+
|
25
|
+
/**
|
26
|
+
* xmlInputMatchCallback:
|
27
|
+
* @filename: the filename or URI
|
28
|
+
*
|
29
|
+
* Callback used in the I/O Input API to detect if the current handler
|
30
|
+
* can provide input fonctionnalities for this resource.
|
31
|
+
*
|
32
|
+
* Returns 1 if yes and 0 if another Input module should be used
|
33
|
+
*/
|
34
|
+
typedef int (XMLCALL *xmlInputMatchCallback) (char const *filename);
|
35
|
+
/**
|
36
|
+
* xmlInputOpenCallback:
|
37
|
+
* @filename: the filename or URI
|
38
|
+
*
|
39
|
+
* Callback used in the I/O Input API to open the resource
|
40
|
+
*
|
41
|
+
* Returns an Input context or NULL in case or error
|
42
|
+
*/
|
43
|
+
typedef void * (XMLCALL *xmlInputOpenCallback) (char const *filename);
|
44
|
+
/**
|
45
|
+
* xmlInputReadCallback:
|
46
|
+
* @context: an Input context
|
47
|
+
* @buffer: the buffer to store data read
|
48
|
+
* @len: the length of the buffer in bytes
|
49
|
+
*
|
50
|
+
* Callback used in the I/O Input API to read the resource
|
51
|
+
*
|
52
|
+
* Returns the number of bytes read or -1 in case of error
|
53
|
+
*/
|
54
|
+
typedef int (XMLCALL *xmlInputReadCallback) (void * context, char * buffer, int len);
|
55
|
+
/**
|
56
|
+
* xmlInputCloseCallback:
|
57
|
+
* @context: an Input context
|
58
|
+
*
|
59
|
+
* Callback used in the I/O Input API to close the resource
|
60
|
+
*
|
61
|
+
* Returns 0 or -1 in case of error
|
62
|
+
*/
|
63
|
+
typedef int (XMLCALL *xmlInputCloseCallback) (void * context);
|
64
|
+
|
65
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
66
|
+
/*
|
67
|
+
* Those are the functions and datatypes for the library output
|
68
|
+
* I/O structures.
|
69
|
+
*/
|
70
|
+
|
71
|
+
/**
|
72
|
+
* xmlOutputMatchCallback:
|
73
|
+
* @filename: the filename or URI
|
74
|
+
*
|
75
|
+
* Callback used in the I/O Output API to detect if the current handler
|
76
|
+
* can provide output fonctionnalities for this resource.
|
77
|
+
*
|
78
|
+
* Returns 1 if yes and 0 if another Output module should be used
|
79
|
+
*/
|
80
|
+
typedef int (XMLCALL *xmlOutputMatchCallback) (char const *filename);
|
81
|
+
/**
|
82
|
+
* xmlOutputOpenCallback:
|
83
|
+
* @filename: the filename or URI
|
84
|
+
*
|
85
|
+
* Callback used in the I/O Output API to open the resource
|
86
|
+
*
|
87
|
+
* Returns an Output context or NULL in case or error
|
88
|
+
*/
|
89
|
+
typedef void * (XMLCALL *xmlOutputOpenCallback) (char const *filename);
|
90
|
+
/**
|
91
|
+
* xmlOutputWriteCallback:
|
92
|
+
* @context: an Output context
|
93
|
+
* @buffer: the buffer of data to write
|
94
|
+
* @len: the length of the buffer in bytes
|
95
|
+
*
|
96
|
+
* Callback used in the I/O Output API to write to the resource
|
97
|
+
*
|
98
|
+
* Returns the number of bytes written or -1 in case of error
|
99
|
+
*/
|
100
|
+
typedef int (XMLCALL *xmlOutputWriteCallback) (void * context, const char * buffer,
|
101
|
+
int len);
|
102
|
+
/**
|
103
|
+
* xmlOutputCloseCallback:
|
104
|
+
* @context: an Output context
|
105
|
+
*
|
106
|
+
* Callback used in the I/O Output API to close the resource
|
107
|
+
*
|
108
|
+
* Returns 0 or -1 in case of error
|
109
|
+
*/
|
110
|
+
typedef int (XMLCALL *xmlOutputCloseCallback) (void * context);
|
111
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
112
|
+
|
113
|
+
#ifdef __cplusplus
|
114
|
+
}
|
115
|
+
#endif
|
116
|
+
|
117
|
+
#include <libxml/globals.h>
|
118
|
+
#include <libxml/tree.h>
|
119
|
+
#include <libxml/parser.h>
|
120
|
+
#include <libxml/encoding.h>
|
121
|
+
|
122
|
+
#ifdef __cplusplus
|
123
|
+
extern "C" {
|
124
|
+
#endif
|
125
|
+
struct _xmlParserInputBuffer {
|
126
|
+
void* context;
|
127
|
+
xmlInputReadCallback readcallback;
|
128
|
+
xmlInputCloseCallback closecallback;
|
129
|
+
|
130
|
+
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
|
131
|
+
|
132
|
+
xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 */
|
133
|
+
xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */
|
134
|
+
int compressed; /* -1=unknown, 0=not compressed, 1=compressed */
|
135
|
+
int error;
|
136
|
+
unsigned long rawconsumed;/* amount consumed from raw */
|
137
|
+
};
|
138
|
+
|
139
|
+
|
140
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
141
|
+
struct _xmlOutputBuffer {
|
142
|
+
void* context;
|
143
|
+
xmlOutputWriteCallback writecallback;
|
144
|
+
xmlOutputCloseCallback closecallback;
|
145
|
+
|
146
|
+
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */
|
147
|
+
|
148
|
+
xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */
|
149
|
+
xmlBufferPtr conv; /* if encoder != NULL buffer for output */
|
150
|
+
int written; /* total number of byte written */
|
151
|
+
int error;
|
152
|
+
};
|
153
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
154
|
+
|
155
|
+
/*
|
156
|
+
* Interfaces for input
|
157
|
+
*/
|
158
|
+
XMLPUBFUN void XMLCALL
|
159
|
+
xmlCleanupInputCallbacks (void);
|
160
|
+
|
161
|
+
XMLPUBFUN int XMLCALL
|
162
|
+
xmlPopInputCallbacks (void);
|
163
|
+
|
164
|
+
XMLPUBFUN void XMLCALL
|
165
|
+
xmlRegisterDefaultInputCallbacks (void);
|
166
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
167
|
+
xmlAllocParserInputBuffer (xmlCharEncoding enc);
|
168
|
+
|
169
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
170
|
+
xmlParserInputBufferCreateFilename (const char *URI,
|
171
|
+
xmlCharEncoding enc);
|
172
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
173
|
+
xmlParserInputBufferCreateFile (FILE *file,
|
174
|
+
xmlCharEncoding enc);
|
175
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
176
|
+
xmlParserInputBufferCreateFd (int fd,
|
177
|
+
xmlCharEncoding enc);
|
178
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
179
|
+
xmlParserInputBufferCreateMem (const char *mem, int size,
|
180
|
+
xmlCharEncoding enc);
|
181
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
182
|
+
xmlParserInputBufferCreateStatic (const char *mem, int size,
|
183
|
+
xmlCharEncoding enc);
|
184
|
+
XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
185
|
+
xmlParserInputBufferCreateIO (xmlInputReadCallback ioread,
|
186
|
+
xmlInputCloseCallback ioclose,
|
187
|
+
void *ioctx,
|
188
|
+
xmlCharEncoding enc);
|
189
|
+
XMLPUBFUN int XMLCALL
|
190
|
+
xmlParserInputBufferRead (xmlParserInputBufferPtr in,
|
191
|
+
int len);
|
192
|
+
XMLPUBFUN int XMLCALL
|
193
|
+
xmlParserInputBufferGrow (xmlParserInputBufferPtr in,
|
194
|
+
int len);
|
195
|
+
XMLPUBFUN int XMLCALL
|
196
|
+
xmlParserInputBufferPush (xmlParserInputBufferPtr in,
|
197
|
+
int len,
|
198
|
+
const char *buf);
|
199
|
+
XMLPUBFUN void XMLCALL
|
200
|
+
xmlFreeParserInputBuffer (xmlParserInputBufferPtr in);
|
201
|
+
XMLPUBFUN char * XMLCALL
|
202
|
+
xmlParserGetDirectory (const char *filename);
|
203
|
+
|
204
|
+
XMLPUBFUN int XMLCALL
|
205
|
+
xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc,
|
206
|
+
xmlInputOpenCallback openFunc,
|
207
|
+
xmlInputReadCallback readFunc,
|
208
|
+
xmlInputCloseCallback closeFunc);
|
209
|
+
|
210
|
+
xmlParserInputBufferPtr
|
211
|
+
__xmlParserInputBufferCreateFilename(const char *URI,
|
212
|
+
xmlCharEncoding enc);
|
213
|
+
|
214
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
215
|
+
/*
|
216
|
+
* Interfaces for output
|
217
|
+
*/
|
218
|
+
XMLPUBFUN void XMLCALL
|
219
|
+
xmlCleanupOutputCallbacks (void);
|
220
|
+
XMLPUBFUN void XMLCALL
|
221
|
+
xmlRegisterDefaultOutputCallbacks(void);
|
222
|
+
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
223
|
+
xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder);
|
224
|
+
|
225
|
+
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
226
|
+
xmlOutputBufferCreateFilename (const char *URI,
|
227
|
+
xmlCharEncodingHandlerPtr encoder,
|
228
|
+
int compression);
|
229
|
+
|
230
|
+
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
231
|
+
xmlOutputBufferCreateFile (FILE *file,
|
232
|
+
xmlCharEncodingHandlerPtr encoder);
|
233
|
+
|
234
|
+
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
235
|
+
xmlOutputBufferCreateBuffer (xmlBufferPtr buffer,
|
236
|
+
xmlCharEncodingHandlerPtr encoder);
|
237
|
+
|
238
|
+
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
239
|
+
xmlOutputBufferCreateFd (int fd,
|
240
|
+
xmlCharEncodingHandlerPtr encoder);
|
241
|
+
|
242
|
+
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
243
|
+
xmlOutputBufferCreateIO (xmlOutputWriteCallback iowrite,
|
244
|
+
xmlOutputCloseCallback ioclose,
|
245
|
+
void *ioctx,
|
246
|
+
xmlCharEncodingHandlerPtr encoder);
|
247
|
+
|
248
|
+
XMLPUBFUN int XMLCALL
|
249
|
+
xmlOutputBufferWrite (xmlOutputBufferPtr out,
|
250
|
+
int len,
|
251
|
+
const char *buf);
|
252
|
+
XMLPUBFUN int XMLCALL
|
253
|
+
xmlOutputBufferWriteString (xmlOutputBufferPtr out,
|
254
|
+
const char *str);
|
255
|
+
XMLPUBFUN int XMLCALL
|
256
|
+
xmlOutputBufferWriteEscape (xmlOutputBufferPtr out,
|
257
|
+
const xmlChar *str,
|
258
|
+
xmlCharEncodingOutputFunc escaping);
|
259
|
+
|
260
|
+
XMLPUBFUN int XMLCALL
|
261
|
+
xmlOutputBufferFlush (xmlOutputBufferPtr out);
|
262
|
+
XMLPUBFUN int XMLCALL
|
263
|
+
xmlOutputBufferClose (xmlOutputBufferPtr out);
|
264
|
+
|
265
|
+
XMLPUBFUN int XMLCALL
|
266
|
+
xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc,
|
267
|
+
xmlOutputOpenCallback openFunc,
|
268
|
+
xmlOutputWriteCallback writeFunc,
|
269
|
+
xmlOutputCloseCallback closeFunc);
|
270
|
+
|
271
|
+
xmlOutputBufferPtr
|
272
|
+
__xmlOutputBufferCreateFilename(const char *URI,
|
273
|
+
xmlCharEncodingHandlerPtr encoder,
|
274
|
+
int compression);
|
275
|
+
|
276
|
+
#ifdef LIBXML_HTTP_ENABLED
|
277
|
+
/* This function only exists if HTTP support built into the library */
|
278
|
+
XMLPUBFUN void XMLCALL
|
279
|
+
xmlRegisterHTTPPostCallbacks (void );
|
280
|
+
#endif /* LIBXML_HTTP_ENABLED */
|
281
|
+
|
282
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
283
|
+
|
284
|
+
XMLPUBFUN xmlParserInputPtr XMLCALL
|
285
|
+
xmlCheckHTTPInput (xmlParserCtxtPtr ctxt,
|
286
|
+
xmlParserInputPtr ret);
|
287
|
+
|
288
|
+
/*
|
289
|
+
* A predefined entity loader disabling network accesses
|
290
|
+
*/
|
291
|
+
XMLPUBFUN xmlParserInputPtr XMLCALL
|
292
|
+
xmlNoNetExternalEntityLoader (const char *URL,
|
293
|
+
const char *ID,
|
294
|
+
xmlParserCtxtPtr ctxt);
|
295
|
+
|
296
|
+
/*
|
297
|
+
* xmlNormalizeWindowsPath is obsolete, don't use it.
|
298
|
+
* Check xmlCanonicPath in uri.h for a better alternative.
|
299
|
+
*/
|
300
|
+
XMLPUBFUN xmlChar * XMLCALL
|
301
|
+
xmlNormalizeWindowsPath (const xmlChar *path);
|
302
|
+
|
303
|
+
XMLPUBFUN int XMLCALL
|
304
|
+
xmlCheckFilename (const char *path);
|
305
|
+
/**
|
306
|
+
* Default 'file://' protocol callbacks
|
307
|
+
*/
|
308
|
+
XMLPUBFUN int XMLCALL
|
309
|
+
xmlFileMatch (const char *filename);
|
310
|
+
XMLPUBFUN void * XMLCALL
|
311
|
+
xmlFileOpen (const char *filename);
|
312
|
+
XMLPUBFUN int XMLCALL
|
313
|
+
xmlFileRead (void * context,
|
314
|
+
char * buffer,
|
315
|
+
int len);
|
316
|
+
XMLPUBFUN int XMLCALL
|
317
|
+
xmlFileClose (void * context);
|
318
|
+
|
319
|
+
/**
|
320
|
+
* Default 'http://' protocol callbacks
|
321
|
+
*/
|
322
|
+
#ifdef LIBXML_HTTP_ENABLED
|
323
|
+
XMLPUBFUN int XMLCALL
|
324
|
+
xmlIOHTTPMatch (const char *filename);
|
325
|
+
XMLPUBFUN void * XMLCALL
|
326
|
+
xmlIOHTTPOpen (const char *filename);
|
327
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
328
|
+
XMLPUBFUN void * XMLCALL
|
329
|
+
xmlIOHTTPOpenW (const char * post_uri,
|
330
|
+
int compression );
|
331
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
332
|
+
XMLPUBFUN int XMLCALL
|
333
|
+
xmlIOHTTPRead (void * context,
|
334
|
+
char * buffer,
|
335
|
+
int len);
|
336
|
+
XMLPUBFUN int XMLCALL
|
337
|
+
xmlIOHTTPClose (void * context);
|
338
|
+
#endif /* LIBXML_HTTP_ENABLED */
|
339
|
+
|
340
|
+
/**
|
341
|
+
* Default 'ftp://' protocol callbacks
|
342
|
+
*/
|
343
|
+
#ifdef LIBXML_FTP_ENABLED
|
344
|
+
XMLPUBFUN int XMLCALL
|
345
|
+
xmlIOFTPMatch (const char *filename);
|
346
|
+
XMLPUBFUN void * XMLCALL
|
347
|
+
xmlIOFTPOpen (const char *filename);
|
348
|
+
XMLPUBFUN int XMLCALL
|
349
|
+
xmlIOFTPRead (void * context,
|
350
|
+
char * buffer,
|
351
|
+
int len);
|
352
|
+
XMLPUBFUN int XMLCALL
|
353
|
+
xmlIOFTPClose (void * context);
|
354
|
+
#endif /* LIBXML_FTP_ENABLED */
|
355
|
+
|
356
|
+
#ifdef __cplusplus
|
357
|
+
}
|
358
|
+
#endif
|
359
|
+
|
360
|
+
#endif /* __XML_IO_H__ */
|
@@ -0,0 +1,146 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: API to build regexp automata
|
3
|
+
* Description: the API to build regexp automata
|
4
|
+
*
|
5
|
+
* Copy: See Copyright for the status of this software.
|
6
|
+
*
|
7
|
+
* Author: Daniel Veillard
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef __XML_AUTOMATA_H__
|
11
|
+
#define __XML_AUTOMATA_H__
|
12
|
+
|
13
|
+
#include <libxml/xmlversion.h>
|
14
|
+
#include <libxml/tree.h>
|
15
|
+
|
16
|
+
#ifdef LIBXML_REGEXP_ENABLED
|
17
|
+
#ifdef LIBXML_AUTOMATA_ENABLED
|
18
|
+
#include <libxml/xmlregexp.h>
|
19
|
+
|
20
|
+
#ifdef __cplusplus
|
21
|
+
extern "C" {
|
22
|
+
#endif
|
23
|
+
|
24
|
+
/**
|
25
|
+
* xmlAutomataPtr:
|
26
|
+
*
|
27
|
+
* A libxml automata description, It can be compiled into a regexp
|
28
|
+
*/
|
29
|
+
typedef struct _xmlAutomata xmlAutomata;
|
30
|
+
typedef xmlAutomata *xmlAutomataPtr;
|
31
|
+
|
32
|
+
/**
|
33
|
+
* xmlAutomataStatePtr:
|
34
|
+
*
|
35
|
+
* A state int the automata description,
|
36
|
+
*/
|
37
|
+
typedef struct _xmlAutomataState xmlAutomataState;
|
38
|
+
typedef xmlAutomataState *xmlAutomataStatePtr;
|
39
|
+
|
40
|
+
/*
|
41
|
+
* Building API
|
42
|
+
*/
|
43
|
+
XMLPUBFUN xmlAutomataPtr XMLCALL
|
44
|
+
xmlNewAutomata (void);
|
45
|
+
XMLPUBFUN void XMLCALL
|
46
|
+
xmlFreeAutomata (xmlAutomataPtr am);
|
47
|
+
|
48
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
49
|
+
xmlAutomataGetInitState (xmlAutomataPtr am);
|
50
|
+
XMLPUBFUN int XMLCALL
|
51
|
+
xmlAutomataSetFinalState (xmlAutomataPtr am,
|
52
|
+
xmlAutomataStatePtr state);
|
53
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
54
|
+
xmlAutomataNewState (xmlAutomataPtr am);
|
55
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
56
|
+
xmlAutomataNewTransition (xmlAutomataPtr am,
|
57
|
+
xmlAutomataStatePtr from,
|
58
|
+
xmlAutomataStatePtr to,
|
59
|
+
const xmlChar *token,
|
60
|
+
void *data);
|
61
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
62
|
+
xmlAutomataNewTransition2 (xmlAutomataPtr am,
|
63
|
+
xmlAutomataStatePtr from,
|
64
|
+
xmlAutomataStatePtr to,
|
65
|
+
const xmlChar *token,
|
66
|
+
const xmlChar *token2,
|
67
|
+
void *data);
|
68
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
69
|
+
xmlAutomataNewNegTrans (xmlAutomataPtr am,
|
70
|
+
xmlAutomataStatePtr from,
|
71
|
+
xmlAutomataStatePtr to,
|
72
|
+
const xmlChar *token,
|
73
|
+
const xmlChar *token2,
|
74
|
+
void *data);
|
75
|
+
|
76
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
77
|
+
xmlAutomataNewCountTrans (xmlAutomataPtr am,
|
78
|
+
xmlAutomataStatePtr from,
|
79
|
+
xmlAutomataStatePtr to,
|
80
|
+
const xmlChar *token,
|
81
|
+
int min,
|
82
|
+
int max,
|
83
|
+
void *data);
|
84
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
85
|
+
xmlAutomataNewCountTrans2 (xmlAutomataPtr am,
|
86
|
+
xmlAutomataStatePtr from,
|
87
|
+
xmlAutomataStatePtr to,
|
88
|
+
const xmlChar *token,
|
89
|
+
const xmlChar *token2,
|
90
|
+
int min,
|
91
|
+
int max,
|
92
|
+
void *data);
|
93
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
94
|
+
xmlAutomataNewOnceTrans (xmlAutomataPtr am,
|
95
|
+
xmlAutomataStatePtr from,
|
96
|
+
xmlAutomataStatePtr to,
|
97
|
+
const xmlChar *token,
|
98
|
+
int min,
|
99
|
+
int max,
|
100
|
+
void *data);
|
101
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
102
|
+
xmlAutomataNewOnceTrans2 (xmlAutomataPtr am,
|
103
|
+
xmlAutomataStatePtr from,
|
104
|
+
xmlAutomataStatePtr to,
|
105
|
+
const xmlChar *token,
|
106
|
+
const xmlChar *token2,
|
107
|
+
int min,
|
108
|
+
int max,
|
109
|
+
void *data);
|
110
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
111
|
+
xmlAutomataNewAllTrans (xmlAutomataPtr am,
|
112
|
+
xmlAutomataStatePtr from,
|
113
|
+
xmlAutomataStatePtr to,
|
114
|
+
int lax);
|
115
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
116
|
+
xmlAutomataNewEpsilon (xmlAutomataPtr am,
|
117
|
+
xmlAutomataStatePtr from,
|
118
|
+
xmlAutomataStatePtr to);
|
119
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
120
|
+
xmlAutomataNewCountedTrans (xmlAutomataPtr am,
|
121
|
+
xmlAutomataStatePtr from,
|
122
|
+
xmlAutomataStatePtr to,
|
123
|
+
int counter);
|
124
|
+
XMLPUBFUN xmlAutomataStatePtr XMLCALL
|
125
|
+
xmlAutomataNewCounterTrans (xmlAutomataPtr am,
|
126
|
+
xmlAutomataStatePtr from,
|
127
|
+
xmlAutomataStatePtr to,
|
128
|
+
int counter);
|
129
|
+
XMLPUBFUN int XMLCALL
|
130
|
+
xmlAutomataNewCounter (xmlAutomataPtr am,
|
131
|
+
int min,
|
132
|
+
int max);
|
133
|
+
|
134
|
+
XMLPUBFUN xmlRegexpPtr XMLCALL
|
135
|
+
xmlAutomataCompile (xmlAutomataPtr am);
|
136
|
+
XMLPUBFUN int XMLCALL
|
137
|
+
xmlAutomataIsDeterminist (xmlAutomataPtr am);
|
138
|
+
|
139
|
+
#ifdef __cplusplus
|
140
|
+
}
|
141
|
+
#endif
|
142
|
+
|
143
|
+
#endif /* LIBXML_AUTOMATA_ENABLED */
|
144
|
+
#endif /* LIBXML_REGEXP_ENABLED */
|
145
|
+
|
146
|
+
#endif /* __XML_AUTOMATA_H__ */
|