1lsm_job_status_pool_get(3)Libstoragemgmt C API Manuallsm_job_status_pool_get(3)
2
3
4

NAME

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

SYNOPSIS

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

ARGUMENTS

15       conn        Valid connection pointer
16
17       job_id      String. Job to check status on.
18
19       status      Output pointer of lsm_job_status. Possible  values  are:  *
20                   LSM_JOB_COMPLETE
21                      Job complete with no error.  * LSM_JOB_ERROR
22                      Job complete with error.  * LSM_JOB_INPROGRESS
23                      Job is still in progress.
24
25       percent_complete
26                   Output  pointer  of  uint8_t.  Percent job complete. Domain
27                   0..100.
28
29       pool        Output  pointer  of  lsm_pool  for   completed   operation.
30                   Returned   value   must   be   freed   with   a   call   to
31                   lsm_pool_record_free.
32
33       flags       Reserved for future use, must be zero
34

VERSION

36       1.0
37

DESCRIPTION

39       Check on the status of a job with lsm_pool returned.
40

RETURN

42       Error code as enumerated by 'lsm_error_number'.
43           * LSM_ERR_OK
44               On success.
45           * LSM_ERR_INVALID_ARGUMENT
46               When any argument is NULL or not a valid lsm_connect pointer
47               or invalid flags.
48           * LSM_ERR_NOT_FOUND_JOB
49               When job not found.
50
51
52
53December 2019               lsm_job_status_pool_get lsm_job_status_pool_get(3)
Impressum