mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-22 16:06:30 -05:00
Rework snapshot interface
This commit is contained in:
parent
ec97fb95d2
commit
bfc92e5c05
6 changed files with 147 additions and 157 deletions
|
|
@ -2062,36 +2062,30 @@ int fsinfo(const char* path, int* has_persistent_inode, int* has_syncronized_har
|
|||
return 0;
|
||||
}
|
||||
|
||||
int fssnapshot(const char* path, char* root, size_t root_size, uint32_t* magic)
|
||||
int fssnapshot(const char* path, struct fssnapshot_struct* fss)
|
||||
{
|
||||
(void)path;
|
||||
(void)root;
|
||||
(void)root_size;
|
||||
(void)magic;
|
||||
(void)fss;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int fssnapshot_create(uint32_t magic, const char* source, const char* parent_dir, const char* name)
|
||||
int fssnapshot_create(const struct fssnapshot_struct* fss, const char* name)
|
||||
{
|
||||
(void)magic;
|
||||
(void)source;
|
||||
(void)parent_dir;
|
||||
(void)fss;
|
||||
(void)name;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int fssnapshot_delete(uint32_t magic, const char* parent_dir, const char* name)
|
||||
int fssnapshot_delete(const struct fssnapshot_struct* fss, const char* name)
|
||||
{
|
||||
(void)magic;
|
||||
(void)parent_dir;
|
||||
(void)fss;
|
||||
(void)name;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int fssnapshot_rename(uint32_t magic, const char* parent_dir, const char* old_name, const char* new_name)
|
||||
int fssnapshot_rename(const struct fssnapshot_struct* fss, const char* old_name, const char* new_name)
|
||||
{
|
||||
(void)magic;
|
||||
(void)parent_dir;
|
||||
(void)fss;
|
||||
(void)old_name;
|
||||
(void)new_name;
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue