ctdbGetResourceName
Retrieve the resource name.
DECLARATION
pTEXT ctdbDECL ctdbGetResourceName(CTHANDLE resource);
DESCRIPTION
Retrieve the resource name. A NULL value may be returned to indicate that the resource name was not set.
RETURN
Returns a pointer to the resource name
EXAMPLE
if (ctdbGetResourceName(hRes) == NULL)
ctdbSetResourceName(hRes, "MyResource");
SEE ALSO
ctdbAllocResource(), ctdbFreeResource(), ctdbAddResource(), ctdbDeleteResource(), ctdbFirstResource(), ctdbNextResource(), ctdbFindResource(), ctdbFindResourceByName(), ctdbGetResourceType(), ctdbSetResourceType(), ctdbGetResourceNumber(), ctdbSetResourceNumber(), ctdbUpdateResource(), ctdbSetResourceName(), ctdbGetResourceDataLength(), ctdbGetResourceData(), ctdbSetResourceData(), ctdbIsResourceLocked(), ctdbUnlockResource()