ctdbGetLocalTag
Retrieves the local tag associate with a handle.
DECLARATION
pVOID ctdbGetLocalTag(CTHANDLE Handle);
DESCRIPTION
Retrieves the local tag associated with a handle. A localTag pointer is available for session, database, table and record handles, and is initialized with NULL when the handle is allocated.
RETURN
A pointer to a localTag, or NULL if Handle is NULL.
EXAMPLE
if (ctdbGetLocalTag(Handle))
{
pSession->onFree(ctdbGetLocalTag(Handle));
ctdbSetLocalTag(Handle, NULL);
}
SEE ALSO
ctdbGetHandleType(), ctdbSetLocalTag()