Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

px_set_blob_file(3) [debian man page]

PX_SET_BLOB_FILE(3)					     Library Functions Manual					       PX_SET_BLOB_FILE(3)

NAME
PX_set_blob_file -- Associate blob file with database SYNOPSIS
#include <paradox.h> int PX_set_blob_file(pxdoc_t *pxdoc, const char *filename) DESCRIPTION
Opens or creates the given blob file and associates it with the Paradox database. This function must be called before accessing records whose blob data is stored in a .MB file. It must also be called after opening or creating the paradox database. If the blob data is con- tained in the record itself or can be stored in the record, this function may not be called. This function must be called after opening or creating the database file, because it uses the same file open mode. If you call it before PX_open_file(3) or PX_create_file(3) it will quit with an error. RETURN VALUE
Returns a value < 0 in case of an error, otherwise 0. SEE ALSO
PX_open_file(3), PX_create_file(3) AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PX_SET_BLOB_FILE(3)

Check Out this Related Man Page

PX_SET_BLOB_FILE(3)													       PX_SET_BLOB_FILE(3)

px_set_blob_file - Sets the file where blobs are read from

SYNOPSIS
bool px_set_blob_file (resource $pxdoc, string $filename) DESCRIPTION
Sets the name of the file where blobs are going to be read from or written into. Without calling this function, px_get_record(3) or px_retrieve_record(3) will only return data in blob fields if the data is part of the record and not stored in the blob file. Blob data is stored in the record if it is small enough to fit in the size of the blob field. Calling px_put_record(3), px_insert_record(3), or px_update_record(3) without calling px_set_blob_file(3) will result in truncated blob fields unless the data fits into the database file. Calling this function twice will close the first blob file and open the new one. PARAMETERS
o $pxdoc - Resource identifier of the paradox database as returned by px_new(3). o $filename - The name of the file. Its extension should be .MB. RETURN VALUES
Returns TRUE on success or FALSE on failure. PHP Documentation Group PX_SET_BLOB_FILE(3)
Man Page