45 #ifndef _CL_CKPT_EXT_API_H_
46 #define _CL_CKPT_EXT_API_H_
57 #include <clDifferenceVector.h>
77 ClUint32T *, ClPtrT );
110 typedef struct ClCkptDataSetCallback
115 }ClCkptDataSetCallbackT;
117 typedef struct ClCkptDifferenceIOVectorElement
125 ClDifferenceVectorT *differenceVector;
126 }ClCkptDifferenceIOVectorElementT;
128 typedef struct ClCkptClientInfo
134 typedef struct ClCkptClientInfoList
136 ClUint32T numEntries;
137 ClCkptClientInfoT *pClientInfo;
138 } ClCkptClientInfoListT;
170 extern ClRcT clCkptLibraryInitializeDB(
172 const ClCharT *dbName);
301 CL_IN ClUint32T dsId,
302 CL_IN ClUint32T grpId,
303 CL_IN ClUint32T order,
309 CL_IN ClUint32T dsId,
310 CL_IN ClUint32T grpId,
311 CL_IN ClUint32T order,
312 CL_IN ClCkptDataSetCallbackT *pTable,
313 CL_IN ClUint32T numTableEntries);
350 CL_IN ClUint32T dsId );
384 CL_IN ClUint32T dsId,
385 CL_IN ClPtrT cookie );
389 CL_IN ClUint32T dsId,
425 CL_IN ClUint32T dsId,
426 CL_IN ClPtrT cookie);
485 CL_IN ClUint32T dsId,
525 ClCkptDataSetCallbackT *pTable,
526 ClUint32T numTableEntries);
613 extern ClRcT clCkptReplicaChangeRegister(
ClRcT (*pCkptRelicaChangeCallback)
616 extern ClRcT clCkptReplicaChangeDeregister(
void);
621 ClDifferenceVectorT *differenceVector);
625 ClUint32T *pNumVecs);
Typical defines found in any software project.
Header file of Server based Checkpoint Service Related APIs.
Header file of Clovis Container Related APIs.
Header file of EO related APIs.
Operating System Abstraction Layer API.
ClHandleT ClCkptHdlT
The handle used to identify a checkpoint.
Definition: clCkptApi.h:141
ClHandleT ClCkptSvcHdlT
The type of the handle for the the checkpoint service library.
Definition: clCkptApi.h:136
ClRcT clCkptLibraryInitialize(CL_INOUT ClCkptSvcHdlT *pCkptHdl)
Initializes the client.
ClRcT clCkptLibraryCkptElementDelete(ClCkptSvcHdlT ckptHdl, ClNameT *pCkptName, ClUint32T dsId, ClPtrT elemId, ClUint32T elemLen)
Writes the Element information into the database.
ClRcT(* ClCkptDeserializeT)(ClUint32T, ClAddrT, ClUint32T, ClPtrT)
De-serialize Signature.
Definition: clCkptExtApi.h:86
ClRcT clCkptLibraryCkptDataSetDelete(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName, CL_IN ClUint32T dsId)
Deletes the dataset from the checkpoint.
ClRcT clCkptLibraryDoesCkptExist(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName, CL_OUT ClBoolT *pRetVal)
Checks the existence of a checkpoint.
ClRcT clCkptLibraryDoesDatasetExist(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName, CL_IN ClUint32T dsId, CL_OUT ClBoolT *pRetVal)
Checks the existence of a Dataset in a given checkpoint.
ClRcT clCkptLibraryCkptElementCreate(ClCkptSvcHdlT ckptHdl, ClNameT *pCkptName, ClUint32T dsId, ClCkptSerializeT elemSerialiser, ClCkptDeserializeT elemDeserialiser)
Creates the element of the Dataset.
ClRcT clCkptLibraryCkptDelete(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName)
Deletes the checkpoint.
ClRcT clCkptLibraryCkptDataSetWrite(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName, CL_IN ClUint32T dsId, CL_IN ClPtrT cookie)
Writes the dataset information into the database.
ClRcT clCkptLibraryFinalize(CL_IN ClCkptSvcHdlT ckptHdl)
Destroys the client.
ClRcT clCkptLibraryCkptCreate(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName)
Creates the checkpoint.
ClRcT(* ClCkptSerializeT)(ClUint32T, ClAddrT *, ClUint32T *, ClPtrT)
Serialize Signature.
Definition: clCkptExtApi.h:62
ClRcT clCkptLibraryCkptDataSetCreate(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName, CL_IN ClUint32T dsId, CL_IN ClUint32T grpId, CL_IN ClUint32T order, CL_IN ClCkptSerializeT dsSerialiser, CL_IN ClCkptDeserializeT dsDeserialiser)
Creates a data set.
ClRcT clCkptLibraryCkptElementWrite(ClCkptSvcHdlT ckptHdl, ClNameT *pCkptName, ClUint32T dsId, ClPtrT elemId, ClUint32T elemLen, ClPtrT cookie)
Writes the Element information into the database.
ClRcT clCkptLibraryCkptDataSetRead(CL_IN ClCkptSvcHdlT ckptHdl, CL_IN ClNameT *pCkptName, CL_IN ClUint32T dsId, CL_IN ClPtrT cookie)
Reads the dataset information into the database.
ClUint32T ClRcT
Clovis return code type.
Definition: clCommon.h:168
#define CL_INOUT
CL_INOUT macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:108
#define CL_OUT
CL_OUT macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:110
ClInt64T ClOffsetT
Offset of a buffer or object within another
Definition: clCommon.h:159
ClUint64T ClSizeT
Definition: clCommon.h:157
#define CL_IN
CL_IN macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:106
ClUint32T ClIocPortT
The IOC communication port.
Definition: clIocApi.h:348
ClUint32T ClIocNodeAddressT
The IOC node address.
Definition: clIocApi.h:343
A name.
Definition: clCommon.h:197
Version Information for various services.
Definition: clCommon.h:250
This structure represents a section identifier.
Definition: clCkptApi.h:201
This structure represents an IO vector which will be used for dealing with more than zero sections.
Definition: clCkptApi.h:309