OpenClovis Logo

Classes | Functions
clCachedCkpt.h File Reference

Header file of the Cached Checkpoint which provides a fast lookup for a P2P generated database. More...

#include <clCommon.h>
#include <clCommonErrors.h>
#include <clHash.h>
#include <clIocApi.h>
#include <clOsalApi.h>
#include <saCkpt.h>
#include <clCkptApi.h>

Go to the source code of this file.

Classes

struct  ClCachedCkptClientSvcInfoT
 Client side data structure. More...
struct  ClCachedCkptDataT
 The type of the CachedCkpt section data. More...
struct  ClCachedCkptSvcInfoT
 Cached Checkpoint global data structure. More...

Functions

ClRcT clCachedCkptFinalize (ClCachedCkptSvcInfoT *serviceInfo)
 Finalizes the Cached Checkpoint service.
ClRcT clCachedCkptInitialize (ClCachedCkptSvcInfoT *serviceInfo, const SaNameT *ckptName, const SaCkptCheckpointCreationAttributesT *ckptAttributes, SaCkptCheckpointOpenFlagsT openFlags, ClUint32T cachSize)
 Initializes the Cached Checkpoint service.
ClRcT clCachedCkptSectionCreate (ClCachedCkptSvcInfoT *serviceInfo, const ClCachedCkptDataT *sectionData)
 Creates a section in the checkpoint.
ClRcT clCachedCkptSectionDelete (ClCachedCkptSvcInfoT *serviceInfo, const ClNameT *sectionName)
 Deletes a section in the checkpoint.
void clCachedCkptSectionGetFirst (ClCachedCkptSvcInfoT *serviceInfo, ClCachedCkptDataT **sectionData, ClUint32T *sectionOffset)
 Gets the first section of the checkpoint.
void clCachedCkptSectionGetNext (ClCachedCkptSvcInfoT *serviceInfo, ClCachedCkptDataT **sectionData, ClUint32T *sectionOffset)
 Gets next section of the checkpoint.
void clCachedCkptSectionRead (ClCachedCkptSvcInfoT *serviceInfo, const ClNameT *sectionName, ClCachedCkptDataT **sectionData)
 Reads a single section.
ClRcT clCachedCkptSectionUpdate (ClCachedCkptSvcInfoT *serviceInfo, const ClCachedCkptDataT *sectionData)
 Updates a checkpoint section.
ClRcT clCachedCkptSynch (ClCachedCkptSvcInfoT *serviceInfo, ClBoolT isEmpty)
 Synchronizes the cache (local copy) with the checkpoint.

Detailed Description

Header file of the Cached Checkpoint which provides a fast lookup for a P2P generated database.


Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen