conn
is a pointer to the connection descriptor that a previous call to mi_open() or mi_server_connect() established.
LOhdl_dptr
is a doubly indirected pointer to an LO handle that identifies the new smart large object. This smart large object is where mi_lo_expand() copies the multirepresentational data.
multirep_ptr
is a pointer to a buffer that contains the multirepresentational data to store in the new smart large object.
multirep_len
is an integer that specifies the size of the multirep_ptr data, in bytes.
flags
is an integer that specifies the mode in which to open the smart large object that LOhdl_dptr references.
LO_spec
is a pointer to the LO-specification structure that contains the storage characteristics to use for the new smart large object.
Yes
1. It obtains an LO handle for the new smart large object and assigns a pointer to the handle to the argument that LOhdl_dptr references.
2. It assigns the storage characteristics from the LO-specification structure, LO_spec, to the new smart large object.
3. It opens the new smart large object in the open mode that the flags argument specifies.
4. It copies the contents of the multirepresentational data in the multirep_ptr buffer into the new smart large object that *LOhdl_dptr references.
5. It returns an LO file descriptor that identifies the new smart large object and is positioned at the start of this smart large object.
An MI_LO_FD
The LO file descriptor for the open smart large object that LOhdl_dptr references. The function also initializes the LO handle that LOhdl_dptr references.
MI_ERROR
The function was not successful.