conn
is a pointer to the connection descriptor that a previous call to mi_open() or mi_server_connect() has established.
filename
must be NULL.
flags
must be MI_LO_INTERNAL_LO.
mode
smgr
is the storage manager on which the object is created. Currently, the only legal value is MI_LO_DEFAULT_SMGR.
asmgr
is the archive storage manager for the smart large object. Current legal values are MI_LO_DEFAULT_SMGR and MI_LO_NOSMGR.
The following table summarizes valid values for the parameters for this routine.
current connection descriptor
NULL
MI_LO_INTERNAL_LO
smgs
MI_LO_DEFAULT_SMGR
MI_LO_DEFAULT_SMGR or MI_LO_NOSMGR
Usage Use mi_file_to_large_object() to create a smart large object and populate it with data. Use mi_free() to free this handle when it is no longer needed. Return Values On success, returns a handle for the object; on failure, returns NULL. Related Topics See the descriptions of the following functions: mi_file_to_large_object(), mi_large_object_copy(), mi_large_object_create_opts(), and mi_large_object_info().