Functions | |
int | sqlo_alloc_lob_desc (sqlo_db_handle_t dbh, sqlo_lob_desc_t *loblpp) |
Allocate a lob descriptor. | |
int | sqlo_free_lob_desc (sqlo_db_handle_t dbh, sqlo_lob_desc_t *loblpp) |
Free a lob descriptor. | |
int | sqlo_lob_write_buffer (sqlo_db_handle_t dbh, sqlo_lob_desc_t loblp, unsigned int loblen, void *bufp, unsigned int bufl, unsigned int piece) |
Write lob data from buffer into the lob column. | |
int | sqlo_lob_append_buffer (sqlo_db_handle_t dbh, sqlo_lob_desc_t loblp, unsigned int loblen, void *bufp, unsigned int bufl, unsigned int piece) |
Append lob data from buffer to the lob column. | |
int | sqlo_lob_write_stream (sqlo_db_handle_t dbh, sqlo_lob_desc_t loblp, unsigned int filelen, FILE *fp) |
Write lob data from a file into the lob column. | |
int | sqlo_lob_get_length (sqlo_db_handle_t dbh, sqlo_lob_desc_t loblp, unsigned int *loblenp) |
Get the length of a lob. | |
int | sqlo_lob_read_buffer (sqlo_db_handle_t dbh, sqlo_lob_desc_t loblp, unsigned int loblen, void *bufp, unsigned int bufl) |
Read lob data from lob column into a buffer. | |
int | sqlo_lob_read_stream (sqlo_db_handle_t dbh, sqlo_lob_desc_t loblp, unsigned int loblen, FILE *fp) |
Read lob data from lob column into a stream. |
|
Allocate a lob descriptor.
|
|
Free a lob descriptor. Frees the descriptor and sets *loblp to NULL.
|
|
Append lob data from buffer to the lob column.
|
|
Get the length of a lob.
|
|
Read lob data from lob column into a buffer. Reads data from the lob and writes it into the supplied buffer. Use sqlo_lob_get_length to get the loblen you have to use here.
|
|
Read lob data from lob column into a stream. Use sqlo_lob_get_length to get the loblen you have to use here.
|
|
Write lob data from buffer into the lob column.
|
|
Write lob data from a file into the lob column. This function reads the data from the stream and writes it into the lob column via sqlo_lob_write_buffer.
|