Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

cache.h File Reference


Detailed Description

IPRT - Object cache

Definition in file cache.h.

#include <iprt/cdefs.h>
#include <iprt/types.h>
#include <iprt/critsect.h>

Go to the source code of this file.

Classes

struct  RTOBJCACHE
struct  RTOBJCACHEHDR

Defines

#define RTOBJCACHE_PROTECT_INSERT   RT_BIT(1)
#define RTOBJCACHE_PROTECT_REQUEST   RT_BIT(0)
#define RTOBJCACHE_PROTECT_VALID   (RTOBJCACHE_PROTECT_REQUEST | RTOBJCACHE_PROTECT_INSERT)

Typedefs

typedef struct RTOBJCACHEPRTOBJCACHE
typedef struct RTOBJCACHEHDRPRTOBJCACHEHDR

Functions

 RTDECL (int) RTCacheCreate(PRTOBJCACHE *ppCache

Variables

uint32_t size_t cbElement
uint32_t cElements
uint32_t size_t uint32_t fProt
void * pObj
void ** ppObj


Generated by  Doxygen 1.6.0   Back to index