summaryrefslogtreecommitdiff
path: root/source3/lib/gencache.c
AgeCommit message (Expand)AuthorFilesLines
2011-06-20tdb2: tdb_parse_record() returns negative errors, not -1.Rusty Russell1-2/+2
2011-06-20tdb2: #ifdef out TDB_ERR_NOLOCK and TDB_ERR_LOCK_TIMEOUT.Rusty Russell1-1/+6
2011-06-20tdb_compat: use tdb_errorstr_compat()Rusty Russell1-6/+6
2011-06-20tdb_traverse/tdb_traverse_read: check returns for negative, not -1.Rusty Russell1-1/+1
2011-06-20tdb_transaction_cancel: ignore return value.Rusty Russell1-11/+5
2011-06-20tdb_transaction_commit: check returns for 0, not -1.Rusty Russell1-4/+4
2011-06-20tdb_delete: check returns for 0, not -1.Rusty Russell1-3/+3
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-1/+1
2011-04-19gencache: don't use CLEAR_IF_FIRST as fallback.Rusty Russell1-7/+3
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-1/+1
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
2011-03-30s3-includes: only include system/glob.h when needed.Günther Deschner1-0/+1
2010-12-22s3:lib/gencache: fix memory leak in error pathStefan Metzmacher1-0/+3
2010-11-28s3: Add gencache_iterate_blobsVolker Lendecke1-57/+87
2010-11-28s3: Convert gencache_get_data_blob to gencache_parseVolker Lendecke1-59/+38
2010-11-28s3: Add gencache_parseVolker Lendecke1-0/+59
2010-09-27Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison1-4/+4
2010-03-28s3: Use tdb_transaction_start_nonblock in gencache_stabilizeVolker Lendecke1-1/+10
2010-03-28Revert "s3: Optimize gencache for smbd exit"Volker Lendecke1-75/+14
2010-03-24s3: Optimize gencache for smbd exitVolker Lendecke1-14/+75
2009-12-07s3: let gencache_init() use tdb_check()Stefan Metzmacher1-0/+25
2009-11-02s3-gencache: restore gencache_get behavior with NULL args (with torture test).Günther Deschner1-4/+8
2009-09-28s3:gencache: Add my copyrightVolker Lendecke1-0/+1
2009-09-23s3:gencache: Make gencache_del() return success for expired entriesVolker Lendecke1-4/+13
2009-09-23s3:gencache: Remove some over-paranoid lockingVolker Lendecke1-6/+0
2009-09-23s3:gencache: Add a "was_expired" argument to gencache_get_data_blobVolker Lendecke1-10/+19
2009-07-15Consolidate gencache also every 100 writes in a single processVolker Lendecke1-0/+14
2009-07-15Consolidate string and data_blob routines in gencacheVolker Lendecke1-138/+56
2009-07-15Make gencache more stableVolker Lendecke1-15/+268
2009-07-15Remove gencache_init/shutdownVolker Lendecke1-20/+1
2009-07-15Remove gencache_[un]lock_keyVolker Lendecke1-25/+0
2009-07-15TDB_CONTEXT -> "struct tdb_context"Volker Lendecke1-1/+1
2009-07-15Replace ASSERTs in gencache with "return false"Volker Lendecke1-12/+18
2009-01-19simplify gencache_iterate a bit, fix nonempty blank linesVolker Lendecke1-86/+84
2008-07-11Revert "Return timed out entries from gencache_get if timeout param != NULL"Volker Lendecke1-15/+10
2008-07-11Revert "Remove gencache_[un]lock_entry"Volker Lendecke1-0/+25
2008-07-03Remove gencache_[un]lock_entryVolker Lendecke1-25/+0
2008-07-03Return timed out entries from gencache_get if timeout param != NULLVolker Lendecke1-10/+15
2008-05-08gencache: add some const.Günther Deschner1-1/+1
2008-02-25Fix some warningsVolker Lendecke1-6/+6
2007-12-28don't store cache_readonly in gencacheVolker Lendecke1-15/+0
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-11/+11
2007-10-10r24733: Add support for storing DATA_BLOBs in gencache.tdb (including torture...Günther Deschner1-0/+157
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher1-3/+3
2007-10-10r21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/Stefan Metzmacher1-17/+9
2007-10-10r19415: oh la la, always compile before commit, I'm very sorry.Günther Deschner1-6/+1
2007-10-10r19414: gencache is getting really important now, make sure that lp_lockdirGünther Deschner1-1/+1