49 #ifndef _CL_XDR_API_H_
50 #define _CL_XDR_API_H_
60 #include <clXdrErrors.h>
64 #include <clDifferenceVector.h>
66 #define CL_XDR_ENTER(x)
67 #define CL_XDR_EXIT(x)
68 #define CL_XDR_PRINT(x)
70 typedef ClRcT (*ClXdrMarshallFuncT) (
void* pPyld,
79 typedef struct ClIdlContextInfo
85 typedef struct ClIdlSyncInfo
88 ClHandleT idlRmdDeferHdl;
91 typedef ClHandleT ClIdlHandleT;
93 ClRcT clIdlSyncPrivateInfoSet(ClUint32T idlSyncKey,
void * pIdlCtxInfo);
95 ClRcT clIdlSyncPrivateInfoGet(ClUint32T idlSyncKey,
void ** data);
101 ClRcT clXdrMarshallArray(
void* array,
103 ClUint32T multiplicity,
104 ClXdrMarshallFuncT func,
111 ClUint32T multiplicity,
112 ClXdrUnmarshallFuncT func);
114 ClRcT clXdrMarshallPtr(
void* pointer,
116 ClUint32T multiplicity,
117 ClXdrMarshallFuncT func,
124 ClUint32T multiplicity,
125 ClXdrUnmarshallFuncT func);
165 CL_IN ClUint32T isDelete);
363 ClUint32T multiplicity);
594 ClUint32T multiplicity);
827 ClUint32T multiplicity);
1021 ClUint32T isDelete);
1059 ClUint32T multiplicity);
1097 ClUint32T isDelete);
1173 ClUint32T isDelete);
1254 ClUint32T isDelete);
1292 ClUint32T multiplicity);
1330 ClUint32T isDelete);
1403 #define clXdrMarshallArrayClUint32T(pPyld, count, msg, isDelete) \
1404 clXdrMarshallArray((pPyld), sizeof(ClUint32T), \
1405 (count), clXdrMarshallClUint32T, \
1443 #define clXdrUnmarshallArrayClUint32T(msg,pPyld, count) \
1444 clXdrUnmarshallArray((msg), \
1445 (pPyld), sizeof(ClUint32T), \
1446 (count), clXdrUnmarshallClUint32T)
1485 #define clXdrMarshallPtrClUint32T(pPyld, count, msg, isDelete) \
1486 clXdrMarshallPtr((pPyld), sizeof(ClUint32T), \
1487 (count), clXdrMarshallClUint32T, \
1524 #define clXdrUnmarshallPtrClUint32T(msg, pPyld, multiplicity) \
1525 clXdrUnmarshallPtr((msg), \
1526 (pPyld), sizeof(ClUint32T), \
1527 multiplicity, clXdrUnmarshallClUint32T)
1565 ClUint32T isDelete);
1638 #define clXdrMarshallArrayClInt32T(pPyld, count, msg, isDelete) \
1639 clXdrMarshallArray((pPyld), sizeof(ClInt32T), \
1640 (count), clXdrMarshallClInt32T, \
1678 #define clXdrUnmarshallArrayClInt32T(msg, pPyld, count) \
1679 clXdrUnmarshallArray((msg), \
1680 (pPyld), sizeof(ClInt32T), \
1681 (count), clXdrUnmarshallClInt32T)
1719 #define clXdrMarshallPtrClInt32T(pPyld, count, msg, isDelete) \
1720 clXdrMarshallPtr((pPyld), sizeof(ClInt32T), \
1721 (count), clXdrMarshallClInt32T, \
1758 #define clXdrUnmarshallPtrClInt32T(msg, pPyld, multiplicity) \
1759 clXdrUnmarshallPtr((msg), \
1760 (pPyld), sizeof(ClInt32T), \
1761 multiplicity, clXdrUnmarshallClInt32T)
1799 ClUint32T isDelete);
1872 #define clXdrMarshallArrayClUint64T(pPyld, count, msg, isDelete) \
1873 clXdrMarshallArray((pPyld), sizeof(ClUint64T), \
1874 (count), clXdrMarshallClUint64T, \
1912 #define clXdrUnmarshallArrayClUint64T(msg,pPyld, count) \
1913 clXdrUnmarshallArray((msg), \
1914 (pPyld), sizeof(ClUint64T), \
1915 (count), clXdrUnmarshallClUint64T)
1954 #define clXdrMarshallPtrClUint64T(pPyld, count, msg, isDelete) \
1955 clXdrMarshallPtr((pPyld), sizeof(ClUint64T), \
1956 (count), clXdrMarshallClUint64T, \
1993 #define clXdrUnmarshallPtrClUint64T(msg, pPyld, multiplicity) \
1994 clXdrUnmarshallPtr((msg), \
1995 (pPyld), sizeof(ClUint64T), \
1996 multiplicity,clXdrUnmarshallClUint64T)
2034 ClUint32T isDelete);
2106 #define clXdrMarshallArrayClInt64T(pPyld, count, msg, isDelete) \
2107 clXdrMarshallArray((pPyld), sizeof(ClInt64T), \
2108 (count), clXdrMarshallClInt64T, \
2146 #define clXdrUnmarshallArrayClInt64T(msg, pPyld, count) \
2147 clXdrUnmarshallArray((msg), \
2148 (pPyld), sizeof(ClInt64T), \
2149 (count), clXdrUnmarshallClInt64T)
2188 #define clXdrMarshallPtrClInt64T(pPyld, count, msg, isDelete) \
2189 clXdrMarshallPtr((pPyld), sizeof(ClInt64T), \
2190 (count), clXdrMarshallClInt64T, \
2227 #define clXdrUnmarshallPtrClInt64T(msg, pPyld, multiplicity) \
2228 clXdrUnmarshallPtr((msg), \
2229 (pPyld), sizeof(ClInt64T), \
2230 multiplicity, clXdrUnmarshallClInt64T)
2236 #define clXdrMarshallArrayClStringT(pointer, multiplicity, msg, isDelete) \
2237 clXdrMarshallArray((pointer), sizeof(ClStringT), (multiplicity), clXdrMarshallClStringT, (msg), (isDelete))
2239 #define clXdrUnmarshallArrayClStringT(msg,pointer, multiplicity) \
2240 clXdrUnmarshallArray((msg),(pointer), sizeof(ClStringT), (multiplicity), clXdrUnmarshallClStringT)
2242 #define clXdrMarshallPointerClStringT(pointer, multiplicity, msg, isDelete) \
2243 clXdrMarshallPointer((pointer), sizeof(ClStringT), (multiplicity), clXdrMarshallClStringT, (msg), (isDelete))
2245 #define clXdrUnmarshallPointerClStringT(msg,pointer) \
2246 clXdrUnmarshallPointer((msg),(pointer), sizeof(ClStringT), clXdrUnmarshallClStringT)
2248 #define clXdrMarshallPtrClStringT(pointer, multiplicity, msg, isDelete) \
2249 clXdrMarshallPtr((pointer), sizeof(ClStringT), (multiplicity), clXdrMarshallClStringT, (msg), (isDelete))
2251 #define clXdrUnmarshallPtrClStringT(msg,pointer,multiplicity) \
2252 clXdrUnmarshallPtr((msg),(pointer), sizeof(ClStringT),multiplicity, clXdrUnmarshallClStringT)
2360 #define clXdrMarshallArrayClNameT(pointer, multiplicity, msg, isDelete) \
2361 clXdrMarshallArray((pointer), sizeof(ClNameT), \
2362 (multiplicity), clXdrMarshallClNameT, \
2399 #define clXdrUnmarshallArrayClNameT(msg, pointer, multiplicity) \
2400 clXdrUnmarshallArray((msg), \
2401 (pointer), sizeof(ClNameT), \
2402 (multiplicity), clXdrUnmarshallClNameT)
2441 #define clXdrMarshallPtrClNameT(pointer, multiplicity, msg, isDelete) \
2442 clXdrMarshallPtr((pointer), sizeof(ClNameT), \
2443 (multiplicity), clXdrMarshallClNameT, \
2480 #define clXdrUnmarshallPtrClNameT(msg, pointer, multiplicity) \
2481 clXdrUnmarshallPtr((msg), \
2482 (pointer), sizeof(ClNameT), \
2483 multiplicity, clXdrUnmarshallClNameT)
2557 #define clXdrMarshallPtrClVersionT(pointer, multiplicity, msg, isDelete) \
2558 clXdrMarshallPtr((pointer), sizeof(ClVersionT), \
2559 (multiplicity), clXdrMarshallClVersionT, \
2631 #define clXdrUnmarshallPtrClVersionT(msg, pointer, multiplicity) \
2632 clXdrUnmarshallPtr((msg), \
2633 (pointer), sizeof(ClVersionT), \
2634 multiplicity, clXdrUnmarshallClVersionT)
2743 #define clXdrMarshallPtrClHandleT(pointer, multiplicity, msg, isDelete) \
2744 clXdrMarshallPtr((pointer), sizeof(ClHandleT), \
2745 (multiplicity), clXdrMarshallClHandleT, \
2782 #define clXdrUnmarshallPtrClHandleT(msg, pointer, multiplicity) \
2783 clXdrUnmarshallPtr((msg), \
2784 (pointer), sizeof(ClHandleT), \
2785 multiplicity, clXdrUnmarshallClHandleT)
2896 #define clXdrMarshallPtrClWordT(pointer, multiplicity, msg, isDelete) \
2897 clXdrMarshallPtr((pointer), sizeof(ClWordT), \
2898 (multiplicity), clXdrMarshallClWordT, \
2935 #define clXdrUnmarshallPtrClWordT(msg, pointer, multiplicity) \
2936 clXdrUnmarshallPtr((msg), \
2937 (pointer), sizeof(ClWordT), \
2938 multiplicity, clXdrUnmarshallClWordT)
2944 #define clXdrMarshallPtrClMD5T(pointer, multiplicity, msg, isDelete) \
2945 clXdrMarshallPtr((pointer), sizeof(ClMD5T), \
2946 (multiplicity), clXdrMarshallClMD5T, \
2949 #define clXdrUnmarshallPtrClMD5T(msg, pointer, multiplicity) \
2950 clXdrUnmarshallPtr((msg), \
2951 (pointer), sizeof(ClMD5T), \
2952 multiplicity, clXdrUnmarshallClMD5T)
2954 #define clXdrMarshallArrayClMD5T(pointer, multiplicity, msg, isDelete) \
2955 clXdrMarshallArray((pointer), sizeof(ClMD5T), (multiplicity), clXdrMarshallClMD5T, (msg), (isDelete))
2957 #define clXdrUnmarshallArrayClMD5T(msg,pointer, multiplicity) \
2958 clXdrUnmarshallArray((msg),(pointer), sizeof(ClMD5T), (multiplicity), clXdrUnmarshallClMD5T)
2964 #define clXdrMarshallArrayClDifferenceVectorT(pointer, multiplicity, msg, isDelete) \
2965 clXdrMarshallArray((pointer), sizeof(ClDifferenceVectorT), (multiplicity), clXdrMarshallClDifferenceVectorT, (msg), (isDelete))
2967 #define clXdrUnmarshallArrayClDifferenceVectorT(msg,pointer, multiplicity) \
2968 clXdrUnmarshallArray((msg),(pointer), sizeof(ClDifferenceVectorT), (multiplicity), clXdrUnmarshallClDifferenceVectorT)
2970 #define clXdrMarshallPointerClDifferenceVectorT(pointer, multiplicity, msg, isDelete) \
2971 clXdrMarshallPointer((pointer), sizeof(ClDifferenceVectorT), (multiplicity), clXdrMarshallClDifferenceVectorT, (msg), (isDelete))
2973 #define clXdrUnmarshallPointerClDifferenceVectorT(msg,pointer) \
2974 clXdrUnmarshallPointer((msg),(pointer), sizeof(ClDifferenceVectorT), clXdrUnmarshallClDifferenceVectorT)
2976 #define clXdrMarshallPtrClDifferenceVectorT(pointer, multiplicity, msg, isDelete) \
2977 clXdrMarshallPtr((pointer), sizeof(ClDifferenceVectorT), (multiplicity), clXdrMarshallClDifferenceVectorT, (msg), (isDelete))
2979 #define clXdrUnmarshallPtrClDifferenceVectorT(msg,pointer,multiplicity) \
2980 clXdrUnmarshallPtr((msg),(pointer), sizeof(ClDifferenceVectorT),multiplicity, clXdrUnmarshallClDifferenceVectorT)
2986 #define clXdrMarshallArrayClDataVectorT(pointer, multiplicity, msg, isDelete) \
2987 clXdrMarshallArray((pointer), sizeof(ClDataVectorT), (multiplicity), clXdrMarshallClDataVectorT, (msg), (isDelete))
2989 #define clXdrUnmarshallArrayClDataVectorT(msg,pointer, multiplicity) \
2990 clXdrUnmarshallArray((msg),(pointer), sizeof(ClDataVectorT), (multiplicity), clXdrUnmarshallClDataVectorT)
2992 #define clXdrMarshallPointerClDataVectorT(pointer, multiplicity, msg, isDelete) \
2993 clXdrMarshallPointer((pointer), sizeof(ClDataVectorT), (multiplicity), clXdrMarshallClDataVectorT, (msg), (isDelete))
2995 #define clXdrUnmarshallPointerClDataVectorT(msg,pointer) \
2996 clXdrUnmarshallPointer((msg),(pointer), sizeof(ClDataVectorT), clXdrUnmarshallClDataVectorT)
2998 #define clXdrMarshallPtrClDataVectorT(pointer, multiplicity, msg, isDelete) \
2999 clXdrMarshallPtr((pointer), sizeof(ClDataVectorT), (multiplicity), clXdrMarshallClDataVectorT, (msg), (isDelete))
3001 #define clXdrUnmarshallPtrClDataVectorT(msg,pointer,multiplicity) \
3002 clXdrUnmarshallPtr((msg),(pointer), sizeof(ClDataVectorT),multiplicity, clXdrUnmarshallClDataVectorT)
3004 ClRcT clXdrError(
void* pPyld, ...);
3006 ClRcT clIdlFree(
void *pData);
Typical defines found in any software project.
Header file of Buffer Management related APIs.
Header file of EO related APIs.
Header file of Ioc Data Structures and APIs.
Header file of Handle Management related APIs.
ClPtrT ClBufferHandleT
The type of the handle for the buffer messages.
Definition: clBufferApi.h:82
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_IN
CL_IN macro assists in clearly defining arguments of an API, but has no actual meaning.
Definition: clCommon.h:106
ClPtrT ClHandleDatabaseHandleT
Handle database handle.
Definition: clHandleApi.h:110
ClRcT clXdrUnmarshallClUint16T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClUint16T type.
ClRcT clXdrMarshallClInt32T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClInt32T type.
ClRcT clXdrMarshallClInt16T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClInt16T type.
ClRcT clXdrMarshallClUint64T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClUint64T type.
ClRcT clXdrMarshallPtrClUint16T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall pointer of ClUint16T type.
ClRcT clXdrMarshallClUint32T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClUint32T type.
ClRcT clXdrUnmarshallPtrClInt16T(ClBufferHandleT msg, void **pPyld, ClUint32T multiplicity)
Unmarshall data of ClInt16T pointer type.
ClRcT clXdrUnmarshallClInt64T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClInt64T type.
ClRcT clXdrMarshallClInt64T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClInt64T type.
ClRcT clXdrUnmarshallClUint64T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClUint64T type.
ClRcT clXdrMarshallPtrClInt16T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall pointer of ClInt16T type.
ClRcT clXdrUnmarshallPtrClUint8T(ClBufferHandleT msg, void **pPyld, ClUint32T multiplicity)
Unmarshall data of ClUint8T pointer type.
ClRcT clXdrMarshallClCharT(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClCharT type.
ClRcT clXdrUnmarshallClNameT(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClNameT type.
ClRcT clXdrUnmarshallClVersionT(ClBufferHandleT msg, void *pGenVar)
Unmarshall data of ClVersionT type.
ClRcT clXdrUnmarshallClInt8T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClInt8T type.
ClRcT clXdrUnmarshallArrayClInt8T(ClBufferHandleT msg, void *pPyld, ClUint32T count)
Unmarshall data of ClInt8T array type.
ClRcT clXdrMarshallArrayClInt16T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall array of ClInt16T type.
ClRcT clXdrMarshallClUint8T(CL_IN void *pPyld, CL_INOUT ClBufferHandleT msg, CL_IN ClUint32T isDelete)
Marshall data of ClUint8T type.
ClRcT clXdrMarshallPtrClInt8T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall pointer of ClInt8T type.
ClRcT clXdrUnmarshallPtrClCharT(ClBufferHandleT msg, void **pPyld, ClUint32T multiplicity)
Unmarshall data of ClCharT pointer type.
ClRcT clXdrMarshallClWordT(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClWordT type.
ClRcT clXdrUnmarshallClInt32T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClInt32T type.
ClRcT clXdrMarshallPtrClUint8T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall pointer of ClUint8T type.
ClRcT clXdrMarshallArrayClInt8T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall array of ClInt8T type.
ClRcT clXdrUnmarshallArrayClInt16T(ClBufferHandleT msg, void *pPyld, ClUint32T count)
Unmarshall data of ClInt16T array type.
ClRcT clXdrUnmarshallPtrClUint16T(ClBufferHandleT msg, void **pPyld, ClUint32T multiplicity)
Unmarshall data of ClUint16T pointer type.
ClRcT clXdrMarshallClNameT(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClNameT type.
ClRcT clXdrUnmarshallClWordT(ClBufferHandleT msg, void *pBuf)
Unmarshall data of ClWordT type.
ClRcT clXdrMarshallPtrClCharT(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall pointer of ClCharT type.
ClRcT clXdrMarshallArrayClCharT(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall array of ClCharT type.
ClRcT clXdrUnmarshallClUint8T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClUint8T type.
ClRcT clXdrUnmarshallArrayClUint8T(ClBufferHandleT msg, void *pPyld, ClUint32T count)
Unmarshall data of ClUint8T array type.
ClRcT clXdrUnmarshallArrayClUint16T(ClBufferHandleT msg, void *pPyld, ClUint32T count)
Unmarshall data of ClUint16T array type.
ClRcT clXdrUnmarshallClCharT(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClCharT type.
ClRcT clXdrMarshallClHandleT(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClHandleT type.
ClRcT clXdrMarshallArrayClUint8T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall array of ClUint8T type.
ClRcT clXdrUnmarshallClHandleT(ClBufferHandleT msg, void *pBuf)
Unmarshall data of ClHandleT type.
ClRcT clXdrMarshallClUint16T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClUint16T type.
ClRcT clXdrMarshallClVersionT(void *pGenVar, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClVersionT type.
ClRcT clXdrUnmarshallClUint32T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClUint32T type.
ClRcT clXdrMarshallArrayClUint16T(void *pPyld, ClUint32T count, ClBufferHandleT msg, ClUint32T isDelete)
Marshall array of ClUint16T type.
ClRcT clXdrMarshallClInt8T(void *pPyld, ClBufferHandleT msg, ClUint32T isDelete)
Marshall data of ClInt8T type.
ClRcT clXdrUnmarshallArrayClCharT(ClBufferHandleT msg, void *pPyld, ClUint32T count)
Unmarshall data of ClCharT array type.
ClRcT clXdrUnmarshallPtrClInt8T(ClBufferHandleT msg, void **pPyld, ClUint32T multiplicity)
Unmarshall data of ClInt8T pointer type.
ClRcT clXdrUnmarshallClInt16T(ClBufferHandleT msg, void *pPyld)
Unmarshall data of ClInt16T type.