]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/storage/rsync.h
lxc: switch to SPDX
[mirror_lxc.git] / src / lxc / storage / rsync.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2
3 #ifndef __LXC_RSYNC_H
4 #define __LXC_RSYNC_H
5
6 #include <stdio.h>
7
8 struct rsync_data {
9 struct lxc_storage *orig;
10 struct lxc_storage *new;
11 };
12
13 struct rsync_data_char {
14 char *src;
15 char *dest;
16 };
17
18 /* new helpers */
19 extern int lxc_rsync_exec_wrapper(void *data);
20 extern int lxc_storage_rsync_exec_wrapper(void *data);
21 extern int lxc_rsync_exec(const char *src, const char *dest);
22 extern int lxc_rsync(struct rsync_data *data);
23
24 #endif /* __LXC_RSYNC_H */