Name
CTWave Blob ID Functions -- CTWave Blob ID management functions.
Description
These functions allow for the manipulation of Blobs, ie. text or binary
columns.
Details
struct CTWaveBlobId
struct CTWaveBlobId {
gshort is_not_null;
gshort is_not_modified;
CTWaveBlob *blob;
}; |
Use at your own risk.
ctwave_blob_id_new ()
Constructs a new CTWave Blob ID Object.
ctwave_blob_id_del ()
Destroys the specified blob object, frees any memory that the
blob was holding.
ctwave_blob_id_copy ()
Copies one blob object to another.
ctwave_blob_id_equal ()
Compares two blob objects. Currently only checks to see if they are not
null. Use ctwave_blob_id_nequal instead.
ctwave_blob_id_nequal ()
Compares two blob objects and returns TRUE if they are not equal.
ctwave_blob_id_get ()
void ctwave_blob_id_get (CTWaveBlobId *blobid,
WaveMemBuf *buf); |
Fills the WaveMemBuf object with blob's contents. The function
ctwave_query_read should be called first to fill the blob.
ctwave_blob_id_get_b ()
void ctwave_blob_id_get_b (CTWaveBlobId *blobid,
WaveMemBuf *buf); |
Fills the WaveMemBuf object with blob's contents. The function
ctwave_query_read should be called first to fill the blob. This
function is used for binary data.
ctwave_blob_id_set ()
void ctwave_blob_id_set (CTWaveBlobId *blobid,
const WaveMemBuf *buf); |
Fills the blob object with the contents of the MemBuf. The function
ctwave_blob_id_udpate should be called next to save the data in Sybase.
ctwave_blob_id_set_b ()
void ctwave_blob_id_set_b (CTWaveBlobId *blobid,
const WaveMemBuf *buf); |
Fills the blob object with the contents of the MemBuf. The function
ctwave_blob_id_udpate should be called next to save the data in Sybase.
This function is used for binary data.
ctwave_blob_id_update ()
Saves the contents of the blob object to Sybase.