1lsm_fs_ss_list(3) Libstoragemgmt C API Manual lsm_fs_ss_list(3)
2
3
4
6 lsm_fs_ss_list - Gets a list of snapshots of specified file system
7
9 int lsm_fs_ss_list (lsm_connect *conn, lsm_fs *fs, lsm_fs_ss **ss[],
10 uint32_t *ss_count, lsm_flag flags);
11
13 conn Valid connection.
14
15 fs Pointer of lsm_fs to check for snapshots.
16
17 ss[] Output pointer of lsm_fs_ss array. It should be manually
18 freed by lsm_fs_ss_record_array_free.
19
20 ss_count Number of elements in the array.
21
22 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
23
25 1.0
26
28 Gets a list of file systems snapshots on this connection. File system
29 snapshot properties could be retrieved by these functions:
30 * lsm_fs_ss_id_get
31 * lsm_fs_ss_name_get
32 * lsm_fs_ss_time_stamp_get
33
35 LSM_CAP_FS_SNAPSHOTS
36
38 Error code as enumerated by 'lsm_error_number'.
39 * LSM_ERR_OK
40 On success or searched value not found.
41 * LSM_ERR_INVALID_ARGUMENT
42 When any argument is NULL or invalid flags or invalid search
43 key.
44 * LSM_ERR_NO_SUPPORT
45 Not supported.
46
47
48
49February 2020 lsm_fs_ss_list lsm_fs_ss_list(3)