Scroll to navigation

lsm_job_status_pool_get(3) Libstoragemgmt C API Manual lsm_job_status_pool_get(3)

NAME

lsm_job_status_pool_get - Check on the status of a job with lsm_pool returned.

SYNOPSIS

int lsm_job_status_pool_get (lsm_connect *conn, const char *job_id, lsm_job_status *status, uint8_t *percent_complete, lsm_pool **pool, lsm_flag flags);

ARGUMENTS

Valid connection pointer
String. Job to check status on.
Output pointer of lsm_job_status. Possible values are: * LSM_JOB_COMPLETE
Job complete with no error. * LSM_JOB_ERROR
Job complete with error. * LSM_JOB_INPROGRESS
Job is still in progress.
Output pointer of uint8_t. Percent job complete. Domain 0..100.
Output pointer of lsm_pool for completed operation. Returned value must be freed with a call to lsm_pool_record_free.
Reserved for future use, must be zero

VERSION

1.0

DESCRIPTION

Check on the status of a job with lsm_pool returned.

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags.
* LSM_ERR_NOT_FOUND_JOB
When job not found.

lsm_job_status_pool_get May 2019