source: vendor/current/lib/tdb/docs/mainpage.dox

Last change on this file was 986, checked in by Silvan Scherrer, 9 years ago

samba server: fix crlf in tdb vendor code

File size: 1.9 KB
Line 
1/**
2
3@mainpage
4
5This is a simple database API. It was inspired by the realisation that in Samba
6we have several ad-hoc bits of code that essentially implement small databases
7for sharing structures between parts of Samba.
8
9The interface is based on gdbm. gdbm couldn't be use as we needed to be able to
10have multiple writers to the databases at one time.
11
12@section tdb_download Download
13
14You can download the latest releases of tdb from the
15<a href="http://samba.org/ftp/tdb">tdb directory</a> on the samba public source
16archive.
17
18You can download the latest code either via git or rsync.
19
20To fetch via git see the following guide:
21
22<a href="http://wiki.samba.org/index.php/Using_Git_for_Samba_Development">Using Git for Samba Development</a>
23Once you have cloned the tree switch to the master branch and cd into the source/lib/tdb directory.
24
25To fetch via rsync use these commands:
26
27<pre>
28 rsync -Pavz samba.org::ftp/unpacked/standalone_projects/lib/tdb .
29 rsync -Pavz samba.org::ftp/unpacked/standalone_projects/lib/replace .
30</pre>
31
32and build in tdb. It will find the replace library in the directory above
33automatically.
34
35@section tdb_bugs Discussion and bug reports
36
37tdb does not currently have its own mailing list or bug tracking system. For now,
38please use the
39<a href="https://lists.samba.org/mailman/listinfo/samba-technical">samba-technical</a>
40mailing list, and the <a href="http://bugzilla.samba.org/">Samba bugzilla</a> bug
41tracking system.
42
43
44@section tdb_compilation Compilation
45
46add HAVE_MMAP=1 to use mmap instead of read/write
47add NOLOCK=1 to disable locking code
48
49@section tdb_testing Testing
50
51Compile tdbtest.c and link with gdbm for testing. tdbtest will perform
52identical operations via tdb and gdbm then make sure the result is the
53same
54
55Also included is tdbtool, which allows simple database manipulation
56on the commandline.
57
58tdbtest and tdbtool are not built as part of Samba, but are included
59for completeness.
60
61*/
Note: See TracBrowser for help on using the repository browser.