incubator-triplesoup-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r528519 [7/12] - in /incubator/triplesoup/donations/TRIPLES-2-libb: ./ docs/ docs/html/ docs/tmpl/ docs/xml/ redland-integration/ redland/ src/ test/ tests/ utils/
Date Fri, 13 Apr 2007 15:19:52 GMT
Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/index.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/index.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/index.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/index.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,65 @@
+<ANCHOR id="B-Init" href="B/B-Init.html">
+<ANCHOR id="b-error-t" href="B/B-Init.html#b-error-t">
+<ANCHOR id="B-OK:CAPS" href="B/B-Init.html#B-OK:CAPS">
+<ANCHOR id="B-ERROR-MEMORY:CAPS" href="B/B-Init.html#B-ERROR-MEMORY:CAPS">
+<ANCHOR id="B-ERROR-POSIX:CAPS" href="B/B-Init.html#B-ERROR-POSIX:CAPS">
+<ANCHOR id="B-ERROR-INTERNAL:CAPS" href="B/B-Init.html#B-ERROR-INTERNAL:CAPS">
+<ANCHOR id="B-ERROR-DATA:CAPS" href="B/B-Init.html#B-ERROR-DATA:CAPS">
+<ANCHOR id="b-strerror" href="B/B-Init.html#b-strerror">
+<ANCHOR id="b-t" href="B/B-Init.html#b-t">
+<ANCHOR id="b-type-t" href="B/B-Init.html#b-type-t">
+<ANCHOR id="B-TYPE-URI:CAPS" href="B/B-Init.html#B-TYPE-URI:CAPS">
+<ANCHOR id="B-TYPE-PROPERTY:CAPS" href="B/B-Init.html#B-TYPE-PROPERTY:CAPS">
+<ANCHOR id="B-TYPE-LITERAL:CAPS" href="B/B-Init.html#B-TYPE-LITERAL:CAPS">
+<ANCHOR id="B-TYPE-BNODE:CAPS" href="B/B-Init.html#B-TYPE-BNODE:CAPS">
+<ANCHOR id="B-TYPE-CONTEXT:CAPS" href="B/B-Init.html#B-TYPE-CONTEXT:CAPS">
+<ANCHOR id="B-TYPE-DATATYPE:CAPS" href="B/B-Init.html#B-TYPE-DATATYPE:CAPS">
+<ANCHOR id="b-int64" href="B/B-Init.html#b-int64">
+<ANCHOR id="b-uint64" href="B/B-Init.html#b-uint64">
+<ANCHOR id="b-new" href="B/B-Init.html#b-new">
+<ANCHOR id="b-destroy" href="B/B-Init.html#b-destroy">
+<ANCHOR id="b-sync" href="B/B-Init.html#b-sync">
+<ANCHOR id="B-Cache" href="B/B-Cache.html">
+<ANCHOR id="b-set-max-cache" href="B/B-Cache.html#b-set-max-cache">
+<ANCHOR id="b-get-max-cache" href="B/B-Cache.html#b-get-max-cache">
+<ANCHOR id="B-Error" href="B/B-Error.html">
+<ANCHOR id="b-error-t" href="B/B-Error.html#b-error-t">
+<ANCHOR id="B-OK:CAPS" href="B/B-Error.html#B-OK:CAPS">
+<ANCHOR id="B-ERROR-MEMORY:CAPS" href="B/B-Error.html#B-ERROR-MEMORY:CAPS">
+<ANCHOR id="B-ERROR-POSIX:CAPS" href="B/B-Error.html#B-ERROR-POSIX:CAPS">
+<ANCHOR id="B-ERROR-INTERNAL:CAPS" href="B/B-Error.html#B-ERROR-INTERNAL:CAPS">
+<ANCHOR id="B-ERROR-DATA:CAPS" href="B/B-Error.html#B-ERROR-DATA:CAPS">
+<ANCHOR id="b-strerror" href="B/B-Error.html#b-strerror">
+<ANCHOR id="B-Triples" href="B/B-Triples.html">
+<ANCHOR id="b-triple-new" href="B/B-Triples.html#b-triple-new">
+<ANCHOR id="b-triple-new-incomplete" href="B/B-Triples.html#b-triple-new-incomplete">
+<ANCHOR id="b-triple-destroy" href="B/B-Triples.html#b-triple-destroy">
+<ANCHOR id="b-triple-print" href="B/B-Triples.html#b-triple-print">
+<ANCHOR id="B-Add" href="B/B-Add.html">
+<ANCHOR id="b-add-type" href="B/B-Add.html#b-add-type">
+<ANCHOR id="b-add-triple" href="B/B-Add.html#b-add-triple">
+<ANCHOR id="B-Get" href="B/B-Get.html">
+<ANCHOR id="b-get-type" href="B/B-Get.html#b-get-type">
+<ANCHOR id="b-get-triple" href="B/B-Get.html#b-get-triple">
+<ANCHOR id="B-Remove" href="B/B-Remove.html">
+<ANCHOR id="b-remove-type" href="B/B-Remove.html#b-remove-type">
+<ANCHOR id="b-remove-triple" href="B/B-Remove.html#b-remove-triple">
+<ANCHOR id="B-Count" href="B/B-Count.html">
+<ANCHOR id="b-count-type" href="B/B-Count.html#b-count-type">
+<ANCHOR id="b-count-triple" href="B/B-Count.html#b-count-triple">
+<ANCHOR id="B-Iterators" href="B/B-Iterators.html">
+<ANCHOR id="b-iterator-type-t" href="B/B-Iterators.html#b-iterator-type-t">
+<ANCHOR id="b-iterator-triple-t" href="B/B-Iterators.html#b-iterator-triple-t">
+<ANCHOR id="b-iterator-type-new" href="B/B-Iterators.html#b-iterator-type-new">
+<ANCHOR id="b-iterator-type-step" href="B/B-Iterators.html#b-iterator-type-step">
+<ANCHOR id="b-iterator-type-destroy" href="B/B-Iterators.html#b-iterator-type-destroy">
+<ANCHOR id="b-iterator-triple-new" href="B/B-Iterators.html#b-iterator-triple-new">
+<ANCHOR id="b-iterator-triple-step" href="B/B-Iterators.html#b-iterator-triple-step">
+<ANCHOR id="b-iterator-triple-destroy" href="B/B-Iterators.html#b-iterator-triple-destroy">
+<ANCHOR id="B-Timers" href="B/B-Timers.html">
+<ANCHOR id="b-timer-t" href="B/B-Timers.html#b-timer-t">
+<ANCHOR id="b-timer-new" href="B/B-Timers.html#b-timer-new">
+<ANCHOR id="b-timer-destroy" href="B/B-Timers.html#b-timer-destroy">
+<ANCHOR id="b-timer-start" href="B/B-Timers.html#b-timer-start">
+<ANCHOR id="b-timer-stop" href="B/B-Timers.html#b-timer-stop">
+<ANCHOR id="b-timer-diff" href="B/B-Timers.html#b-timer-diff">

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/left.png
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/left.png?view=auto&rev=528519
==============================================================================
Binary file - no diff available.

Propchange: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/left.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/right.png
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/right.png?view=auto&rev=528519
==============================================================================
Binary file - no diff available.

Propchange: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/right.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/style.css
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/style.css?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/style.css (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/style.css Fri Apr 13 08:19:45 2007
@@ -0,0 +1,88 @@
+.synopsis, .classsynopsis 
+{
+  background: #eeeeee;
+  border: solid 1px #aaaaaa;
+  padding: 0.5em;
+}
+.programlisting 
+{
+  background: #eeeeff;
+  border: solid 1px #aaaaff;
+  padding: 0.5em;
+}
+.variablelist 
+{
+  padding: 4px;
+  margin-left: 3em;
+}
+.variablelist td:first-child
+{
+  vertical-align: top;
+}
+div a[name]
+{
+  position: relative;
+  top: -4.5em;
+}
+table.navigation#top
+{
+  background: #ffeeee;
+  border: solid 1px #ffaaaa;
+  margin-top: 0;
+  margin-bottom: 0;
+  position: fixed;
+  top: 0;
+  left: 0;
+  height: 2em;
+  z-index: 1;
+}
+.navigation a 
+{
+  color: #770000;
+}
+.navigation a:visited 
+{
+  color: #550000;
+}
+.navigation .title 
+{
+  font-size: 200%;
+}
+td.shortcuts
+{
+  color: #770000;
+  font-size: 80%;
+}
+
+div.refentry, div.chapter, div.part, div.book, div.index, div.glossary, div.sect1
+{
+  position: relative;
+  top: 3em;
+  z-index: 0;
+}
+div.refnamediv 
+{
+  margin-top: 2em;
+}
+div.gallery-float 
+{
+  float: left;
+  padding: 10px;
+}
+div.gallery-float img 
+{
+  border-style: none;
+}
+div.gallery-spacer 
+{
+  clear: both;
+}
+a
+{
+  text-decoration: none;
+}
+a:hover
+{
+  text-decoration: underline;
+  color: #FF0000;
+}

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/up.png
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/up.png?view=auto&rev=528519
==============================================================================
Binary file - no diff available.

Propchange: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/up.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/B-unused.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/B-unused.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/B-unused.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/B-unused.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,24 @@
+<!-- ##### STRUCT b_triple_t ##### -->
+<para>
+
+</para>
+
+@subject_uri: 
+@subject_uri_len: 
+@subject_bnode: 
+@subject_bnode_len: 
+@property: 
+@property_len: 
+@object_uri: 
+@object_uri_len: 
+@object_bnode: 
+@object_bnode_len: 
+@object_literal: 
+@object_literal_len: 
+@context: 
+@context_len: 
+@datatype: 
+@datatype_len: 
+@lang: 
+@lang_len: 
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/add.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/add.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/add.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/add.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,42 @@
+<!-- ##### SECTION Title ##### -->
+Add functions
+
+<!-- ##### SECTION Short_Description ##### -->
+How you can add triples or simple data elements
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+These functions don't create duplicate elements in the B Storage. For any
+other information you should read the introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION b_add_type ##### -->
+<para>
+
+</para>
+
+@data: 
+@type: 
+@what: 
+@len: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_add_triple ##### -->
+<para>
+
+</para>
+
+@data: 
+@triple: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/cache.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/cache.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/cache.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/cache.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,40 @@
+<!-- ##### SECTION Title ##### -->
+Cache System
+
+<!-- ##### SECTION Short_Description ##### -->
+Get or Change the Cache level
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+If you need change the cache lavel, you can do it with these functions. For
+any other informations, you should read the Introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION b_set_max_cache ##### -->
+<para>
+
+</para>
+
+@data: 
+@max_cache: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_get_max_cache ##### -->
+<para>
+
+</para>
+
+@data: 
+@max_cache: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/count.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/count.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/count.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/count.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,41 @@
+<!-- ##### SECTION Title ##### -->
+Count functions
+
+<!-- ##### SECTION Short_Description ##### -->
+How many elements do you have into your storage?
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+The number of elements into your storage. For any other informantion, read
+the introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION b_count_type ##### -->
+<para>
+
+</para>
+
+@data: 
+@type: 
+@count: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_count_triple ##### -->
+<para>
+
+</para>
+
+@data: 
+@count: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/error.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/error.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/error.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/error.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,40 @@
+<!-- ##### SECTION Title ##### -->
+Error
+
+<!-- ##### SECTION Short_Description ##### -->
+Error messages and error functions
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+The Error code, The error functions. For any other informations, you should
+read the Introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### ENUM b_error_t ##### -->
+<para>
+
+</para>
+
+@B_OK: 
+@B_ERROR_MEMORY: 
+@B_ERROR_POSIX: 
+@B_ERROR_INTERNAL: 
+@B_ERROR_DATA: 
+
+<!-- ##### FUNCTION b_strerror ##### -->
+<para>
+
+</para>
+
+@error: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/get.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/get.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/get.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/get.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,44 @@
+<!-- ##### SECTION Title ##### -->
+Get data
+
+<!-- ##### SECTION Short_Description ##### -->
+Check function of elements in the B Storage
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+These functions check a triple or a single data element into the B Storage.
+For any other information you should read the introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION b_get_type ##### -->
+<para>
+
+</para>
+
+@data: 
+@type: 
+@what: 
+@len: 
+@exist: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_get_triple ##### -->
+<para>
+
+</para>
+
+@data: 
+@triple: 
+@exist: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/init.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/init.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/init.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/init.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,98 @@
+<!-- ##### SECTION Title ##### -->
+Basic functions
+
+<!-- ##### SECTION Short_Description ##### -->
+new, destroy, sync
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+These functions create/open, close and sync a B Storage. For more informations
+you should read the introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### ENUM b_error_t ##### -->
+<para>
+
+</para>
+
+@B_OK: 
+@B_ERROR_MEMORY: 
+@B_ERROR_POSIX: 
+@B_ERROR_INTERNAL: 
+@B_ERROR_DATA: 
+
+<!-- ##### FUNCTION b_strerror ##### -->
+<para>
+
+</para>
+
+@error: 
+@Returns: 
+
+
+<!-- ##### TYPEDEF b_t ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### ENUM b_type_t ##### -->
+<para>
+
+</para>
+
+@B_TYPE_URI: 
+@B_TYPE_PROPERTY: 
+@B_TYPE_LITERAL: 
+@B_TYPE_BNODE: 
+@B_TYPE_CONTEXT: 
+@B_TYPE_DATATYPE: 
+
+<!-- ##### TYPEDEF b_int64 ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### TYPEDEF b_uint64 ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION b_new ##### -->
+<para>
+
+</para>
+
+@data: 
+@path: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_destroy ##### -->
+<para>
+
+</para>
+
+@data: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_sync ##### -->
+<para>
+
+</para>
+
+@data: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/iterator.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/iterator.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/iterator.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/iterator.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,94 @@
+<!-- ##### SECTION Title ##### -->
+Iterators
+
+<!-- ##### SECTION Short_Description ##### -->
+How you can move between the elements
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+The iterators are useful to get any data from a storage. The triple iterator
+permit you to get triples with a template. For any other information you
+should read the Introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### TYPEDEF b_iterator_type_t ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### TYPEDEF b_iterator_triple_t ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION b_iterator_type_new ##### -->
+<para>
+
+</para>
+
+@data: 
+@type: 
+@iterator: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_iterator_type_step ##### -->
+<para>
+
+</para>
+
+@iterator: 
+@ret: 
+@ret_size: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_iterator_type_destroy ##### -->
+<para>
+
+</para>
+
+@iterator: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_iterator_triple_new ##### -->
+<para>
+
+</para>
+
+@data: 
+@iterator: 
+@compare: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_iterator_triple_step ##### -->
+<para>
+
+</para>
+
+@iterator: 
+@triple: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_iterator_triple_destroy ##### -->
+<para>
+
+</para>
+
+@iterator: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/remove.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/remove.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/remove.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/remove.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,41 @@
+<!-- ##### SECTION Title ##### -->
+Remove functions
+
+<!-- ##### SECTION Short_Description ##### -->
+How you can remove elements from a storage
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+For any other informantion, read the Introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION b_remove_type ##### -->
+<para>
+
+</para>
+
+@data: 
+@type: 
+@what: 
+@len: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_remove_triple ##### -->
+<para>
+
+</para>
+
+@data: 
+@triple: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/timer.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/timer.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/timer.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/timer.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,72 @@
+<!-- ##### SECTION Title ##### -->
+Timers
+
+<!-- ##### SECTION Short_Description ##### -->
+Some timer functions
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+These functions could be useful into your software.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### TYPEDEF b_timer_t ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION b_timer_new ##### -->
+<para>
+
+</para>
+
+@timer: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_timer_destroy ##### -->
+<para>
+
+</para>
+
+@timer: 
+@nanosec: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_timer_start ##### -->
+<para>
+
+</para>
+
+@timer: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_timer_stop ##### -->
+<para>
+
+</para>
+
+@timer: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_timer_diff ##### -->
+<para>
+
+</para>
+
+@timer: 
+@nanosec: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/triple.sgml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/triple.sgml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/triple.sgml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/tmpl/triple.sgml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,92 @@
+<!-- ##### SECTION Title ##### -->
+Triples
+
+<!-- ##### SECTION Short_Description ##### -->
+How you can create, destroy complete or incomplete triples
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+How you can create, destroy complete or incomplete triples. For any information read the Introduction.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION b_triple_new ##### -->
+<para>
+
+</para>
+
+@triple: 
+@subject_uri: 
+@subject_uri_len: 
+@subject_bnode: 
+@subject_bnode_len: 
+@property: 
+@property_len: 
+@object_uri: 
+@object_uri_len: 
+@object_bnode: 
+@object_bnode_len: 
+@object_literal: 
+@object_literal_len: 
+@context: 
+@context_len: 
+@datatype: 
+@datatype_len: 
+@lang: 
+@lang_len: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_triple_new_incomplete ##### -->
+<para>
+
+</para>
+
+@triple: 
+@subject_uri: 
+@subject_uri_len: 
+@subject_bnode: 
+@subject_bnode_len: 
+@property: 
+@property_len: 
+@object_uri: 
+@object_uri_len: 
+@object_bnode: 
+@object_bnode_len: 
+@object_literal: 
+@object_literal_len: 
+@context: 
+@context_len: 
+@datatype: 
+@datatype_len: 
+@lang: 
+@lang_len: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_triple_destroy ##### -->
+<para>
+
+</para>
+
+@triple: 
+@Returns: 
+
+
+<!-- ##### FUNCTION b_triple_print ##### -->
+<para>
+
+</para>
+
+@file: 
+@triple: 
+@Returns: 
+
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/add.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/add.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/add.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/add.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Add">
+<refmeta>
+<refentrytitle id="top_of_page">Add functions</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Add functions</refname>
+<refpurpose>How you can add triples or simple data elements</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-add-type">b_add_type</link>                      (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             unsigned <link linkend="char">char</link> *what,
+                                             <link linkend="b-uint64">b_uint64</link> len);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-add-triple">b_add_triple</link>                    (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-triple-t">b_triple_t</link> *triple);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+These functions don't create duplicate elements in the B Storage. For any
+other information you should read the introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-add-type" role="function"/>b_add_type ()</title>
+<indexterm><primary>b_add_type</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_add_type                      (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             unsigned <link linkend="char">char</link> *what,
+                                             <link linkend="b-uint64">b_uint64</link> len);</programlisting>
+<para>
+Adds a item into the storage. No dublicate items will be inserted.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to the b_t struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
+<listitem><simpara> The type of the item.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>what</parameter>&nbsp;:</term>
+<listitem><simpara> The data as string.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
+<listitem><simpara> The len of what. If it is 0, this function uses strlen on what.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-add-triple" role="function"/>b_add_triple ()</title>
+<indexterm><primary>b_add_triple</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_add_triple                    (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-triple-t">b_triple_t</link> *triple);</programlisting>
+<para>
+Adds a triple and the internal elements into the storage. This function
+doesn't insert a triple if it exists already in the storage.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to the b_t struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The triple. You should use <link linkend="b-triple-new"><function>b_triple_new()</function></link> to create it.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/cache.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/cache.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/cache.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/cache.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Cache">
+<refmeta>
+<refentrytitle id="top_of_page">Cache System</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Cache System</refname>
+<refpurpose>Get or Change the Cache level</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-set-max-cache">b_set_max_cache</link>                 (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-uint64">b_uint64</link> max_cache);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-get-max-cache">b_get_max_cache</link>                 (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-uint64">b_uint64</link> *max_cache);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+If you need change the cache lavel, you can do it with these functions. For
+any other informations, you should read the Introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-set-max-cache" role="function"/>b_set_max_cache ()</title>
+<indexterm><primary>b_set_max_cache</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_set_max_cache                 (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-uint64">b_uint64</link> max_cache);</programlisting>
+<para>
+Changes the MaxCache.
+</para>
+<para>
+If you want change the max cache value in any moment you must use this
+function.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to the b_t struct
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>max_cache</parameter>&nbsp;:</term>
+<listitem><simpara> The new max_cache.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-get-max-cache" role="function"/>b_get_max_cache ()</title>
+<indexterm><primary>b_get_max_cache</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_get_max_cache                 (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-uint64">b_uint64</link> *max_cache);</programlisting>
+<para>
+Returns the value of the MaXCache.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to the b_t struct
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>max_cache</parameter>&nbsp;:</term>
+<listitem><simpara> A pointer to a b_uint64 variable.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code;
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/count.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/count.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/count.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/count.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Count">
+<refmeta>
+<refentrytitle id="top_of_page">Count functions</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Count functions</refname>
+<refpurpose>How many elements do you have into your storage?</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-count-type">b_count_type</link>                    (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             <link linkend="b-uint64">b_uint64</link> *count);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-count-triple">b_count_triple</link>                  (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-uint64">b_uint64</link> *count);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+The number of elements into your storage. For any other informantion, read
+the introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-count-type" role="function"/>b_count_type ()</title>
+<indexterm><primary>b_count_type</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_count_type                    (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             <link linkend="b-uint64">b_uint64</link> *count);</programlisting>
+<para>
+counts the elements of a b_type_t into the storage.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t struct
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
+<listitem><simpara> The type of elements you want count.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>count</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_uint64. It'll contain the number of elements.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-count-triple" role="function"/>b_count_triple ()</title>
+<indexterm><primary>b_count_triple</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_count_triple                  (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-uint64">b_uint64</link> *count);</programlisting>
+<para>
+counts the triples into the Storage.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t struct
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>count</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_uint64. It'll contain the number of triples.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/error.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/error.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/error.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/error.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Error">
+<refmeta>
+<refentrytitle id="top_of_page">Error</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Error</refname>
+<refpurpose>Error messages and error functions</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+enum        <link linkend="b-error-t">b_error_t</link>;
+<link linkend="char">char</link>*       <link linkend="b-strerror">b_strerror</link>                      (<link linkend="b-error-t">b_error_t</link> error);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+The Error code, The error functions. For any other informations, you should
+read the Introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-error-t" role="enum"/>enum b_error_t</title>
+<indexterm><primary>b_error_t</primary></indexterm><programlisting>typedef enum
+{
+  B_OK = 0,
+
+  B_ERROR_MEMORY,
+  B_ERROR_POSIX,
+  B_ERROR_INTERNAL,
+
+  B_ERROR_DATA
+} b_error_t;
+</programlisting>
+<para>
+The list of errors for this library.</para>
+<para>
+
+</para><variablelist role="enum">
+<varlistentry>
+<term><anchor id="B-OK:CAPS" role="constant"/><literal>B_OK</literal></term>
+<listitem><simpara> Success.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-MEMORY:CAPS" role="constant"/><literal>B_ERROR_MEMORY</literal></term>
+<listitem><simpara> Error in a alloc operation.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-POSIX:CAPS" role="constant"/><literal>B_ERROR_POSIX</literal></term>
+<listitem><simpara> System error. If you are using a Posix system, read the 
+errno variable.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-INTERNAL:CAPS" role="constant"/><literal>B_ERROR_INTERNAL</literal></term>
+<listitem><simpara> Internal error. It shouldn't be.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-DATA:CAPS" role="constant"/><literal>B_ERROR_DATA</literal></term>
+<listitem><simpara> Pls, read the documentation.
+</simpara></listitem>
+</varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-strerror" role="function"/>b_strerror ()</title>
+<indexterm><primary>b_strerror</primary></indexterm><programlisting><link linkend="char">char</link>*       b_strerror                      (<link linkend="b-error-t">b_error_t</link> error);</programlisting>
+<para>
+Returns the error code in a human readble format. This return string 
+doesn't not freed!!</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> The error code
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a string with the error code in human readble format.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/get.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/get.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/get.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/get.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Get">
+<refmeta>
+<refentrytitle id="top_of_page">Get data</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Get data</refname>
+<refpurpose>Check function of elements in the B Storage</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-get-type">b_get_type</link>                      (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             unsigned <link linkend="char">char</link> *what,
+                                             <link linkend="b-uint64">b_uint64</link> len,
+                                             <link linkend="char">char</link> *exist);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-get-triple">b_get_triple</link>                    (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-triple-t">b_triple_t</link> *triple,
+                                             <link linkend="char">char</link> *exist);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+These functions check a triple or a single data element into the B Storage.
+For any other information you should read the introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-get-type" role="function"/>b_get_type ()</title>
+<indexterm><primary>b_get_type</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_get_type                      (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             unsigned <link linkend="char">char</link> *what,
+                                             <link linkend="b-uint64">b_uint64</link> len,
+                                             <link linkend="char">char</link> *exist);</programlisting>
+<para>
+Searchs a data into the storage.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
+<listitem><simpara> The type of the element you are looking for.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>what</parameter>&nbsp;:</term>
+<listitem><simpara> The data of this element as string.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
+<listitem><simpara> The len of the string (if 0, this function uses strlen on what).
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>exist</parameter>&nbsp;:</term>
+<listitem><simpara> A pointer to a char. It will be 1 if the data exists or 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-get-triple" role="function"/>b_get_triple ()</title>
+<indexterm><primary>b_get_triple</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_get_triple                    (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-triple-t">b_triple_t</link> *triple,
+                                             <link linkend="char">char</link> *exist);</programlisting>
+<para>
+Searchs a triple into the storage.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The triple you are looking for.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>exist</parameter>&nbsp;:</term>
+<listitem><simpara> A pointer to a char. It will be 1 if the data exists or 0.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/init.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/init.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/init.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/init.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Init">
+<refmeta>
+<refentrytitle id="top_of_page">Basic functions</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Basic functions</refname>
+<refpurpose>new, destroy, sync</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+enum        <link linkend="b-error-t">b_error_t</link>;
+<link linkend="char">char</link>*       <link linkend="b-strerror">b_strerror</link>                      (<link linkend="b-error-t">b_error_t</link> error);
+typedef     <link linkend="b-t">b_t</link>;
+enum        <link linkend="b-type-t">b_type_t</link>;
+typedef     <link linkend="b-int64">b_int64</link>;
+typedef     <link linkend="b-uint64">b_uint64</link>;
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-new">b_new</link>                           (<link linkend="b-t">b_t</link> **data,
+                                             unsigned <link linkend="char">char</link> *path);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-destroy">b_destroy</link>                       (<link linkend="b-t">b_t</link> *data);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-sync">b_sync</link>                          (<link linkend="b-t">b_t</link> *data);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+These functions create/open, close and sync a B Storage. For more informations
+you should read the introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-error-t" role="enum"/>enum b_error_t</title>
+<indexterm><primary>b_error_t</primary></indexterm><programlisting>typedef enum
+{
+  B_OK = 0,
+
+  B_ERROR_MEMORY,
+  B_ERROR_POSIX,
+  B_ERROR_INTERNAL,
+
+  B_ERROR_DATA
+} b_error_t;
+</programlisting>
+<para>
+The list of errors for this library.</para>
+<para>
+
+</para><variablelist role="enum">
+<varlistentry>
+<term><anchor id="B-OK:CAPS" role="constant"/><literal>B_OK</literal></term>
+<listitem><simpara> Success.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-MEMORY:CAPS" role="constant"/><literal>B_ERROR_MEMORY</literal></term>
+<listitem><simpara> Error in a alloc operation.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-POSIX:CAPS" role="constant"/><literal>B_ERROR_POSIX</literal></term>
+<listitem><simpara> System error. If you are using a Posix system, read the 
+errno variable.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-INTERNAL:CAPS" role="constant"/><literal>B_ERROR_INTERNAL</literal></term>
+<listitem><simpara> Internal error. It shouldn't be.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-ERROR-DATA:CAPS" role="constant"/><literal>B_ERROR_DATA</literal></term>
+<listitem><simpara> Pls, read the documentation.
+</simpara></listitem>
+</varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-strerror" role="function"/>b_strerror ()</title>
+<indexterm><primary>b_strerror</primary></indexterm><programlisting><link linkend="char">char</link>*       b_strerror                      (<link linkend="b-error-t">b_error_t</link> error);</programlisting>
+<para>
+Returns the error code in a human readble format. This return string 
+doesn't not freed!!</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
+<listitem><simpara> The error code
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a string with the error code in human readble format.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-t" role="typedef"/>b_t</title>
+<indexterm><primary>b_t</primary></indexterm><programlisting>typedef struct b_t b_t;
+</programlisting>
+<para>
+The principal data struct. You must have one of this for any B storage.</para>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="b-type-t" role="enum"/>enum b_type_t</title>
+<indexterm><primary>b_type_t</primary></indexterm><programlisting>typedef enum
+{
+  B_TYPE_URI,
+  B_TYPE_PROPERTY,
+  B_TYPE_LITERAL,
+  B_TYPE_BNODE,
+  B_TYPE_CONTEXT,
+  B_TYPE_DATATYPE
+} b_type_t;
+</programlisting>
+<para>
+The types of simple elements.</para>
+<para>
+
+</para><variablelist role="enum">
+<varlistentry>
+<term><anchor id="B-TYPE-URI:CAPS" role="constant"/><literal>B_TYPE_URI</literal></term>
+<listitem><simpara> The URI elements.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-TYPE-PROPERTY:CAPS" role="constant"/><literal>B_TYPE_PROPERTY</literal></term>
+<listitem><simpara> The properties are in a separated B-Tree.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-TYPE-LITERAL:CAPS" role="constant"/><literal>B_TYPE_LITERAL</literal></term>
+<listitem><simpara> The Literal elements.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-TYPE-BNODE:CAPS" role="constant"/><literal>B_TYPE_BNODE</literal></term>
+<listitem><simpara> The BNode elements.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-TYPE-CONTEXT:CAPS" role="constant"/><literal>B_TYPE_CONTEXT</literal></term>
+<listitem><simpara> The Contexts are URI but they are into a separated B-Tree.
+</simpara></listitem>
+</varlistentry>
+<varlistentry>
+<term><anchor id="B-TYPE-DATATYPE:CAPS" role="constant"/><literal>B_TYPE_DATATYPE</literal></term>
+<listitem><simpara> Like the Contexts the Datatypes are into a separated
+B-Tree.
+</simpara></listitem>
+</varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-int64" role="typedef"/>b_int64</title>
+<indexterm><primary>b_int64</primary></indexterm><para>
+Variable 64bit signed.</para>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="b-uint64" role="typedef"/>b_uint64</title>
+<indexterm><primary>b_uint64</primary></indexterm><para>
+Variable 64bit unsigned.</para>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="b-new" role="function"/>b_new ()</title>
+<indexterm><primary>b_new</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_new                           (<link linkend="b-t">b_t</link> **data,
+                                             unsigned <link linkend="char">char</link> *path);</programlisting>
+<para>
+Creates a new b_t struct.
+</para>
+<para>
+The new b_t will be allocated and it should be destroied with
+<link linkend="b-destroy"><function>b_destroy()</function></link>. The path is name of the DB. You should read the
+introduction to understand how the B storage uses this path.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to the b_t struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>path</parameter>&nbsp;:</term>
+<listitem><simpara> The path the name of the DB.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-destroy" role="function"/>b_destroy ()</title>
+<indexterm><primary>b_destroy</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_destroy                       (<link linkend="b-t">b_t</link> *data);</programlisting>
+<para>
+Destroies a b_t data struct and closes the storage. This must be the
+last operation with that data.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to the b_t you want destroy.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-sync" role="function"/>b_sync ()</title>
+<indexterm><primary>b_sync</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_sync                          (<link linkend="b-t">b_t</link> *data);</programlisting>
+<para>
+Syncs the storage. You shouldn't use this function because B storage syncs
+the data automaticly.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/iterator.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/iterator.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/iterator.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/iterator.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,210 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Iterators">
+<refmeta>
+<refentrytitle id="top_of_page">Iterators</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Iterators</refname>
+<refpurpose>How you can move between the elements</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+typedef     <link linkend="b-iterator-type-t">b_iterator_type_t</link>;
+typedef     <link linkend="b-iterator-triple-t">b_iterator_triple_t</link>;
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-iterator-type-new">b_iterator_type_new</link>             (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             <link linkend="b-iterator-type-t">b_iterator_type_t</link> **iterator);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-iterator-type-step">b_iterator_type_step</link>            (<link linkend="b-iterator-type-t">b_iterator_type_t</link> *iterator,
+                                             unsigned <link linkend="char">char</link> **ret,
+                                             <link linkend="b-uint64">b_uint64</link> *ret_size);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-iterator-type-destroy">b_iterator_type_destroy</link>         (<link linkend="b-iterator-type-t">b_iterator_type_t</link> *iterator);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-iterator-triple-new">b_iterator_triple_new</link>           (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-iterator-triple-t">b_iterator_triple_t</link> **iterator,
+                                             <link linkend="b-triple-t">b_triple_t</link> *compare);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-iterator-triple-step">b_iterator_triple_step</link>          (<link linkend="b-iterator-triple-t">b_iterator_triple_t</link> *iterator,
+                                             <link linkend="b-triple-t">b_triple_t</link> **triple);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-iterator-triple-destroy">b_iterator_triple_destroy</link>       (<link linkend="b-iterator-triple-t">b_iterator_triple_t</link> *iterator);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+The iterators are useful to get any data from a storage. The triple iterator
+permit you to get triples with a template. For any other information you
+should read the Introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-iterator-type-t" role="typedef"/>b_iterator_type_t</title>
+<indexterm><primary>b_iterator_type_t</primary></indexterm><programlisting>typedef struct b_iterator_type_t b_iterator_type_t;
+</programlisting>
+<para>
+The data struct for a Type Iterator. You should use this data struct
+only with b_iterator_type_*() functions.</para>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-triple-t" role="typedef"/>b_iterator_triple_t</title>
+<indexterm><primary>b_iterator_triple_t</primary></indexterm><programlisting>typedef struct b_iterator_triple_t b_iterator_triple_t;
+</programlisting>
+<para>
+The data struct for a Triple Iterator. You should use this data struct
+only with b_iterator_triple_*() functions.</para>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-type-new" role="function"/>b_iterator_type_new ()</title>
+<indexterm><primary>b_iterator_type_new</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_iterator_type_new             (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             <link linkend="b-iterator-type-t">b_iterator_type_t</link> **iterator);</programlisting>
+<para>
+Creates a new Iterator for a type of element. The iterator must be destoyed
+with <link linkend="b-iterator-type-destroy"><function>b_iterator_type_destroy()</function></link>. You should use <link linkend="b-iterator-type-step"><function>b_iterator_type_step()</function></link> to get
+the list of results.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
+<listitem><simpara> The type of the elements
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>iterator</parameter>&nbsp;:</term>
+<listitem><simpara> The return pointer.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-type-step" role="function"/>b_iterator_type_step ()</title>
+<indexterm><primary>b_iterator_type_step</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_iterator_type_step            (<link linkend="b-iterator-type-t">b_iterator_type_t</link> *iterator,
+                                             unsigned <link linkend="char">char</link> **ret,
+                                             <link linkend="b-uint64">b_uint64</link> *ret_size);</programlisting>
+<para>
+Returns the next element of the storage iterator. If *ret will be NULL
+no other results are into the storage. The new *ret string must be freed
+with a normal <link linkend="free"><function>free()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>iterator</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer of a b_iterator_t struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>ret</parameter>&nbsp;:</term>
+<listitem><simpara> The return string for the next result.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>ret_size</parameter>&nbsp;:</term>
+<listitem><simpara> the len of the ret string. It can be NULL.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-type-destroy" role="function"/>b_iterator_type_destroy ()</title>
+<indexterm><primary>b_iterator_type_destroy</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_iterator_type_destroy         (<link linkend="b-iterator-type-t">b_iterator_type_t</link> *iterator);</programlisting>
+<para>
+Destroies a b_iterator_t struct.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>iterator</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer of a b_iterator_t struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-triple-new" role="function"/>b_iterator_triple_new ()</title>
+<indexterm><primary>b_iterator_triple_new</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_iterator_triple_new           (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-iterator-triple-t">b_iterator_triple_t</link> **iterator,
+                                             <link linkend="b-triple-t">b_triple_t</link> *compare);</programlisting>
+<para>
+Creates a new iterator for triples. It must be destroied with 
+<link linkend="b-iterator-triple-destroy"><function>b_iterator_triple_destroy()</function></link>. You can get the list of results with 
+<link linkend="b-iterator-triple-step"><function>b_iterator_triple_step()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>iterator</parameter>&nbsp;:</term>
+<listitem><simpara> The return pointer for the new iterator.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>compare</parameter>&nbsp;:</term>
+<listitem><simpara> If you want have only results from a template, this b_triple_t
+describes the template. You can create it with <link linkend="b-triple-new-incomplete"><function>b_triple_new_incomplete()</function></link>.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-triple-step" role="function"/>b_iterator_triple_step ()</title>
+<indexterm><primary>b_iterator_triple_step</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_iterator_triple_step          (<link linkend="b-iterator-triple-t">b_iterator_triple_t</link> *iterator,
+                                             <link linkend="b-triple-t">b_triple_t</link> **triple);</programlisting>
+<para>
+Gets the next results. The new b_triple_t must be freed with
+<link linkend="b-triple-destroy"><function>b_triple_destroy()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>iterator</parameter>&nbsp;:</term>
+<listitem><simpara> The triple iterator.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The return pointer for the next b_triple_t. If it is NULL, no other
+results are into the storage.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-iterator-triple-destroy" role="function"/>b_iterator_triple_destroy ()</title>
+<indexterm><primary>b_iterator_triple_destroy</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_iterator_triple_destroy       (<link linkend="b-iterator-triple-t">b_iterator_triple_t</link> *iterator);</programlisting>
+<para>
+Destroies a b_iterator_triple_t data struct.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>iterator</parameter>&nbsp;:</term>
+<listitem><simpara> The triple iterator.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/remove.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/remove.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/remove.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/remove.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Remove">
+<refmeta>
+<refentrytitle id="top_of_page">Remove functions</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Remove functions</refname>
+<refpurpose>How you can remove elements from a storage</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-remove-type">b_remove_type</link>                   (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             unsigned <link linkend="char">char</link> *what,
+                                             <link linkend="b-uint64">b_uint64</link> len);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-remove-triple">b_remove_triple</link>                 (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-triple-t">b_triple_t</link> *triple);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+For any other informantion, read the Introduction.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-remove-type" role="function"/>b_remove_type ()</title>
+<indexterm><primary>b_remove_type</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_remove_type                   (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-type-t">b_type_t</link> type,
+                                             unsigned <link linkend="char">char</link> *what,
+                                             <link linkend="b-uint64">b_uint64</link> len);</programlisting>
+<para>
+Removes a element into the storage. The element is removed if it is not 
+used by some triple.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
+<listitem><simpara> The type of the element
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>what</parameter>&nbsp;:</term>
+<listitem><simpara> the value of the element
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
+<listitem><simpara> The len. It can be 0
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-remove-triple" role="function"/>b_remove_triple ()</title>
+<indexterm><primary>b_remove_triple</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_remove_triple                 (<link linkend="b-t">b_t</link> *data,
+                                             <link linkend="b-triple-t">b_triple_t</link> *triple);</programlisting>
+<para>
+Removes a triple into the storage.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer to a b_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>triple</parameter>&nbsp;:</term>
+<listitem><simpara> The pointer of the triple.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/timer.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/timer.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/timer.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/xml/timer.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+<!ENTITY BVersion SYSTEM "xml/version.xml">
+]>
+<refentry id="B-Timers">
+<refmeta>
+<refentrytitle id="top_of_page">Timers</refentrytitle>
+<manvolnum>3</manvolnum>
+<refmiscinfo>B Library</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+<refname>Timers</refname>
+<refpurpose>Some timer functions</refpurpose>
+<!--[<xref linkend="desc" endterm="desc.title"/>]-->
+</refnamediv>
+
+<refsynopsisdiv id="synopsis">
+<title id="synopsis.title">Synopsis</title>
+
+<synopsis>
+
+
+
+typedef     <link linkend="b-timer-t">b_timer_t</link>;
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-timer-new">b_timer_new</link>                     (<link linkend="b-timer-t">b_timer_t</link> **timer);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-timer-destroy">b_timer_destroy</link>                 (<link linkend="b-timer-t">b_timer_t</link> *timer,
+                                             <link linkend="b-uint64">b_uint64</link> *nanosec);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-timer-start">b_timer_start</link>                   (<link linkend="b-timer-t">b_timer_t</link> *timer);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-timer-stop">b_timer_stop</link>                    (<link linkend="b-timer-t">b_timer_t</link> *timer);
+<link linkend="b-error-t">b_error_t</link>   <link linkend="b-timer-diff">b_timer_diff</link>                    (<link linkend="b-timer-t">b_timer_t</link> *timer,
+                                             <link linkend="b-uint64">b_uint64</link> *nanosec);
+</synopsis>
+</refsynopsisdiv>
+
+
+
+
+
+
+
+
+
+<refsect1 id="desc">
+<title id="desc.title">Description</title>
+<para>
+These functions could be useful into your software.
+</para>
+</refsect1>
+
+<refsect1 id="details">
+<title id="details.title">Details</title>
+<refsect2>
+<title><anchor id="b-timer-t" role="typedef"/>b_timer_t</title>
+<indexterm><primary>b_timer_t</primary></indexterm><programlisting>typedef struct b_timer_t b_timer_t;
+</programlisting>
+<para>
+The data struct for a Timer. You should use this data struct only with 
+b_timer_*() functions.</para>
+<para>
+
+</para></refsect2>
+<refsect2>
+<title><anchor id="b-timer-new" role="function"/>b_timer_new ()</title>
+<indexterm><primary>b_timer_new</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_timer_new                     (<link linkend="b-timer-t">b_timer_t</link> **timer);</programlisting>
+<para>
+Creates a timer. This function execs the <link linkend="b-timer-start"><function>b_timer_start()</function></link>.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>timer</parameter>&nbsp;:</term>
+<listitem><simpara> The return pointer to a b_timer_t struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-timer-destroy" role="function"/>b_timer_destroy ()</title>
+<indexterm><primary>b_timer_destroy</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_timer_destroy                 (<link linkend="b-timer-t">b_timer_t</link> *timer,
+                                             <link linkend="b-uint64">b_uint64</link> *nanosec);</programlisting>
+<para>
+Destroies the b_timer_t data struct and returns the nanonsec from the start 
+moment.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>timer</parameter>&nbsp;:</term>
+<listitem><simpara> The timer you want destroy.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>nanosec</parameter>&nbsp;:</term>
+<listitem><simpara> If it != NULL, It will contain the number of nanosec from the
+start moment and the stop event. If no stop was execed, the <link linkend="b-timer-stop"><function>b_timer_stop()</function></link> 
+will be executed.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-timer-start" role="function"/>b_timer_start ()</title>
+<indexterm><primary>b_timer_start</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_timer_start                   (<link linkend="b-timer-t">b_timer_t</link> *timer);</programlisting>
+<para>
+starts the timer.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>timer</parameter>&nbsp;:</term>
+<listitem><simpara> The b_timer_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-timer-stop" role="function"/>b_timer_stop ()</title>
+<indexterm><primary>b_timer_stop</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_timer_stop                    (<link linkend="b-timer-t">b_timer_t</link> *timer);</programlisting>
+<para>
+stops the timer.</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>timer</parameter>&nbsp;:</term>
+<listitem><simpara> The b_timer_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+<refsect2>
+<title><anchor id="b-timer-diff" role="function"/>b_timer_diff ()</title>
+<indexterm><primary>b_timer_diff</primary></indexterm><programlisting><link linkend="b-error-t">b_error_t</link>   b_timer_diff                    (<link linkend="b-timer-t">b_timer_t</link> *timer,
+                                             <link linkend="b-uint64">b_uint64</link> *nanosec);</programlisting>
+<para>
+checks and returns the differences from the start and the stop (or now).</para>
+<para>
+
+</para><variablelist role="params">
+<varlistentry><term><parameter>timer</parameter>&nbsp;:</term>
+<listitem><simpara> The b_timer_t data struct.
+</simpara></listitem></varlistentry>
+<varlistentry><term><parameter>nanosec</parameter>&nbsp;:</term>
+<listitem><simpara> The nanosec variable'll contain the nanosec from the start moment
+and the stop moment. If no <link linkend="b-timer-stop"><function>b_timer_stop()</function></link> was executed, the stop moment is
+now.
+</simpara></listitem></varlistentry>
+<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The error code.
+</simpara></listitem></varlistentry>
+</variablelist></refsect2>
+
+</refsect1>
+
+
+
+
+</refentry>



Mime
View raw message