Changeset 966 for trunk/client/src/smbwrp.h
- Timestamp:
- Aug 19, 2016, 2:24:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/src/smbwrp.h
r960 r966 130 130 } FSALLOCATE; 131 131 #endif 132 133 struct DirectoryCache;134 132 135 133 typedef struct _Resource … … 203 201 int _System smbwrp_dskattr(Resource *pRes, cli_state * cli, FSALLOCATE *pfsa); 204 202 205 /* Directory cache helpers. */206 int dircache_create(Resource *pRes);207 void dircache_delete(Resource *pRes);208 209 typedef void FNADDDIRENTRY(const char*, smbwrp_fileinfo *, const char *, void *);210 typedef FNADDDIRENTRY *PFNADDDIRENTRY;211 212 /* Note: dircache_list_files or dircache_write_begin construct the directory path213 * using information in the filelist_state structure.214 */215 int dircache_list_files(PFNADDDIRENTRY fn,216 filelist_state *state,217 int *ptotal_received);218 219 void *dircache_write_begin(filelist_state *state,220 int cFiles);221 void dircache_write_entry(Resource *pRes, void *dircachectx, const smbwrp_fileinfo *finfo);222 void dircache_write_end(Resource *pRes, void *dircachectx);223 224 void dircache_invalidate(const char *path,225 Resource *pRes,226 int fParent);227 228 int dircache_find_path(Resource *pRes,229 const char *path,230 smbwrp_fileinfo *finfo,231 unsigned long *pulAge);232 233 203 /* Prototype the debug log helper. */ 234 204 void debuglocal(Resource *pRes, int level, const char * fmt, ...);
Note:
See TracChangeset
for help on using the changeset viewer.