1lsm_job_status_get(3)     Libstoragemgmt C API Manual    lsm_job_status_get(3)
2
3
4

NAME

6       lsm_job_status_get  -  Check  on  the  status  of  a  job  with no data
7       returned.
8

SYNOPSIS

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

ARGUMENTS

14       conn        Valid connection.
15
16       job_id      String. Job id
17
18       status      Output  pointer  of  lsm_job_status. Possible values are: *
19                   LSM_JOB_COMPLETE
20                      Job complete with no error.  * LSM_JOB_ERROR
21                      Job complete with error.  * LSM_JOB_INPROGRESS
22                      Job is still in progress.
23
24       percent_complete
25                   Output pointer of uint8_t.  Percent  job  complete.  Domain
26                   0..100.
27
28       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
29

VERSION

31       1.0
32

DESCRIPTION

34       Check  on  the  status of a job, no data or ignore the data returned on
35       completion.
36

RETURN

38       Error code as enumerated by 'lsm_error_number'.
39           * LSM_ERR_OK
40               On success.
41           * LSM_ERR_INVALID_ARGUMENT
42               When any argument is NULL or not a valid lsm_connect pointer
43               or invalid flags.
44           * LSM_ERR_NOT_FOUND_JOB
45               When job not found.
46
47
48
49May 2018                      lsm_job_status_get         lsm_job_status_get(3)
Impressum