Adding a new buf module for buffers

This also add converter functions between xmlBuf and xmlBuffer
* buf.c buf.h: the old xmlBuffer routines but modified for size_t
  and using xmlBuf instead of xmlBuffer
* Makefile.am: add the 2 new files
* include/libxml/xmlerror.h: add an entry for the new module
* include/libxml/tree.h: expose the xmlBufPtr type but not the
  structure which stay private
5 files changed
tree: 22aeb417d63e02385c90b22bace609a4f01432c1
  1. bakefile/
  2. doc/
  3. example/
  4. include/
  5. macos/
  6. optim/
  7. python/
  8. result/
  9. test/
  10. vms/
  11. VxWorks/
  12. win32/
  13. xstc/
  14. .cvsignore
  15. .gitignore
  16. acinclude.m4
  17. AUTHORS
  18. autogen.sh
  19. buf.c
  20. buf.h
  21. build_glob.py
  22. c14n.c
  23. catalog.c
  24. ChangeLog
  25. check-relaxng-test-suite.py
  26. check-relaxng-test-suite2.py
  27. check-xinclude-test-suite.py
  28. check-xml-test-suite.py
  29. check-xsddata-test-suite.py
  30. chvalid.c
  31. chvalid.def
  32. configure.in
  33. Copyright
  34. dbgen.pl
  35. dbgenattr.pl
  36. debugXML.c
  37. dict.c
  38. DOCBparser.c
  39. elfgcchack.h
  40. encoding.c
  41. entities.c
  42. error.c
  43. genChRanges.py
  44. gentest.py
  45. genUnicode.py
  46. global.data
  47. globals.c
  48. HACKING
  49. hash.c
  50. HTMLparser.c
  51. HTMLtree.c
  52. INSTALL.libxml2
  53. legacy.c
  54. libxml-2.0-uninstalled.pc.in
  55. libxml-2.0.pc.in
  56. libxml.3
  57. libxml.h
  58. libxml.m4
  59. libxml.spec.in
  60. libxml2.doap
  61. libxml2.syms
  62. list.c
  63. MAINTAINERS
  64. Makefile.am
  65. Makefile.tests
  66. Makefile.win
  67. nanoftp.c
  68. nanohttp.c
  69. NEWS
  70. parser.c
  71. parserInternals.c
  72. pattern.c
  73. README
  74. README.cvs-commits
  75. README.tests
  76. regressions.py
  77. regressions.xml
  78. relaxng.c
  79. rngparser.c
  80. runsuite.c
  81. runtest.c
  82. runxmlconf.c
  83. SAX.c
  84. SAX2.c
  85. schematron.c
  86. testapi.c
  87. testAutomata.c
  88. testC14N.c
  89. testchar.c
  90. testdict.c
  91. testdso.c
  92. testHTML.c
  93. testModule.c
  94. testOOM.c
  95. testOOMlib.c
  96. testOOMlib.h
  97. testReader.c
  98. testrecurse.c
  99. testRegexp.c
  100. testRelax.c
  101. testSAX.c
  102. testSchemas.c
  103. testThreads.c
  104. testThreadsWin32.c
  105. testURI.c
  106. testXPath.c
  107. threads.c
  108. TODO
  109. TODO_SCHEMAS
  110. tree.c
  111. trio.c
  112. trio.h
  113. triodef.h
  114. trionan.c
  115. trionan.h
  116. triop.h
  117. triostr.c
  118. triostr.h
  119. uri.c
  120. valid.c
  121. xinclude.c
  122. xlink.c
  123. xml2-config.1
  124. xml2-config.in
  125. xml2Conf.sh.in
  126. xmlcatalog.c
  127. xmlIO.c
  128. xmllint.c
  129. xmlmemory.c
  130. xmlmodule.c
  131. xmlreader.c
  132. xmlregexp.c
  133. xmlsave.c
  134. xmlschemas.c
  135. xmlschemastypes.c
  136. xmlstring.c
  137. xmlunicode.c
  138. xmlwriter.c
  139. xpath.c
  140. xpointer.c
  141. xzlib.c
  142. xzlib.h