Improve caching code
|Reported by:||ydario||Owned by:|
|Component:||Samba Client||Version:||Client 2.3.x|
The current caching code is written for samba specific data structures, but it can be easily modified to allow generic netdrive plugin caching.
While removing filelist_state is trivial, smbwrp_fileinfo requires more work. The plan is to allow cache to store a pointer to a structure, making it independent from plugin code.