the_tdb 116 lib/tdb/tools/tdbtool.c static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state); the_tdb 117 lib/tdb/tools/tdbtool.c static int print_key(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state); the_tdb 118 lib/tdb/tools/tdbtool.c static int print_hexkey(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state); the_tdb 348 lib/tdb/tools/tdbtool.c static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) the_tdb 357 lib/tdb/tools/tdbtool.c static int print_key(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) the_tdb 365 lib/tdb/tools/tdbtool.c static int print_hexkey(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) the_tdb 375 lib/tdb/tools/tdbtool.c static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) the_tdb 428 lib/tdb/tools/tdbtool.c static int do_delete_fn(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, the_tdb 431 lib/tdb/tools/tdbtool.c return tdb_delete(the_tdb, key); the_tdb 434 lib/tdb/tools/tdbtool.c static void first_record(TDB_CONTEXT *the_tdb, TDB_DATA *pkey) the_tdb 437 lib/tdb/tools/tdbtool.c *pkey = tdb_firstkey(the_tdb); the_tdb 439 lib/tdb/tools/tdbtool.c dbuf = tdb_fetch(the_tdb, *pkey); the_tdb 442 lib/tdb/tools/tdbtool.c print_rec(the_tdb, *pkey, dbuf, NULL); the_tdb 446 lib/tdb/tools/tdbtool.c static void next_record(TDB_CONTEXT *the_tdb, TDB_DATA *pkey) the_tdb 449 lib/tdb/tools/tdbtool.c *pkey = tdb_nextkey(the_tdb, *pkey); the_tdb 451 lib/tdb/tools/tdbtool.c dbuf = tdb_fetch(the_tdb, *pkey); the_tdb 455 lib/tdb/tools/tdbtool.c print_rec(the_tdb, *pkey, dbuf, NULL); the_tdb 458 lib/tdb/tools/tdbtool.c static int test_fn(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state) the_tdb 463 lib/tdb/tools/tdbtool.c static void check_db(TDB_CONTEXT *the_tdb) the_tdb 466 lib/tdb/tools/tdbtool.c if (the_tdb) { the_tdb 467 lib/tdb/tools/tdbtool.c tdbcount = tdb_traverse(the_tdb, test_fn, NULL); the_tdb 336 lib/util/util_tdb.c int tdb_traverse_delete_fn(struct tdb_context *the_tdb, TDB_DATA key, TDB_DATA dbuf, the_tdb 339 lib/util/util_tdb.c return tdb_delete(the_tdb, key); the_tdb 110 lib/util/util_tdb.h int tdb_traverse_delete_fn(struct tdb_context *the_tdb, TDB_DATA key, TDB_DATA dbuf, the_tdb 144 source3/lib/eventlog/eventlog.c static bool make_way_for_eventlogs( TDB_CONTEXT * the_tdb, int32_t needed, the_tdb 161 source3/lib/eventlog/eventlog.c tdb_lock_bystring_with_timeout( the_tdb, EVT_NEXT_RECORD, 1 ); the_tdb 163 source3/lib/eventlog/eventlog.c end_record = tdb_fetch_int32( the_tdb, EVT_NEXT_RECORD ); the_tdb 164 source3/lib/eventlog/eventlog.c start_record = tdb_fetch_int32( the_tdb, EVT_OLDEST_ENTRY ); the_tdb 165 source3/lib/eventlog/eventlog.c Retention = tdb_fetch_int32( the_tdb, EVT_RETENTION ); the_tdb 166 source3/lib/eventlog/eventlog.c MaxSize = tdb_fetch_int32( the_tdb, EVT_MAXSIZE ); the_tdb 188 source3/lib/eventlog/eventlog.c ret = tdb_fetch( the_tdb, key ); the_tdb 193 source3/lib/eventlog/eventlog.c tdb_unlock_bystring( the_tdb, EVT_NEXT_RECORD ); the_tdb 202 source3/lib/eventlog/eventlog.c tdb_unlock_bystring( the_tdb, EVT_NEXT_RECORD ); the_tdb 234 source3/lib/eventlog/eventlog.c tdb_delete( the_tdb, key ); the_tdb 237 source3/lib/eventlog/eventlog.c tdb_store_int32( the_tdb, EVT_OLDEST_ENTRY, new_start ); the_tdb 239 source3/lib/eventlog/eventlog.c tdb_unlock_bystring( the_tdb, EVT_NEXT_RECORD ); the_tdb 42 source3/lib/tdb_validate.h typedef int (*tdb_validate_data_func)(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, the_tdb 329 source3/printing/nt_printing.c static int sec_desc_upg_fn( TDB_CONTEXT *the_tdb, TDB_DATA key, the_tdb 456 source3/printing/nt_printing.c static int normalize_printers_fn( TDB_CONTEXT *the_tdb, TDB_DATA key, the_tdb 480 source3/printing/nt_printing.c if ( tdb_delete( the_tdb, key ) != 0 ) { the_tdb 486 source3/printing/nt_printing.c if ( tdb_store( the_tdb, new_key, data, TDB_REPLACE) != 0 ) { the_tdb 381 source3/printing/printing.c static int unixjob_traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA key, the_tdb 2457 source3/winbindd/winbindd_cache.c static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, the_tdb 2462 source3/winbindd/winbindd_cache.c tdb_delete(the_tdb, kbuf); the_tdb 2858 source3/winbindd/winbindd_cache.c static int traverse_fn_cleanup(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, the_tdb 2874 source3/winbindd/winbindd_cache.c tdb_delete(the_tdb, kbuf); the_tdb 2912 source3/winbindd/winbindd_cache.c static int traverse_fn_cached_creds(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, the_tdb 2946 source3/winbindd/winbindd_cache.c static int traverse_fn_get_credlist(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, the_tdb 3653 source3/winbindd/winbindd_cache.c static int cache_traverse_validate_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *state)