Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetResourceType

Retrieve the resource type.

DECLARATION

ULONG ctdbDECL ctdbGetResourceType(CTHANDLE resource);

DESCRIPTION

Retrieve the resource type. resource is a handle allocated by ctdbAllocResource().

RETURN

Returns the resource type.

EXAMPLE

if (ctdbGetResourceType(hRes) != type)

ctdbSetResourceType(hRes, type);

SEE ALSO

ctdbAllocResource(), ctdbFreeResource(), ctdbAddResource(), ctdbDeleteResource(), ctdbFirstResource(), ctdbNextResource(), ctdbFindResource(), ctdbFindResourceByName(), ctdbUpdateResource(), ctdbSetResourceType(), ctdbGetResourceNumber(), ctdbSetResourceNumber(), ctdbGetResourceName(), ctdbSetResourceName(), ctdbGetResourceDataLength(), ctdbGetResourceData(), ctdbSetResourceData(), ctdbIsResourceLocked(), ctdbUnlockResource()

TOCIndex