lsm_connect_timeout_set man page

lsm_connect_timeout_set — Sets the time-out for this connection.

Synopsis

int lsm_connect_timeout_set (lsm_connect *conn, uint32_t timeout, lsm_flag flags);

Arguments

conn

Valid lsm_connect pointer.

timeout

Time-out in ms.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Sets the time-out for this connection.

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 lsm_connect or invalid
       flags.

Info

lsm_connect_timeout_set October 2017 Libstoragemgmt C API Manual