Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

Get and Set Resource Properties with the c-treeDB API C API

A number of functions are provided to enable getting and setting resource handle properties. The table below describes each function.

c-treeDB 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

TOCIndex