libstoragemgmt_snapshot.h File Reference
#include "libstoragemgmt_common.h"
Go to the source code of this file.
Function Documentation
const char LSM_DLL_EXPORT* lsm_fs_ss_id_get |
( |
lsm_fs_ss * |
ss |
) |
|
Returns the file system snapshot id.
- Parameters:
-
- Returns:
- Pointer to id.
const char LSM_DLL_EXPORT* lsm_fs_ss_name_get |
( |
lsm_fs_ss * |
ss |
) |
|
Returns the name.
- Parameters:
-
| ss | The file system snapshot record |
- Returns:
- The Name
int LSM_DLL_EXPORT lsm_fs_ss_record_array_free |
( |
lsm_fs_ss * |
ss[], |
|
|
uint32_t |
size | |
|
) |
| | |
Frees an array of snapshot record.
- Parameters:
-
| ss | An array of snapshot record pointers. |
| size | Number of snapshot records. |
- Returns:
- LSM_ERR_OK on success, else error reason.
Copies a file system snapshot record.
- Parameters:
-
- Returns:
- Copy of source record snapshot
int LSM_DLL_EXPORT lsm_fs_ss_record_free |
( |
lsm_fs_ss * |
ss |
) |
|
Frees a file system snapshot record.
- Parameters:
-
- Returns:
- LSM_ERR_OK on success, else error reason.
uint64_t LSM_DLL_EXPORT lsm_fs_ss_time_stamp_get |
( |
lsm_fs_ss * |
ss |
) |
|
Returns the timestamp
- Parameters:
-
| ss | The file system snapshot record. |
- Returns:
- The timestamp the file system snapshot was taken