summaryrefslogtreecommitdiffstats
path: root/source/smbd/statcache.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync-up with SAMBA_2_2 branch.Jeremy Allison2001-10-111-1/+1
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-5/+5
| | | | Jeremy.
* Remove unneeded initialize.Jeremy Allison2000-11-271-1/+1
| | | | Jeremy.
* Fix for updating of print queues changed from a local box. Essentially,Jeremy Allison2000-11-211-1/+1
| | | | | | this makes sure that the change messages sent to ourselves are handled synchronously w.r.t. other smb packets incoming. Jeremy.
* Fixes for extra stat's broght back from HEAD. This cuts down on theJeremy Allison2000-10-251-1/+1
| | | | | | | number of stats per smb call as we now trust the statcache. There are more optimizations to come.... Also generic merges to keep 2.2.0 and HEAD in sync. Jeremy.
* includes.h always include profile.hHerb Lewis2000-10-061-15/+5
| | | | | | | | | | | | | | | smb.h move FLUSH_REASONS to profile.h now that it is included by all profile.h add FLUSH_REASONS, add external declarations for profile_starttime, profile_endtime, do_profile_flag which are defined in profile/profile.c Modify PROFILE macros profile.c always include this function. It is still called under an #ifdef WITH_PROFILE but we need the above variables so we might as well include the function as well. fileio.c use new PROFILE macros to make code cleaner looking reply.c fix a typo in one START_PROFILE call statcache.c use new PROFILE macros to make code cleaner looking vfs_wrap.c use new PROFILE macros to make code cleaner looking added time profiling to each call.
* Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison2000-10-061-1/+1
| | | | | | | | | | | | | | a conn struct depending on the call. We need this to have a clean NT ACL call interface. This will break any existing VFS libraries (that's why this is pre-release code). In addition - added Herb's WITH_PROFILE changes - Herb - please examine the changes I've made to the smbd/reply.c code you added. The original code was very ugly and I have replaced it with a START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor. Please check this compiles ok with the --with-profile switch. Jeremy.
* add some profile stats - all under #ifdef WITH_PROFILEHerb Lewis2000-10-051-27/+16
| | | | still more to come but I wanted to commit so it didn't get lost
* Made re-init of stat cache explicit rather than being hidden.Jeremy Allison2000-10-041-1/+2
| | | | Jeremy.
* if the stat cache is off then don't initialise itAndrew Tridgell2000-05-041-0/+2
|
* fixed a memory leak (calling hash_table_init twice)Andrew Tridgell2000-05-021-1/+7
|
* - removed all our old wildcard matching code and replaced it with aAndrew Tridgell2000-04-301-0/+243
call to ms_fnmatch(). This also removes all the Win9X semantics stuff and a bunch of other associated cruft. - moved the stat cache code into statcache.c - fixed the uint16 alignment requirements of ascii_to_unistr() and unistr_to_ascii() - trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as unicode always (at least thats what NT4 does) - fixed some errors in the in-memory tdb code. Still ugly, but doesn't crash as much