summaryrefslogtreecommitdiff
path: root/source3/include/util_tdb.h
AgeCommit message (Collapse)AuthorFilesLines
2013-04-18util_tdb: add function tdb_data_string()Gregor Beck1-0/+2
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-06-22util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.cRusty Russell1-7/+0
We're about to use them for dbwrap. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-1/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-8/+0
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-04-14s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner1-2/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2010-03-13s3: Make tdb_wrap_open more robustVolker Lendecke1-2/+0
This hides the use of talloc_reference from the caller, making it impossible to wrongly call talloc_free() on the result.
2009-07-15Add tdb_data_cmpVolker Lendecke1-0/+2
2009-01-28s3:util_tdb: remove duplicate prototypes (from ../lib/util/util_tdb.h)Michael Adam1-22/+1
Michael
2009-01-28s3: separate tdb validation code out into its own source fileMichael Adam1-15/+0
So this gets now linked only into its single user: winbindd (needed by winbindd_cache.c) Michael
2009-01-19Remove unused tdb_search_keys()Volker Lendecke1-10/+0
2008-10-23Use common error definitions.Jelmer Vernooij1-1/+1
2008-10-12Sync util_tdb implementations.Jelmer Vernooij1-16/+16
2008-03-26util_tdb: remove trivial and unused tdb_wipe().Michael Adam1-2/+0
It has been replaced by tdb_wipe_all(). Michael (This used to be commit cdde2e4eaca51d51f036ad99d55df7bfd6535b03)
2008-03-26util_tdb: make the _byblob fetch/store functions public again.Michael Adam1-0/+4
Users of these are currently being written... Michael (This used to be commit 1c51bec5318bad085c09931aa7e8f72f41d103fe)
2008-03-25util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam1-2/+1
Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
2008-03-25util_tdb: add the tdb_pack_append() prototype to util_tdb.hMichael Adam1-0/+2
This function is currently not used but seems useful. Michael (This used to be commit 48149a954c1e737c9863cfa0991ab9bfc246c6da)
2008-03-25util_tdb: group prototypes in util_tdb.h thematicallyMichael Adam1-13/+20
Michael (This used to be commit 4b9231d33eaea2ada5d67cc1d959df2b671e7bb9)
2008-03-25build: don't autogenerate prototypes for util_tdb and dbwrap anymore.Michael Adam1-0/+17
Stick to hand-written headers (that are there anyways). Add some missing prototypes to util_tdb.h and dbwrap.h. I did not bother to add a header for each single dbwrap backend open function but put the prototypes for the open functions into the central dbwrap.h. Michael (This used to be commit edf4dbed27a3c63c04e8110e75cdb76e31627eb6)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-13/+8
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23600: First step in abstracting the winbindd cache validationMichael Adam1-0/+10
code into a generic tdb validation code. In lib/util_tdb.c for a start. Michael (This used to be commit 527edfa0cbcb233218ebabc395666d1d7228ee37)
2007-10-10r22739: Make prototypes in include/util_tdb.h of some functions fromMichael Adam1-6/+6
lib/util_tdb.c exactly match the definitions. (There were some [u]int_32_t instead of [u]int32, which made a gcc 2.95 on an old AIX without system [u]int32[_t] types complain...) (This used to be commit 7cae0d61170485eb220f546899dfa78f1805a272)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher1-3/+4
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r21076: Two pieces of infrastructure from Samba4: An API-compatible ↵Volker Lendecke1-0/+5
messaging wrapper and tdb_wrap_open. Volker (This used to be commit c01f164dcaf88fb7f3bed8f69b210ba8fab326d1)
2007-10-10r19429: moved tdb/common/tdbutil.c into lib/util_tdb.cAndrew Tridgell1-0/+71
see discussion on samba-technical (This used to be commit 1ad563286f00be0d72930b81b10cb74f13c5fbff)