Ignore:
Timestamp:
Aug 31, 2016, 11:21:22 PM (9 years ago)
Author:
bird
Message:

Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/kFsCache.h

    r2853 r2855  
    9595
    9696
     97/** Pointer to a cache. */
     98typedef struct KFSCACHE *PKFSCACHE;
    9799/** Pointer to a core object.  */
    98100typedef struct KFSOBJ *PKFSOBJ;
     
    116118    PKFSOBJ             pObj;
    117119} KFSOBJHASH;
     120
     121
     122/** Pointer to a user data item. */
     123typedef struct KFSUSERDATA *PKFSUSERDATA;
     124/**
     125 * User data item associated with a cache node.
     126 */
     127typedef 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;
    118136
    119137
     
    180198#endif
    181199
     200    /** Pointer to the first user data item */
     201    PKFSUSERDATA        pUserDataHead;
     202
    182203    /** Stats - only valid when fHaveStats is set. */
    183204    BirdStat_T          Stats;
     
    317338
    318339
    319 /** Pointer to a cache.   */
    320 typedef struct KFSCACHE *PKFSCACHE;
    321340/**
    322341 * Directory cache instance.
Note: See TracChangeset for help on using the changeset viewer.