summaryrefslogtreecommitdiffstats
path: root/source/lib/gencache.c
Commit message (Collapse)AuthorAgeFilesLines
* Valgrind found a few memory leaks!Andrew Bartlett2003-03-221-0/+4
| | | | Andrew Bartlett
* 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
* Doxygen janitor: fix parameter names, grammar, tag names.Martin Pool2003-02-281-14/+14
|
* 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;
* 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?
* 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.
* 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
* 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.
* added gencache implementation from mimir - thanks!Andrew Tridgell2002-09-111-0/+319