42 #ifndef _CL_COR_TXN_API_H_
43 #define _CL_COR_TXN_API_H_
84 #define COR_TXN_MAX_STATIONS 8
85 #define CL_COR_TXN_SERVICE_ID_READ 1
86 #define CL_COR_TXN_SERVICE_ID_WRITE 2
255 CL_IN ClTxnJobDefnHandleT jobDefn,
679 CL_IN ClUint32T jobStatus);
709 CL_OUT ClUint32T* jobStatus);
735 CL_OUT ClTxnJobDefnHandleT jobDefnHandle,
Typical defines found in any software project.
Header file of all MetaData data structures.
ClUint32T ClRcT
Clovis return code type.
Definition: clCommon.h:168
#define CL_OUT
CL_OUT macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:110
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
enum ClCorType ClCorTypeT
The ClCorType enumeration contains the basic COR data types.
enum ClCorAttrType ClCorAttrTypeT
The values of this enumeration type refer to the COR attribute types.
ClRcT clCorTxnIdTxnFree(CL_IN ClCorTxnIdT corTxnId)
Frees the data for the transactionID .
ClPtrT ClCorObjectHandleT
The structure ClCorObjectHandle is the handle to MO.
Definition: clCorMetaData.h:608
ClRcT clCorTxnJobSetParamsGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT jobId, CL_OUT ClCorAttrIdT *pAttrId, CL_OUT ClInt32T *pIndex, CL_OUT void **pValue, CL_OUT ClUint32T *pSize)
Get all the information necessary for setting the attribute.
ClInt32T ClCorClassTypeT
The type of an identifier for the COR class.
Definition: clCorMetaData.h:201
ClRcT clCorTxnSessionCancel(CL_IN ClCorTxnSessionIdT txnSessionId) CL_DEPRECATED
Cancels a transaction session.
ClRcT clCorTxnSessionFinalize(CL_IN ClCorTxnSessionIdT txnSessionId)
Finalizes a COR transaction session.
ClPtrT ClCorTxnIdT
The type of the COR transaction ID used to identify a transaction session.
Definition: clCorMetaData.h:642
ClRcT clCorTxnNextJobGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT currentJobHdl, CL_OUT ClCorTxnJobIdT *pNextJobHdl)
Get the next job in the transaction.
ClCorOpsT
The values of the ClCorOpsT enumeration type contain the Operation IDs.
Definition: clCorMetaData.h:653
ClRcT clCorTxnLastJobGet(CL_IN ClCorTxnIdT txnId, CL_OUT ClCorTxnJobIdT *pJobId)
Get the last job in the transaction.
ClRcT clCorTxnJobStatusSet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT jobId, CL_IN ClUint32T jobStatus)
Set the status of a particular job.
ClInt32T ClCorAttrIdT
The type of an identifier for a COR attribute.
Definition: clCorMetaData.h:206
ClRcT clCorTxnJobStatusGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT jobId, CL_OUT ClUint32T *jobStatus)
Get the status of a particular job.
ClRcT clCorTxnJobDefnHandleUpdate(CL_OUT ClTxnJobDefnHandleT jobDefnHandle, CL_IN ClCorTxnIdT corTxnId)
This function is used to pack the transaction information and update it in the given job definition h...
ClPtrT ClCorTxnSessionIdT
The type of the handle of a COR transaction session.
Definition: clCorMetaData.h:637
ClRcT clCorTxnJobObjectHandleGet(CL_IN ClCorTxnIdT txnId, CL_OUT ClCorObjectHandleT *pObjHandle)
Get the Object handle from the transaction.
ClRcT clCorTxnJobAttributeTypeGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT jobId, CL_OUT ClCorAttrTypeT *pAttrType, CL_OUT ClCorTypeT *pAttrDataType)
Get the attribute type information.
ClRcT clCorTxnJobAttrPathGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT jobId, CL_OUT ClCorAttrPathT **pAttrPath)
Retrieves the attrpath from the transaction.
ClUint32T ClCorTxnJobIdT
The type of COR transaction Job Id, used to identify a job uniquely within a transaction.
Definition: clCorMetaData.h:647
ClRcT clCorTxnFirstJobGet(CL_IN ClCorTxnIdT txnId, CL_OUT ClCorTxnJobIdT *pJobId)
Get the first job.
ClRcT clCorTxnPreviousJobGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT currentJobId, CL_OUT ClCorTxnJobIdT *pPrevJobId)
Get the previous job in the transaction.
ClRcT clCorTxnJobHandleToCorTxnIdGet(CL_IN ClTxnJobDefnHandleT jobDefn, CL_IN ClSizeT size, CL_OUT ClCorTxnIdT *pTxnId)
Get thetransactionID from thetransactionJob handle.
ClRcT clCorTxnJobMoIdGet(CL_IN ClCorTxnIdT txnId, CL_OUT ClCorMOIdT *pMOId)
Get the MoId From the transaction.
ClRcT clCorTxnJobWalk(CL_IN ClCorTxnIdT pThis, CL_IN ClCorTxnFuncT funcPtr, CL_IN void *cookie)
Walk through the transaction Jobs.
ClRcT(* ClCorTxnFuncT)(ClCorTxnIdT trans, ClCorTxnJobIdT jobId, void *cookie)
Type of the callback function which will be called while doing transaction job walk.
Definition: clCorTxnApi.h:118
ClRcT clCorTxnFailedJobGet(ClCorTxnSessionIdT txnSessionId, ClCorTxnInfoT *pPrevTxnInfo, ClCorTxnInfoT *pNextTxnInfo)
Retrieves the information about the failed transaction job for a pariticular transaction Id.
ClRcT clCorTxnJobOperationGet(CL_IN ClCorTxnIdT txnId, CL_IN ClCorTxnJobIdT jobId, CL_OUT ClCorOpsT *op)
Get the operation type.
ClRcT clCorTxnSessionCommit(CL_IN ClCorTxnSessionIdT txnSessionId)
Commits an active transaction session.
The structure ClCorMOId contains MoId of the object, which is the address of the COR object.
Definition: clCorMetaData.h:918
The structure ClCorAttrPath contains the path-list of the attribute.
Definition: clCorMetaData.h:997
COR Txn Failed Job Information.
Definition: clCorMetaData.h:1244