LLD_IO* lld_open_client(conn, path, flags, error); MI_CONNECTION* conn mi_string* path; mi_integer flags; mi_integer* error;
LLD_IO* lld_open_client(MI_CONNECTION* conn,mi_string* path, mi_integer flags,mi_integer* error);
This function opens an existing client file. After the file is open, you can use any of the Large Object Locator functions, such as lld_read(), lld_write(), and so on, that operate on open large objects.
Large Object Locator does not directly support two fundamental database features, transaction rollback and concurrency control. Therefore, if the transaction in which you call lld_open_client() is aborted, you should call lld_close() to close the object and reclaim any allocated resources.
Your application should also provide some means, such as locking a row, to guarantee that multiple users cannot write to a large object simultaneously.
See Limitations for more information about transaction rollback and concurrency control.
On success, this function returns a pointer to an LLD_IO structure that it allocates. The LLD_IO structure is private, and you should not directly access it or modify its contents. Instead, you should pass its pointer to Large Object Locator routines such as lld_write(), lld_read(), and so on, that access open client files.
A client file remains open until you explicitly close it with the lld_close() function. Therefore, if you encounter error conditions after opening a client file, you are responsible for reclaiming resources by closing it.
On failure, this function returns NULL.
lld_close(), page lld_close()
lld_read(), page lld_read()
lld_seek(), page lld_seek()
lld_tell(), page lld_tell()
lld_write(), page lld_write()