summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-02-14 06:34:59 +0000
committerMartin Pool <mbp@samba.org>2003-02-14 06:34:59 +0000
commitdc75b89bfc2dd1c1a0531f8e03bc5b6ee7a9cdcb (patch)
treeb9b3120b61f3cb29439f96aae05ec74c0e94c772
parent3b23695db621bdbcb84e5271d593e88ecae12901 (diff)
downloadsamba-dc75b89bfc2dd1c1a0531f8e03bc5b6ee7a9cdcb.tar.gz
samba-dc75b89bfc2dd1c1a0531f8e03bc5b6ee7a9cdcb.tar.bz2
samba-dc75b89bfc2dd1c1a0531f8e03bc5b6ee7a9cdcb.zip
Doc
(This used to be commit 11c1e712d48438bd80c4f347a2f31e308bd54d7a)
-rw-r--r--source3/tdb/tdb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index c685d72b37..8410538f01 100644
--- a/source3/tdb/tdb.c
+++ b/source3/tdb/tdb.c
@@ -1809,7 +1809,11 @@ TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
}
}
-/* close a database */
+/**
+ * Close a database.
+ *
+ * @returns -1 for error; 0 for success.
+ **/
int tdb_close(TDB_CONTEXT *tdb)
{
TDB_CONTEXT **i;