lsm_connect_password man page

lsm_connect_password — Get a connection to a storage provider.

Synopsis

int lsm_connect_password (const char *uri, const char *password, lsm_connect **conn, uint32_t timeout, lsm_error_ptr *e, lsm_flag flags);

Arguments

uri

Uniform Resource Identifier (see URI documentation)

password

Password for the storage array (optional, can be NULL)

conn

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.

timeout

Time-out in milliseconds, (initial value).

e

Error data if connection failed.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Get a connection to a storage provider.

Return

Error code as enumerated by 'lsm_error_number'.
   * LSM_ERR_OK
       On success.
   * LSM_ERR_INVALID_ARGUMENT
       When any argument is NULL or invalid flags.

Info

lsm_connect_password October 2017 Libstoragemgmt C API Manual