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 [5/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
Propchange: incubator/triplesoup/donations/TRIPLES-2-libb/configure
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/triplesoup/donations/TRIPLES-2-libb/configure.ac
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/configure.ac?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/configure.ac (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/configure.ac Fri Apr 13 08:19:45 2007
@@ -0,0 +1,40 @@
+AC_INIT(src/b.h)
+AM_SANITY_CHECK
+AM_INIT_AUTOMAKE(libb, 0.1)
+AM_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
+AC_PROG_CC
+AC_ISC_POSIX
+AC_PROG_RANLIB
+AC_PROG_LIBTOOL
+AC_PROG_INSTALL
+AM_PROG_CC_STDC
+AC_HEADER_STDC
+AC_HEADER_DIRENT
+
+AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],[enable debug (default=no)]), CFLAGS="$CFLAGS -DB_DEBUG", debug=no)
+
+CFLAGS="$CFLAGS -Wall -DB_INTERNAL"
+
+GTK_DOC_CHECK(1.0)
+
+# REDLAND
+AC_ARG_ENABLE(redland, AC_HELP_STRING([--enable-redland],[enable redland support (default=auto)]), redland=$enableval, redland=yes)
+
+if test "$redland" = yes; then
+  AC_CHECK_HEADER(redland.h, REDLAND=yes, REDLAND=no)
+  AC_CHECK_LIB(rdf,librdf_node_get_type, REDLAND=yes, REDLAND=no)
+
+  if test "$REDLAND" = "yes"; then
+    AM_CONDITIONAL(ENABLE_REDLAND, test "$REDLAND" = "yes")
+  fi
+fi
+
+AC_OUTPUT([
+Makefile
+src/Makefile
+test/Makefile 
+utils/Makefile
+docs/Makefile
+redland/Makefile
+])

Added: incubator/triplesoup/donations/TRIPLES-2-libb/depcomp
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/depcomp?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/depcomp (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/depcomp Fri Apr 13 08:19:45 2007
@@ -0,0 +1,479 @@
+#! /bin/sh
+
+# depcomp - compile a program generating dependencies as side-effects
+# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+  echo "depcomp: Variables source, object and depmode must be set" 1>&2
+  exit 1
+fi
+# `libtool' can also be set to `yes' or `no'.
+
+if test -z "$depfile"; then
+   base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
+   dir=`echo "$object" | sed 's,/.*$,/,'`
+   if test "$dir" = "$object"; then
+      dir=
+   fi
+   # FIXME: should be _deps on DOS.
+   depfile="$dir.deps/$base"
+fi
+
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Some modes work just like other modes, but use different flags.  We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write.  Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+  # HP compiler uses -M and no extra arg.
+  gccflag=-M
+  depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+   # This is just like dashmstdout with a different argument.
+   dashmflag=-xM
+   depmode=dashmstdout
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff.  Hmm.
+  "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
+  stat=$?
+  if test $stat -eq 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+  mv "$tmpdepfile" "$depfile"
+  ;;
+
+gcc)
+## There are various ways to get dependency output from gcc.  Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+##   up in a subdir.  Having to rename by hand is ugly.
+##   (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+##   -MM, not -M (despite what the docs say).
+## - Using -M directly means running the compiler twice (even worse
+##   than renaming).
+  if test -z "$gccflag"; then
+    gccflag=-MD,
+  fi
+  "$@" -Wp,"$gccflag$tmpdepfile"
+  stat=$?
+  if test $stat -eq 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+  rm -f "$depfile"
+  echo "$object : \\" > "$depfile"
+  alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+## The second -e expression handles DOS-style file names with drive letters.
+  sed -e 's/^[^:]*: / /' \
+      -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the `deleted header file' problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header).  We avoid this by adding
+## dummy dependencies for each header file.  Too bad gcc doesn't do
+## this for us directly.
+  tr ' ' '
+' < "$tmpdepfile" |
+## Some versions of gcc put a space before the `:'.  On the theory
+## that the space means something, we add a space to the output as
+## well.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly.  Breaking it into two sed invocations is a workaround.
+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+hp)
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
+  ;;
+
+sgi)
+  if test "$libtool" = yes; then
+    "$@" "-Wp,-MDupdate,$tmpdepfile"
+  else
+    "$@" -MDupdate "$tmpdepfile"
+  fi
+  stat=$?
+  if test $stat -eq 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+  rm -f "$depfile"
+
+  if test -f "$tmpdepfile"; then  # yes, the sourcefile depend on other files
+    echo "$object : \\" > "$depfile"
+
+    # Clip off the initial element (the dependent).  Don't try to be
+    # clever and replace this with sed code, as IRIX sed won't handle
+    # lines with more than a fixed number of characters (4096 in
+    # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
+    # the IRIX cc adds comments like `#:fec' to the end of the
+    # dependency line.
+    tr ' ' '
+' < "$tmpdepfile" \
+    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
+    tr '
+' ' ' >> $depfile
+    echo >> $depfile
+
+    # The second pass generates a dummy entry for each header file.
+    tr ' ' '
+' < "$tmpdepfile" \
+   | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+   >> $depfile
+  else
+    # The sourcefile does not contain any dependencies, so just
+    # store a dummy comment line, to avoid errors with the Makefile
+    # "include basename.Plo" scheme.
+    echo "#dummy" > "$depfile"
+  fi
+  rm -f "$tmpdepfile"
+  ;;
+
+aix)
+  # The C for AIX Compiler uses -M and outputs the dependencies
+  # in a .u file.  In older versions, this file always lives in the
+  # current directory.  Also, the AIX compiler puts `$object:' at the
+  # start of each line; $object doesn't have directory information.
+  # Version 6 uses the directory in both cases.
+  stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
+  tmpdepfile="$stripped.u"
+  if test "$libtool" = yes; then
+    "$@" -Wc,-M
+  else
+    "$@" -M
+  fi
+  stat=$?
+
+  if test -f "$tmpdepfile"; then :
+  else
+    stripped=`echo "$stripped" | sed 's,^.*/,,'`
+    tmpdepfile="$stripped.u"
+  fi
+
+  if test $stat -eq 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+
+  if test -f "$tmpdepfile"; then
+    outname="$stripped.o"
+    # Each line is of the form `foo.o: dependent.h'.
+    # Do two passes, one to just change these to
+    # `$object: dependent.h' and one to simply `dependent.h:'.
+    sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
+    sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
+  else
+    # The sourcefile does not contain any dependencies, so just
+    # store a dummy comment line, to avoid errors with the Makefile
+    # "include basename.Plo" scheme.
+    echo "#dummy" > "$depfile"
+  fi
+  rm -f "$tmpdepfile"
+  ;;
+
+icc)
+  # Intel's C compiler understands `-MD -MF file'.  However on
+  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
+  # ICC 7.0 will fill foo.d with something like
+  #    foo.o: sub/foo.c
+  #    foo.o: sub/foo.h
+  # which is wrong.  We want:
+  #    sub/foo.o: sub/foo.c
+  #    sub/foo.o: sub/foo.h
+  #    sub/foo.c:
+  #    sub/foo.h:
+  # ICC 7.1 will output
+  #    foo.o: sub/foo.c sub/foo.h
+  # and will wrap long lines using \ :
+  #    foo.o: sub/foo.c ... \
+  #     sub/foo.h ... \
+  #     ...
+
+  "$@" -MD -MF "$tmpdepfile"
+  stat=$?
+  if test $stat -eq 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+  rm -f "$depfile"
+  # Each line is of the form `foo.o: dependent.h',
+  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+  # Do two passes, one to just change these to
+  # `$object: dependent.h' and one to simply `dependent.h:'.
+  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
+  # Some versions of the HPUX 10.20 sed can't process this invocation
+  # correctly.  Breaking it into two sed invocations is a workaround.
+  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
+    sed -e 's/$/ :/' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+tru64)
+   # The Tru64 compiler uses -MD to generate dependencies as a side
+   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
+   # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+   # dependencies in `foo.d' instead, so we check for that too.
+   # Subdirectories are respected.
+   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+   test "x$dir" = "x$object" && dir=
+   base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+
+   if test "$libtool" = yes; then
+      tmpdepfile1="$dir.libs/$base.lo.d"
+      tmpdepfile2="$dir.libs/$base.d"
+      "$@" -Wc,-MD
+   else
+      tmpdepfile1="$dir$base.o.d"
+      tmpdepfile2="$dir$base.d"
+      "$@" -MD
+   fi
+
+   stat=$?
+   if test $stat -eq 0; then :
+   else
+      rm -f "$tmpdepfile1" "$tmpdepfile2"
+      exit $stat
+   fi
+
+   if test -f "$tmpdepfile1"; then
+      tmpdepfile="$tmpdepfile1"
+   else
+      tmpdepfile="$tmpdepfile2"
+   fi
+   if test -f "$tmpdepfile"; then
+      sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+      # That's a tab and a space in the [].
+      sed -e 's,^.*\.[a-z]*:[	 ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+   else
+      echo "#dummy" > "$depfile"
+   fi
+   rm -f "$tmpdepfile"
+   ;;
+
+#nosideeffect)
+  # This comment above is used by automake to tell side-effect
+  # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+  # Important note: in order to support this mode, a compiler *must*
+  # always write the preprocessed file to stdout, regardless of -o.
+  "$@" || exit $?
+
+  # Remove the call to Libtool.
+  if test "$libtool" = yes; then
+    while test $1 != '--mode=compile'; do
+      shift
+    done
+    shift
+  fi
+
+  # Remove `-o $object'.
+  IFS=" "
+  for arg
+  do
+    case $arg in
+    -o)
+      shift
+      ;;
+    $object)
+      shift
+      ;;
+    *)
+      set fnord "$@" "$arg"
+      shift # fnord
+      shift # $arg
+      ;;
+    esac
+  done
+
+  test -z "$dashmflag" && dashmflag=-M
+  # Require at least two characters before searching for `:'
+  # in the target name.  This is to cope with DOS-style filenames:
+  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
+  "$@" $dashmflag |
+    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
+  rm -f "$depfile"
+  cat < "$tmpdepfile" > "$depfile"
+  tr ' ' '
+' < "$tmpdepfile" | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly.  Breaking it into two sed invocations is a workaround.
+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+dashXmstdout)
+  # This case only exists to satisfy depend.m4.  It is never actually
+  # run, as this mode is specially recognized in the preamble.
+  exit 1
+  ;;
+
+makedepend)
+  "$@" || exit $?
+  # Remove any Libtool call
+  if test "$libtool" = yes; then
+    while test $1 != '--mode=compile'; do
+      shift
+    done
+    shift
+  fi
+  # X makedepend
+  shift
+  cleared=no
+  for arg in "$@"; do
+    case $cleared in
+    no)
+      set ""; shift
+      cleared=yes ;;
+    esac
+    case "$arg" in
+    -D*|-I*)
+      set fnord "$@" "$arg"; shift ;;
+    # Strip any option that makedepend may not understand.  Remove
+    # the object too, otherwise makedepend will parse it as a source file.
+    -*|$object)
+      ;;
+    *)
+      set fnord "$@" "$arg"; shift ;;
+    esac
+  done
+  obj_suffix="`echo $object | sed 's/^.*\././'`"
+  touch "$tmpdepfile"
+  ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+  rm -f "$depfile"
+  cat < "$tmpdepfile" > "$depfile"
+  sed '1,2d' "$tmpdepfile" | tr ' ' '
+' | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly.  Breaking it into two sed invocations is a workaround.
+    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+  rm -f "$tmpdepfile" "$tmpdepfile".bak
+  ;;
+
+cpp)
+  # Important note: in order to support this mode, a compiler *must*
+  # always write the preprocessed file to stdout.
+  "$@" || exit $?
+
+  # Remove the call to Libtool.
+  if test "$libtool" = yes; then
+    while test $1 != '--mode=compile'; do
+      shift
+    done
+    shift
+  fi
+
+  # Remove `-o $object'.
+  IFS=" "
+  for arg
+  do
+    case $arg in
+    -o)
+      shift
+      ;;
+    $object)
+      shift
+      ;;
+    *)
+      set fnord "$@" "$arg"
+      shift # fnord
+      shift # $arg
+      ;;
+    esac
+  done
+
+  "$@" -E |
+    sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+    sed '$ s: \\$::' > "$tmpdepfile"
+  rm -f "$depfile"
+  echo "$object : \\" > "$depfile"
+  cat < "$tmpdepfile" >> "$depfile"
+  sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+msvisualcpp)
+  # Important note: in order to support this mode, a compiler *must*
+  # always write the preprocessed file to stdout, regardless of -o,
+  # because we must use -o when running libtool.
+  "$@" || exit $?
+  IFS=" "
+  for arg
+  do
+    case "$arg" in
+    "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+	set fnord "$@"
+	shift
+	shift
+	;;
+    *)
+	set fnord "$@" "$arg"
+	shift
+	shift
+	;;
+    esac
+  done
+  "$@" -E |
+  sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
+  rm -f "$depfile"
+  echo "$object : \\" > "$depfile"
+  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::	\1 \\:p' >> "$depfile"
+  echo "	" >> "$depfile"
+  . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+none)
+  exec "$@"
+  ;;
+
+*)
+  echo "Unknown depmode $depmode" 1>&2
+  exit 1
+  ;;
+esac
+
+exit 0

Propchange: incubator/triplesoup/donations/TRIPLES-2-libb/depcomp
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-docs.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-docs.xml?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-docs.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-docs.xml Fri Apr 13 08:19:45 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book 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">
+]>
+<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
+  <bookinfo>
+    <title>B Storage - Reference Manual</title>
+    <releaseinfo>for B Storage &BVersion;</releaseinfo>
+  </bookinfo>
+
+   <xi:include href="intro.xml"/>
+
+  <part id="b2">
+    <title>Functions and Operations</title>
+      <xi:include href="xml/init.xml"/>
+      <xi:include href="xml/cache.xml"/>
+      <xi:include href="xml/error.xml"/>
+      <xi:include href="xml/triple.xml"/>
+      <xi:include href="xml/add.xml"/>
+      <xi:include href="xml/get.xml"/>
+      <xi:include href="xml/remove.xml"/>
+      <xi:include href="xml/count.xml"/>
+      <xi:include href="xml/iterator.xml"/>
+      <xi:include href="xml/timer.xml"/>
+  </part>
+
+  <xi:include href="example.xml"/>
+
+  <xi:include href="stats.xml"/>
+
+</book>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-overrides.txt
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-overrides.txt?view=auto&rev=528519
==============================================================================
    (empty)

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-sections.txt
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-sections.txt?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-sections.txt (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/B-sections.txt Fri Apr 13 08:19:45 2007
@@ -0,0 +1,87 @@
+<SECTION>
+<FILE>error</FILE>
+<TITLE>Error</TITLE>
+b_error_t
+b_strerror
+</SECTION>
+
+<FILE>init</FILE>
+<TITLE>Init</TITLE>
+b_t
+b_type_t
+b_triple_t
+b_int64
+b_uint64
+b_new
+b_destroy
+b_sync
+</SECTION>
+
+<SECTION>
+<FILE>cache</FILE>
+<TITLE>Cache</TITLE>
+b_set_max_cache
+b_get_max_cache
+</SECTION>
+
+<SECTION>
+<FILE>triple</FILE>
+<TITLE>Triples</TITLE>
+b_triple_new
+b_triple_new_incomplete
+b_triple_destroy
+b_triple_print
+</SECTION>
+
+<SECTION>
+<FILE>add</FILE>
+<TITLE>Add</TITLE>
+b_add_type
+b_add_triple
+</SECTION>
+
+<SECTION>
+<FILE>get</FILE>
+<TITLE>Get</TITLE>
+b_get_type
+b_get_triple
+</SECTION>
+
+<SECTION>
+<FILE>remove</FILE>
+<TITLE>Remove</TITLE>
+b_remove_type
+b_remove_triple
+</SECTION>
+
+<SECTION>
+<FILE>count</FILE>
+<TITLE>Count</TITLE>
+b_count_type
+b_count_triple
+</SECTION>
+
+<SECTION>
+<FILE>iterator</FILE>
+<TITLE>Iterators</TITLE>
+b_iterator_type_t
+b_iterator_triple_t
+b_iterator_type_new
+b_iterator_type_step
+b_iterator_type_destroy
+b_iterator_triple_new
+b_iterator_triple_step
+b_iterator_triple_destroy
+</SECTION>
+
+<SECTION>
+<FILE>timer</FILE>
+<TITLE>Timers</TITLE>
+b_timer_t
+b_timer_new
+b_timer_destroy
+b_timer_start
+b_timer_stop
+b_timer_diff
+</SECTION>
+

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.am?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.am (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.am Fri Apr 13 08:19:45 2007
@@ -0,0 +1,79 @@
+## Process this file with automake to produce Makefile.in
+
+# We require automake 1.6 at least.
+AUTOMAKE_OPTIONS = 1.6
+
+# This is a blank Makefile.am for using gtk-doc.
+# Copy this to your project's API docs directory and modify the variables to
+# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
+# of using the various options.
+
+# The name of the module, e.g. 'glib'.
+DOC_MODULE= B
+
+# The top-level SGML file. You can change this if you want to.
+DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
+
+# The directory containing the source code. Relative to $(srcdir).
+# gtk-doc will search all .c & .h files beneath here for inline comments
+# documenting the functions and macros.
+# e.g. DOC_SOURCE_DIR=../../../gtk
+DOC_SOURCE_DIR= ../src
+
+# Extra options to pass to gtkdoc-scangobj. Not normally needed.
+SCANGOBJ_OPTIONS=
+
+# Extra options to supply to gtkdoc-scan.
+# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" 
+SCAN_OPTIONS=
+
+# Extra options to supply to gtkdoc-mkdb.
+# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--sgml-mode --output-format=xml
+
+# Extra options to supply to gtkdoc-mktmpl
+# e.g. MKTMPL_OPTIONS=--only-section-tmpl
+MKTMPL_OPTIONS=
+
+# Extra options to supply to gtkdoc-fixref. Not normally needed.
+# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
+FIXXREF_OPTIONS=
+
+# Used for dependencies. The docs will be rebuilt if any of these change.
+# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
+# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
+HFILE_GLOB=$(top_srcdir)/src/b.h
+CFILE_GLOB=$(top_srcdir)/src/*.c
+
+# Header files to ignore when scanning.
+# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
+IGNORE_HFILES=b_internal.h
+
+
+# Images to copy into HTML directory.
+# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
+HTML_IMAGES=
+
+# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
+# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
+content_files=
+
+# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
+# These files must be listed here *and* in content_files
+# e.g. expand_content_files=running.sgml
+expand_content_files=
+
+# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
+# Only needed if you are using gtkdoc-scangobj to dynamically query widget
+# signals and properties.
+# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
+# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
+INCLUDES=
+GTKDOC_LIBS=
+
+# This includes the standard gtk-doc make rules, copied by gtkdocize.
+include $(top_srcdir)/gtk-doc.make
+
+# Other files to distribute
+# e.g. EXTRA_DIST += version.xml.in
+EXTRA_DIST += 

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.in
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.in?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.in (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/Makefile.in Fri Apr 13 08:19:45 2007
@@ -0,0 +1,522 @@
+# Makefile.in generated by automake 1.7.9 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# -*- mode: makefile -*-
+
+####################################
+# Everything below here is generic #
+####################################
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_triplet = @host@
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@
+ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@
+ENABLE_REDLAND_FALSE = @ENABLE_REDLAND_FALSE@
+ENABLE_REDLAND_TRUE = @ENABLE_REDLAND_TRUE@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GTK_DOC_USE_LIBTOOL_FALSE = @GTK_DOC_USE_LIBTOOL_FALSE@
+GTK_DOC_USE_LIBTOOL_TRUE = @GTK_DOC_USE_LIBTOOL_TRUE@
+HTML_DIR = @HTML_DIR@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+
+# We require automake 1.6 at least.
+AUTOMAKE_OPTIONS = 1.6
+
+# This is a blank Makefile.am for using gtk-doc.
+# Copy this to your project's API docs directory and modify the variables to
+# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
+# of using the various options.
+
+# The name of the module, e.g. 'glib'.
+DOC_MODULE = B
+
+# The top-level SGML file. You can change this if you want to.
+DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
+
+# The directory containing the source code. Relative to $(srcdir).
+# gtk-doc will search all .c & .h files beneath here for inline comments
+# documenting the functions and macros.
+# e.g. DOC_SOURCE_DIR=../../../gtk
+DOC_SOURCE_DIR = ../src
+
+# Extra options to pass to gtkdoc-scangobj. Not normally needed.
+SCANGOBJ_OPTIONS = 
+
+# Extra options to supply to gtkdoc-scan.
+# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" 
+SCAN_OPTIONS = 
+
+# Extra options to supply to gtkdoc-mkdb.
+# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS = --sgml-mode --output-format=xml
+
+# Extra options to supply to gtkdoc-mktmpl
+# e.g. MKTMPL_OPTIONS=--only-section-tmpl
+MKTMPL_OPTIONS = 
+
+# Extra options to supply to gtkdoc-fixref. Not normally needed.
+# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
+FIXXREF_OPTIONS = 
+
+# Used for dependencies. The docs will be rebuilt if any of these change.
+# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
+# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
+HFILE_GLOB = $(top_srcdir)/src/b.h
+CFILE_GLOB = $(top_srcdir)/src/*.c
+
+# Header files to ignore when scanning.
+# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
+IGNORE_HFILES = b_internal.h
+
+# Images to copy into HTML directory.
+# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
+HTML_IMAGES = 
+
+# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
+# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
+content_files = 
+
+# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
+# These files must be listed here *and* in content_files
+# e.g. expand_content_files=running.sgml
+expand_content_files = 
+
+# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
+# Only needed if you are using gtkdoc-scangobj to dynamically query widget
+# signals and properties.
+# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
+# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
+INCLUDES = 
+GTKDOC_LIBS = 
+@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
+
+@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
+@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
+@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
+
+# We set GPATH here; this gives us semantics for GNU make
+# which are more like other make's VPATH, when it comes to
+# whether a source that is a target of one rule is then
+# searched for in VPATH/GPATH.
+#
+GPATH = $(srcdir)
+
+TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
+
+
+# This includes the standard gtk-doc make rules, copied by gtkdocize.
+
+# Other files to distribute
+# e.g. EXTRA_DIST += version.xml.in
+EXTRA_DIST = \
+	$(content_files)		\
+	$(HTML_IMAGES)			\
+	$(DOC_MAIN_SGML_FILE)		\
+	$(DOC_MODULE)-sections.txt	\
+	$(DOC_MODULE)-overrides.txt\
+
+
+DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
+	   $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
+
+
+SCANOBJ_FILES = \
+	$(DOC_MODULE).args 	 \
+	$(DOC_MODULE).hierarchy  \
+	$(DOC_MODULE).interfaces \
+	$(DOC_MODULE).prerequisites \
+	$(DOC_MODULE).signals
+
+
+CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS)
+subdir = docs
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+DIST_SOURCES =
+DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/gtk-doc.make \
+	Makefile.am
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/gtk-doc.make $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  docs/Makefile
+Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+
+distclean-libtool:
+	-rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	$(mkinstalldirs) $(distdir)/..
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+	list='$(DISTFILES)'; for file in $$list; do \
+	  case $$file in \
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+	  esac; \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+	$(MAKE) $(AM_MAKEFLAGS) \
+	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
+	  dist-hook
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
+
+distclean-generic:
+	-rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic \
+	maintainer-clean-local
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-local
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+	clean-libtool clean-local distclean distclean-generic \
+	distclean-libtool distdir dvi dvi-am info info-am install \
+	install-am install-data install-data-am install-data-local \
+	install-exec install-exec-am install-info install-info-am \
+	install-man install-strip installcheck installcheck-am \
+	installdirs maintainer-clean maintainer-clean-generic \
+	maintainer-clean-local mostlyclean mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+	uninstall-info-am uninstall-local
+
+
+@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
+
+#### scan ####
+
+@ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
+@ENABLE_GTK_DOC_TRUE@	@echo 'gtk-doc: Scanning header files'
+@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
+@ENABLE_GTK_DOC_TRUE@	if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
+@ENABLE_GTK_DOC_TRUE@	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
+@ENABLE_GTK_DOC_TRUE@	else \
+@ENABLE_GTK_DOC_TRUE@	    cd $(srcdir) ; \
+@ENABLE_GTK_DOC_TRUE@	    for i in $(SCANOBJ_FILES) ; do \
+@ENABLE_GTK_DOC_TRUE@               test -f $$i || touch $$i ; \
+@ENABLE_GTK_DOC_TRUE@	    done \
+@ENABLE_GTK_DOC_TRUE@	fi
+@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && \
+@ENABLE_GTK_DOC_TRUE@	  gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
+@ENABLE_GTK_DOC_TRUE@	touch scan-build.stamp
+
+@ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
+@ENABLE_GTK_DOC_TRUE@	@true
+
+#### templates ####
+
+@ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
+@ENABLE_GTK_DOC_TRUE@	@echo 'gtk-doc: Rebuilding template files'
+@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
+@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
+@ENABLE_GTK_DOC_TRUE@	touch tmpl-build.stamp
+
+@ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp
+@ENABLE_GTK_DOC_TRUE@	@true
+
+#### xml ####
+
+@ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml $(expand_content_files)
+@ENABLE_GTK_DOC_TRUE@	@echo 'gtk-doc: Building XML'
+@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
+@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && \
+@ENABLE_GTK_DOC_TRUE@	gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
+@ENABLE_GTK_DOC_TRUE@	touch sgml-build.stamp
+
+@ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
+@ENABLE_GTK_DOC_TRUE@	@true
+
+#### html ####
+
+@ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
+@ENABLE_GTK_DOC_TRUE@	@echo 'gtk-doc: Building HTML'
+@ENABLE_GTK_DOC_TRUE@	@-chmod -R u+w $(srcdir)
+@ENABLE_GTK_DOC_TRUE@	rm -rf $(srcdir)/html 
+@ENABLE_GTK_DOC_TRUE@	mkdir $(srcdir)/html
+@ENABLE_GTK_DOC_TRUE@	cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
+@ENABLE_GTK_DOC_TRUE@	test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
+@ENABLE_GTK_DOC_TRUE@	@echo 'gtk-doc: Fixing cross-references' 
+@ENABLE_GTK_DOC_TRUE@	cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
+@ENABLE_GTK_DOC_TRUE@	touch html-build.stamp
+@ENABLE_GTK_DOC_FALSE@all-local:
+
+##############
+
+clean-local:
+	rm -f *~ *.bak
+	rm -rf .libs
+
+maintainer-clean-local: clean
+	cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
+
+install-data-local:
+	installfiles=`echo $(srcdir)/html/*`; \
+	if test "$$installfiles" = '$(srcdir)/html/*'; \
+	then echo '-- Nothing to install' ; \
+	else \
+	  $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
+	  for i in $$installfiles; do \
+	    echo '-- Installing '$$i ; \
+	    $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
+	  done; \
+	  echo '-- Installing $(srcdir)/html/index.sgml' ; \
+	  $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
+	fi
+
+uninstall-local:
+	rm -f $(DESTDIR)$(TARGET_DIR)/*
+
+#
+# Require gtk-doc when making dist
+#
+@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
+@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
+@ENABLE_GTK_DOC_FALSE@	@echo "*** gtk-doc must be installed and enabled in order to make dist"
+@ENABLE_GTK_DOC_FALSE@	@false
+
+dist-hook: dist-check-gtkdoc dist-hook-local
+	mkdir $(distdir)/tmpl
+	mkdir $(distdir)/xml
+	mkdir $(distdir)/html
+	-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
+	-cp $(srcdir)/xml/*.xml $(distdir)/xml
+	-cp $(srcdir)/html/* $(distdir)/html
+	if test -f $(srcdir)/$(DOC_MODULE).types; then \
+	  cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \
+	fi
+
+.PHONY : dist-hook-local
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Add.html
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Add.html?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Add.html (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Add.html Fri Apr 13 08:19:45 2007
@@ -0,0 +1,150 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Add functions</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="B Storage - Reference Manual">
+<link rel="up" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="prev" href="B-Triples.html" title="Triples">
+<link rel="next" href="B-Get.html" title="Get data">
+<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="b-intro.html" title="Part&#160;I.&#160;B Storage - Introduction">
+<link rel="part" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="part" href="b-example.html" title="Part&#160;III.&#160;An Example">
+<link rel="part" href="b-stats.html" title="Part&#160;IV.&#160;Stats and comparations">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="B-Triples.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="b2.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">B Storage - Reference Manual</th>
+<td><a accesskey="n" href="B-Get.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="B-Add"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="top_of_page"></a>Add functions</span></h2>
+<p>Add functions &#8212; How you can add triples or simple data elements</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Add.html#b-add-type">b_add_type</a>                      (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-type-t">b_type_t</a> type,
+                                             unsigned char *what,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> len);
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Add.html#b-add-triple">b_add_triple</a>                    (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             b_triple_t *triple);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="desc"></a><h2>Description</h2>
+<p>
+These functions don't create duplicate elements in the B Storage. For any
+other information you should read the introduction.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="details"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id2538955"></a><h3>
+<a name="b-add-type"></a>b_add_type ()</h3>
+<a class="indexterm" name="id2538967"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_add_type                      (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-type-t">b_type_t</a> type,
+                                             unsigned char *what,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> len);</pre>
+<p>
+Adds a item into the storage. No dublicate items will be inserted.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to the b_t struct.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
+<td> The type of the item.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>what</code></em>&#160;:</span></td>
+<td> The data as string.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>len</code></em>&#160;:</span></td>
+<td> The len of what. If it is 0, this function uses strlen on what.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2543805"></a><h3>
+<a name="b-add-triple"></a>b_add_triple ()</h3>
+<a class="indexterm" name="id2543817"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_add_triple                    (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             b_triple_t *triple);</pre>
+<p>
+Adds a triple and the internal elements into the storage. This function
+doesn't insert a triple if it exists already in the storage.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to the b_t struct.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>triple</code></em>&#160;:</span></td>
+<td> The triple. You should use <a href="B-Triples.html#b-triple-new"><code class="function">b_triple_new()</code></a> to create it.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Cache.html
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Cache.html?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Cache.html (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Cache.html Fri Apr 13 08:19:45 2007
@@ -0,0 +1,137 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Cache System</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="B Storage - Reference Manual">
+<link rel="up" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="prev" href="B-Init.html" title="Basic functions">
+<link rel="next" href="B-Error.html" title="Error">
+<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="b-intro.html" title="Part&#160;I.&#160;B Storage - Introduction">
+<link rel="part" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="part" href="b-example.html" title="Part&#160;III.&#160;An Example">
+<link rel="part" href="b-stats.html" title="Part&#160;IV.&#160;Stats and comparations">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="B-Init.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="b2.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">B Storage - Reference Manual</th>
+<td><a accesskey="n" href="B-Error.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="B-Cache"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="top_of_page"></a>Cache System</span></h2>
+<p>Cache System &#8212; Get or Change the Cache level</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Cache.html#b-set-max-cache">b_set_max_cache</a>                 (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> max_cache);
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Cache.html#b-get-max-cache">b_get_max_cache</a>                 (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> *max_cache);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="desc"></a><h2>Description</h2>
+<p>
+If you need change the cache lavel, you can do it with these functions. For
+any other informations, you should read the Introduction.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="details"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id2519455"></a><h3>
+<a name="b-set-max-cache"></a>b_set_max_cache ()</h3>
+<a class="indexterm" name="id2519466"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_set_max_cache                 (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> max_cache);</pre>
+<p>
+Changes the MaxCache.
+</p>
+<p>
+If you want change the max cache value in any moment you must use this
+function.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to the b_t struct
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>max_cache</code></em>&#160;:</span></td>
+<td> The new max_cache.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2519551"></a><h3>
+<a name="b-get-max-cache"></a>b_get_max_cache ()</h3>
+<a class="indexterm" name="id2524705"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_get_max_cache                 (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> *max_cache);</pre>
+<p>
+Returns the value of the MaXCache.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to the b_t struct
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>max_cache</code></em>&#160;:</span></td>
+<td> A pointer to a b_uint64 variable.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code;
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Count.html
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Count.html?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Count.html (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Count.html Fri Apr 13 08:19:45 2007
@@ -0,0 +1,141 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Count functions</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="B Storage - Reference Manual">
+<link rel="up" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="prev" href="B-Remove.html" title="Remove functions">
+<link rel="next" href="B-Iterators.html" title="Iterators">
+<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="b-intro.html" title="Part&#160;I.&#160;B Storage - Introduction">
+<link rel="part" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="part" href="b-example.html" title="Part&#160;III.&#160;An Example">
+<link rel="part" href="b-stats.html" title="Part&#160;IV.&#160;Stats and comparations">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="B-Remove.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="b2.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">B Storage - Reference Manual</th>
+<td><a accesskey="n" href="B-Iterators.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="B-Count"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="top_of_page"></a>Count functions</span></h2>
+<p>Count functions &#8212; How many elements do you have into your storage?</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Count.html#b-count-type">b_count_type</a>                    (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-type-t">b_type_t</a> type,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> *count);
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Count.html#b-count-triple">b_count_triple</a>                  (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> *count);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="desc"></a><h2>Description</h2>
+<p>
+The number of elements into your storage. For any other informantion, read
+the introduction.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="details"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id2517504"></a><h3>
+<a name="b-count-type"></a>b_count_type ()</h3>
+<a class="indexterm" name="id2517515"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_count_type                    (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-type-t">b_type_t</a> type,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> *count);</pre>
+<p>
+counts the elements of a b_type_t into the storage.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to a b_t struct
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
+<td> The type of elements you want count.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>count</code></em>&#160;:</span></td>
+<td> The pointer to a b_uint64. It'll contain the number of elements.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2528563"></a><h3>
+<a name="b-count-triple"></a>b_count_triple ()</h3>
+<a class="indexterm" name="id2528575"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_count_triple                  (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> *count);</pre>
+<p>
+counts the triples into the Storage.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to a b_t struct
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>count</code></em>&#160;:</span></td>
+<td> The pointer to a b_uint64. It'll contain the number of triples.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Error.html
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Error.html?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Error.html (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Error.html Fri Apr 13 08:19:45 2007
@@ -0,0 +1,147 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Error</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="B Storage - Reference Manual">
+<link rel="up" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="prev" href="B-Cache.html" title="Cache System">
+<link rel="next" href="B-Triples.html" title="Triples">
+<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="b-intro.html" title="Part&#160;I.&#160;B Storage - Introduction">
+<link rel="part" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="part" href="b-example.html" title="Part&#160;III.&#160;An Example">
+<link rel="part" href="b-stats.html" title="Part&#160;IV.&#160;Stats and comparations">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="B-Cache.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="b2.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">B Storage - Reference Manual</th>
+<td><a accesskey="n" href="B-Triples.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="B-Error"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="top_of_page"></a>Error</span></h2>
+<p>Error &#8212; Error messages and error functions</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+enum        <a href="B-Init.html#b-error-t">b_error_t</a>;
+char*       <a href="B-Init.html#b-strerror">b_strerror</a>                      (<a href="B-Init.html#b-error-t">b_error_t</a> error);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="desc"></a><h2>Description</h2>
+<p>
+The Error code, The error functions. For any other informations, you should
+read the Introduction.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="details"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id2535228"></a><h3>
+<a name="b-error-t"></a>enum b_error_t</h3>
+<a class="indexterm" name="id2535240"></a><pre class="programlisting">typedef enum
+{
+  B_OK = 0,
+
+  B_ERROR_MEMORY,
+  B_ERROR_POSIX,
+  B_ERROR_INTERNAL,
+
+  B_ERROR_DATA
+} b_error_t;
+</pre>
+<p>
+The list of errors for this library.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><a name="B-OK:CAPS"></a><code class="literal">B_OK</code></span></td>
+<td> Success.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-MEMORY:CAPS"></a><code class="literal">B_ERROR_MEMORY</code></span></td>
+<td> Error in a alloc operation.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-POSIX:CAPS"></a><code class="literal">B_ERROR_POSIX</code></span></td>
+<td> System error. If you are using a Posix system, read the 
+errno variable.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-INTERNAL:CAPS"></a><code class="literal">B_ERROR_INTERNAL</code></span></td>
+<td> Internal error. It shouldn't be.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-DATA:CAPS"></a><code class="literal">B_ERROR_DATA</code></span></td>
+<td> Pls, read the documentation.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2535100"></a><h3>
+<a name="b-strerror"></a>b_strerror ()</h3>
+<a class="indexterm" name="id2535111"></a><pre class="programlisting">char*       b_strerror                      (<a href="B-Init.html#b-error-t">b_error_t</a> error);</pre>
+<p>
+Returns the error code in a human readble format. This return string 
+doesn't not freed!!</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> The error code
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a string with the error code in human readble format.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Get.html
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Get.html?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Get.html (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Get.html Fri Apr 13 08:19:45 2007
@@ -0,0 +1,165 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Get data</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="B Storage - Reference Manual">
+<link rel="up" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="prev" href="B-Add.html" title="Add functions">
+<link rel="next" href="B-Remove.html" title="Remove functions">
+<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="b-intro.html" title="Part&#160;I.&#160;B Storage - Introduction">
+<link rel="part" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="part" href="b-example.html" title="Part&#160;III.&#160;An Example">
+<link rel="part" href="b-stats.html" title="Part&#160;IV.&#160;Stats and comparations">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="B-Add.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="b2.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">B Storage - Reference Manual</th>
+<td><a accesskey="n" href="B-Remove.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="B-Get"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="top_of_page"></a>Get data</span></h2>
+<p>Get data &#8212; Check function of elements in the B Storage</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Get.html#b-get-type">b_get_type</a>                      (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-type-t">b_type_t</a> type,
+                                             unsigned char *what,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> len,
+                                             char *exist);
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Get.html#b-get-triple">b_get_triple</a>                    (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             b_triple_t *triple,
+                                             char *exist);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="desc"></a><h2>Description</h2>
+<p>
+These functions check a triple or a single data element into the B Storage.
+For any other information you should read the introduction.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="details"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id2520786"></a><h3>
+<a name="b-get-type"></a>b_get_type ()</h3>
+<a class="indexterm" name="id2520798"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_get_type                      (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             <a href="B-Init.html#b-type-t">b_type_t</a> type,
+                                             unsigned char *what,
+                                             <a href="B-Init.html#b-uint64">b_uint64</a> len,
+                                             char *exist);</pre>
+<p>
+Searchs a data into the storage.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to a b_t data struct.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></td>
+<td> The type of the element you are looking for.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>what</code></em>&#160;:</span></td>
+<td> The data of this element as string.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>len</code></em>&#160;:</span></td>
+<td> The len of the string (if 0, this function uses strlen on what).
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>exist</code></em>&#160;:</span></td>
+<td> A pointer to a char. It will be 1 if the data exists or 0.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2551924"></a><h3>
+<a name="b-get-triple"></a>b_get_triple ()</h3>
+<a class="indexterm" name="id2551936"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_get_triple                    (<a href="B-Init.html#b-t">b_t</a> *data,
+                                             b_triple_t *triple,
+                                             char *exist);</pre>
+<p>
+Searchs a triple into the storage.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to a b_t data struct.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>triple</code></em>&#160;:</span></td>
+<td> The triple you are looking for.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>exist</code></em>&#160;:</span></td>
+<td> A pointer to a char. It will be 1 if the data exists or 0.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>

Added: incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Init.html
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Init.html?view=auto&rev=528519
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Init.html (added)
+++ incubator/triplesoup/donations/TRIPLES-2-libb/docs/html/B-Init.html Fri Apr 13 08:19:45 2007
@@ -0,0 +1,347 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Basic functions</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
+<link rel="start" href="index.html" title="B Storage - Reference Manual">
+<link rel="up" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="prev" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="next" href="B-Cache.html" title="Cache System">
+<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+<link rel="part" href="b-intro.html" title="Part&#160;I.&#160;B Storage - Introduction">
+<link rel="part" href="b2.html" title="Part&#160;II.&#160;Functions and Operations">
+<link rel="part" href="b-example.html" title="Part&#160;III.&#160;An Example">
+<link rel="part" href="b-stats.html" title="Part&#160;IV.&#160;Stats and comparations">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
+<tr valign="middle">
+<td><a accesskey="p" href="b2.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="b2.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">B Storage - Reference Manual</th>
+<td><a accesskey="n" href="B-Cache.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr>
+<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
+                  &#160;|&#160;
+                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
+</table>
+<div class="refentry" lang="en">
+<a name="B-Init"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="top_of_page"></a>Basic functions</span></h2>
+<p>Basic functions &#8212; new, destroy, sync</p>
+</td>
+<td valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsynopsisdiv">
+<a name="synopsis"></a><h2>Synopsis</h2>
+<pre class="synopsis">
+
+
+
+enum        <a href="B-Init.html#b-error-t">b_error_t</a>;
+char*       <a href="B-Init.html#b-strerror">b_strerror</a>                      (<a href="B-Init.html#b-error-t">b_error_t</a> error);
+typedef     <a href="B-Init.html#b-t">b_t</a>;
+enum        <a href="B-Init.html#b-type-t">b_type_t</a>;
+typedef     <a href="B-Init.html#b-int64">b_int64</a>;
+typedef     <a href="B-Init.html#b-uint64">b_uint64</a>;
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Init.html#b-new">b_new</a>                           (<a href="B-Init.html#b-t">b_t</a> **data,
+                                             unsigned char *path);
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Init.html#b-destroy">b_destroy</a>                       (<a href="B-Init.html#b-t">b_t</a> *data);
+<a href="B-Init.html#b-error-t">b_error_t</a>   <a href="B-Init.html#b-sync">b_sync</a>                          (<a href="B-Init.html#b-t">b_t</a> *data);
+</pre>
+</div>
+<div class="refsect1" lang="en">
+<a name="desc"></a><h2>Description</h2>
+<p>
+These functions create/open, close and sync a B Storage. For more informations
+you should read the introduction.
+</p>
+</div>
+<div class="refsect1" lang="en">
+<a name="details"></a><h2>Details</h2>
+<div class="refsect2" lang="en">
+<a name="id2476713"></a><h3>
+<a name="b-error-t"></a>enum b_error_t</h3>
+<a class="indexterm" name="id2476724"></a><pre class="programlisting">typedef enum
+{
+  B_OK = 0,
+
+  B_ERROR_MEMORY,
+  B_ERROR_POSIX,
+  B_ERROR_INTERNAL,
+
+  B_ERROR_DATA
+} b_error_t;
+</pre>
+<p>
+The list of errors for this library.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><a name="B-OK:CAPS"></a><code class="literal">B_OK</code></span></td>
+<td> Success.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-MEMORY:CAPS"></a><code class="literal">B_ERROR_MEMORY</code></span></td>
+<td> Error in a alloc operation.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-POSIX:CAPS"></a><code class="literal">B_ERROR_POSIX</code></span></td>
+<td> System error. If you are using a Posix system, read the 
+errno variable.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-INTERNAL:CAPS"></a><code class="literal">B_ERROR_INTERNAL</code></span></td>
+<td> Internal error. It shouldn't be.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-ERROR-DATA:CAPS"></a><code class="literal">B_ERROR_DATA</code></span></td>
+<td> Pls, read the documentation.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2543084"></a><h3>
+<a name="b-strerror"></a>b_strerror ()</h3>
+<a class="indexterm" name="id2543096"></a><pre class="programlisting">char*       b_strerror                      (<a href="B-Init.html#b-error-t">b_error_t</a> error);</pre>
+<p>
+Returns the error code in a human readble format. This return string 
+doesn't not freed!!</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td>
+<td> The error code
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> a string with the error code in human readble format.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2527893"></a><h3>
+<a name="b-t"></a>b_t</h3>
+<a class="indexterm" name="id2527905"></a><pre class="programlisting">typedef struct b_t b_t;
+</pre>
+<p>
+The principal data struct. You must have one of this for any B storage.</p>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2527925"></a><h3>
+<a name="b-type-t"></a>enum b_type_t</h3>
+<a class="indexterm" name="id2527937"></a><pre class="programlisting">typedef enum
+{
+  B_TYPE_URI,
+  B_TYPE_PROPERTY,
+  B_TYPE_LITERAL,
+  B_TYPE_BNODE,
+  B_TYPE_CONTEXT,
+  B_TYPE_DATATYPE
+} b_type_t;
+</pre>
+<p>
+The types of simple elements.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><a name="B-TYPE-URI:CAPS"></a><code class="literal">B_TYPE_URI</code></span></td>
+<td> The URI elements.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-TYPE-PROPERTY:CAPS"></a><code class="literal">B_TYPE_PROPERTY</code></span></td>
+<td> The properties are in a separated B-Tree.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-TYPE-LITERAL:CAPS"></a><code class="literal">B_TYPE_LITERAL</code></span></td>
+<td> The Literal elements.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-TYPE-BNODE:CAPS"></a><code class="literal">B_TYPE_BNODE</code></span></td>
+<td> The BNode elements.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-TYPE-CONTEXT:CAPS"></a><code class="literal">B_TYPE_CONTEXT</code></span></td>
+<td> The Contexts are URI but they are into a separated B-Tree.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><a name="B-TYPE-DATATYPE:CAPS"></a><code class="literal">B_TYPE_DATATYPE</code></span></td>
+<td> Like the Contexts the Datatypes are into a separated
+B-Tree.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2528092"></a><h3>
+<a name="b-int64"></a>b_int64</h3>
+<a class="indexterm" name="id2528104"></a><p>
+Variable 64bit signed.</p>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2471934"></a><h3>
+<a name="b-uint64"></a>b_uint64</h3>
+<a class="indexterm" name="id2471946"></a><p>
+Variable 64bit unsigned.</p>
+<p>
+
+</p>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2471959"></a><h3>
+<a name="b-new"></a>b_new ()</h3>
+<a class="indexterm" name="id2471971"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_new                           (<a href="B-Init.html#b-t">b_t</a> **data,
+                                             unsigned char *path);</pre>
+<p>
+Creates a new b_t struct.
+</p>
+<p>
+The new b_t will be allocated and it should be destroied with
+<a href="B-Init.html#b-destroy"><code class="function">b_destroy()</code></a>. The path is name of the DB. You should read the
+introduction to understand how the B storage uses this path.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to the b_t struct.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>path</code></em>&#160;:</span></td>
+<td> The path the name of the DB.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> the error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2472067"></a><h3>
+<a name="b-destroy"></a>b_destroy ()</h3>
+<a class="indexterm" name="id2472079"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_destroy                       (<a href="B-Init.html#b-t">b_t</a> *data);</pre>
+<p>
+Destroies a b_t data struct and closes the storage. This must be the
+last operation with that data.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to the b_t you want destroy.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<hr>
+<div class="refsect2" lang="en">
+<a name="id2472141"></a><h3>
+<a name="b-sync"></a>b_sync ()</h3>
+<a class="indexterm" name="id2472153"></a><pre class="programlisting"><a href="B-Init.html#b-error-t">b_error_t</a>   b_sync                          (<a href="B-Init.html#b-t">b_t</a> *data);</pre>
+<p>
+Syncs the storage. You shouldn't use this function because B storage syncs
+the data automaticly.</p>
+<p>
+
+</p>
+<div class="variablelist"><table border="0">
+<col align="left" valign="top">
+<tbody>
+<tr>
+<td>
+<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
+<td> The pointer to a b_t data struct.
+</td>
+</tr>
+<tr>
+<td>
+<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
+<td> The error code.
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</body>
+</html>



Mime
View raw message