1lsm_connect_password(3) Libstoragemgmt C API Manual lsm_connect_password(3)
2
3
4
6 lsm_connect_password - Get a connection to a storage provider.
7
9 int lsm_connect_password (const char *uri, const char *password,
10 lsm_connect **conn, uint32_t timeout, lsm_error_ptr *e, lsm_flag
11 flags);
12
14 uri Uniform Resource Identifier (see URI documentation)
15
16 password Password for the storage array (optional, can be NULL)
17
18 conn The connection to use for all the other library calls.
19 When done using the connection it must be freed with a call
20 to lsm_connect_close.
21
22 timeout Time-out in milliseconds, (initial value).
23
24 e Error data if connection failed.
25
26 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
27
29 1.0
30
32 Get a connection to a storage provider.
33
35 Error code as enumerated by 'lsm_error_number'.
36 * LSM_ERR_OK
37 On success.
38 * LSM_ERR_INVALID_ARGUMENT
39 When any argument is NULL or invalid flags.
40
41
42
43May 2018 lsm_connect_password lsm_connect_password(3)