lsm_connect_password man page
lsm_connect_password — Get a connection to a storage provider.
int lsm_connect_password (const char *uri, const char *password, lsm_connect **conn, uint32_t timeout, lsm_error_ptr *e, lsm_flag flags);
Uniform Resource Identifier (see URI documentation)
Password for the storage array (optional, can be NULL)
The connection to use for all the other library calls. When done using the connection it must be freed with a call to lsm_connect_close.
Time-out in milliseconds, (initial value).
Error data if connection failed.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Get a connection to a storage provider.
Error code as enumerated by 'lsm_error_number'.
When any argument is NULL or invalid flags.