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

NAME

6       lsm_job_status_ss_get  -  Check  on  the status of a job with lsm_fs_ss
7       returned.
8

SYNOPSIS

10       int  lsm_job_status_ss_get  (lsm_connect  *conn,   const   char   *job,
11       lsm_job_status  *status,  uint8_t  *percent_complete,  lsm_fs_ss  **ss,
12       lsm_flag flags);
13

ARGUMENTS

15       conn        Valid connection pointer
16
17       job         String. Job id to check
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       ss          Output  pointer  of  lsm_fs_ss  for  completed   operation.
30                   Returned   value   must   be   freed   with   a   call   to
31                   lsm_fs_ss_record_free.
32
33       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
34

VERSION

36       1.0
37

DESCRIPTION

39       Check on the status of a job and return the snapshot  information  when
40       compete.
41

RETURN

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