A number of functions are provided to enable getting and setting resource handle properties. The table below describes each function.
FairCom DB API Resource API Function |
Description |
ctdbGetResourceType() |
get the resource type |
ctdbSetResourceType() |
set the resource type |
ctdbGetResourceNumber() |
get the resource number |
ctdbSetResourceNumber() |
set the resource number |
ctdbGetResourceName() |
get the resource name |
ctdbSetResourceName() |
set the resource name |
ctdbGetResourceDataLength() |
get the resource data buffer length in bytes |
ctdbGetResourceData() |
get a pointer to resource data buffer |
ctdbSetResourceData() |
set the resource data buffer |