Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbBlobClear

Clear a blob variable by releasing memory associated with data.

Declaration

CTDBRET ctdbBlobClear(pCTBLOB pBlob)

Description

ctdbBlobClear() clears a blob variable by releasing memory associated with data, setting data to NULL and size to zero.

  • pBlob [in] the blob pointer.

Returns

ctdbBlobClear() returns CTDBRET_OK if successful, or the c-tree error code on failure.

See also

ctdbBlobGetData(), ctdbBlobCmp(), ctdbBlobGetSize(), ctdbBlobSet(), ctdbBlobFree()

TOCIndex