Code Examples.
Code Examples.
ClUint32T contextMapCookie = 100;
ClUint32T contextId = 0;
{
}
ClUint64T objRef = 0;
{
}
ClUint32T contextMapCookie = 101;
&objRef);
{
}
ClUint32T contextMapCookie = 101;
{
}
ClUint32T compId = YYY;
{
}
{
}
ClUint32T contextId = 0;
{
}
#define CL_OK
Every thing is OK.
Definition: clCommonErrors.h:68
ClNameSvcContextT
Type of context to be created.
Definition: clNameApi.h:126
ClRcT clNameToObjectMappingGet(CL_IN ClNameT *pName, CL_IN ClUint32T attrCount, CL_IN ClNameSvcAttrEntryT *pAttr, CL_IN ClUint32T contextMapCookie, CL_OUT ClNameSvcEntryPtrT *pOutBuff)
Returns the entry of the service.
ClRcT clNameToObjectReferenceGet(CL_IN ClNameT *pName, CL_IN ClUint32T attrCount, CL_IN ClNameSvcAttrEntryT *pAttr, CL_IN ClUint32T contextMapCookie, CL_OUT ClUint64T *pObjReference)
Returns the object reference for a service.
ClRcT clNameServiceDeregister(CL_IN ClUint32T contextId, CL_IN ClUint32T compId, CL_IN ClNameT *serviceName)
De-registers a particular service provided by a component.
ClRcT clNameContextDelete(CL_IN ClUint32T contextId)
Deletes a context.
ClRcT clNameComponentDeregister(CL_IN ClUint32T compId)
De-registers all entries of a component with Name Service.
ClRcT clNameContextCreate(CL_IN ClNameSvcContextT contextType, CL_IN ClUint32T contextMapCookie, CL_OUT ClUint32T *contextId)
Creates a context.
ClRcT clNameRegister(CL_IN ClUint32T contextId, CL_IN ClNameSvcRegisterT *pNSRegisInfo, CL_INOUT ClUint64T *pObjReference)
Registers name to object reference mapping with Name Service.
@ CL_NS_USER_GLOBAL
User defined global context.
Definition: clNameApi.h:136
A name.
Definition: clCommon.h:197
Attribute structure.
Definition: clNameApi.h:231
The structure ClNameSvcRegisterT contains the name service registration information.
Definition: clNameApi.h:276
Name Service Entry.
Definition: clNameApi.h:351