lsm_volume_child_dependency man page
lsm_volume_child_dependency — Check whether volume has child dependencies.
int lsm_volume_child_dependency (lsm_connect *conn, lsm_volume *volume, uint8_t *yes, lsm_flag flags);
Pointer of lsm_volume.
uint8_t. 1 == Yes, 0 == No
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
Returns 1 if the specified volume has child dependencies, else returns 0. Child dependencies means specified volume is acting as source volume of a replication.
Error code as enumerated by 'lsm_error_number'.
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags or invalid volume.
When volume not found.