Changeset 2855 for trunk/src/lib/nt/kFsCache.h
- Timestamp:
- Aug 31, 2016, 11:21:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/nt/kFsCache.h
r2853 r2855 95 95 96 96 97 /** Pointer to a cache. */ 98 typedef struct KFSCACHE *PKFSCACHE; 97 99 /** Pointer to a core object. */ 98 100 typedef struct KFSOBJ *PKFSOBJ; … … 116 118 PKFSOBJ pObj; 117 119 } KFSOBJHASH; 120 121 122 /** Pointer to a user data item. */ 123 typedef struct KFSUSERDATA *PKFSUSERDATA; 124 /** 125 * User data item associated with a cache node. 126 */ 127 typedef struct KFSUSERDATA 128 { 129 /** Pointer to the next piece of user data. */ 130 PKFSUSERDATA pNext; 131 /** The key identifying this user. */ 132 KUPTR uKey; 133 /** The destructor. */ 134 void (*pfnDestructor)(PKFSCACHE pCache, PKFSOBJ pObj, PKFSUSERDATA pData); 135 } KFSUSERDATA; 118 136 119 137 … … 180 198 #endif 181 199 200 /** Pointer to the first user data item */ 201 PKFSUSERDATA pUserDataHead; 202 182 203 /** Stats - only valid when fHaveStats is set. */ 183 204 BirdStat_T Stats; … … 317 338 318 339 319 /** Pointer to a cache. */320 typedef struct KFSCACHE *PKFSCACHE;321 340 /** 322 341 * Directory cache instance.
Note:
See TracChangeset
for help on using the changeset viewer.