ctdbSetResourceNumber
Set a resource number.
DECLARATION
CTDBRET ctdbDECL ctdbSetResourceNumber(CTHANDLE resource, ULONG number);
DESCRIPTION
Sets a resource number.
RETURN
ctdbSetResourceNumber() returns CTDBRET_OK on success.
EXAMPLE
if (ctdbGetResourceNumber(hRes) != number)
ctdbSetResourceNumber(hRes, number);
SEE ALSO
ctdbAllocResource(), ctdbFreeResource(), ctdbAddResource(), ctdbDeleteResource(), ctdbUpdateResource(), ctdbFirstResource(), ctdbNextResource(), ctdbFindResource(), ctdbFindResourceByName(), ctdbGetResourceType(), ctdbGetResourceNumber(), ctdbSetResourceType(), ctdbGetResourceName(), ctdbSetResourceName(), ctdbGetResourceDataLength(), ctdbGetResourceData(), ctdbSetResourceData(), ctdbIsResourceLocked(), ctdbUnlockResource()