Scroll to navigation

lsm_connect_password(3) Libstoragemgmt C API Manual lsm_connect_password(3)

NAME

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

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.

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.

lsm_connect_password January 2023