ctdbGetSessionHandle
Return the session handle from the opaque handle.
Declaration
CTHANDLE ctdbGetSessionHandle(CTHANDLE Handle)
Description
ctdbGetSessionHandle() returns the session handle from the opaque handle, having as parameter any handle inside the session. To allocate a session handle, use ctdbAllocSession().
Returns
ctdbGetSessionHandle() returns the session handle or NULL on failure.
Example
hSess=ctdbGetSessionHandle(hDatabase);
See also
ctdbAllocSession(), ctdbAllocDatabase(), ctdbAllocTable(), ctdbAllocRecord(), ctdbAllocField(), ctdbAllocIndex(), ctdbAllocSegment(), ctdbGetDatabaseHandle()