summaryrefslogtreecommitdiffstats
path: root/source3/lib/gencache.c
Commit message (Collapse)AuthorAgeFilesLines
* Valgrind found a few memory leaks!Andrew Bartlett2003-03-221-0/+4
| | | | | Andrew Bartlett (This used to be commit fb680f610ceb9a0f350c99456cf7ab1a507543fe)
* Small clenaup patches:Andrew Bartlett2003-03-221-6/+6
| | | | | | | | | | | | | | - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. Andrew Bartlett (This used to be commit a7eba37aadeb0b04cb1bd89deddb58be8aba825c)
* Doxygen janitor: fix parameter names, grammar, tag names.Martin Pool2003-02-281-14/+14
| | | | (This used to be commit 42d9ec28cd55dbcfda546c84fb842938aeda544d)
* Simplify some return values in gencache functions:Tim Potter2003-02-141-5/+5
| | | | | | | | | | | - return ret == 0 ? True : False; + return ret == 0; and - return tdb_close(cache) ? False : True; + return tdb_close(cache) != -1; (This used to be commit 026b988b132ec76fdd3821639960658e1d36cd43)
* Quieten debug about gencache.tdb not being able to be opened.Tim Potter2003-01-291-1/+1
| | | | | Perhaps we should try to open O_RDONLY if O_RDWR fails? (This used to be commit 1e7236371d2b766b161acbb0c950cd3bb4a6ede7)
* Make the valstr and timeout return pointers optional so a caller canTim Potter2003-01-211-11/+31
| | | | | pass NULL if it doesn't care about the gencache key. (This used to be commit 9ff4fe7e0d95c0cea94f65c00fea21600308d7d1)
* Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett2002-11-261-13/+13
| | | | | | | | | | | | | cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett (This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
* Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-231-4/+10
| | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
* added gencache implementation from mimir - thanks!Andrew Tridgell2002-09-111-0/+319
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)