44 #define SYNC_CMD_PULL 1 |
44 #define SYNC_CMD_PULL 1 |
45 #define SYNC_CMD_PUSH 2 |
45 #define SYNC_CMD_PUSH 2 |
46 #define SYNC_CMD_ARCHIVE 4 |
46 #define SYNC_CMD_ARCHIVE 4 |
47 #define SYNC_CMD_RESTORE 8 |
47 #define SYNC_CMD_RESTORE 8 |
48 |
48 |
49 #define SYNC_SYMLINK_STORE 1 |
49 #define SYNC_SYMLINK_SYNC 1 |
50 #define SYNC_SYMLINK_EXTERN_NOFOLLOW 2 |
50 #define SYNC_SYMLINK_EXTERN_NOFOLLOW 2 |
51 #define SYNC_SYMLINK_INTERN_NOFOLLOW 4 |
51 #define SYNC_SYMLINK_INTERN_NOFOLLOW 4 |
52 |
52 |
53 #define DEFAULT_TAG_XATTR "tags" |
53 #define DEFAULT_TAG_XATTR "tags" |
54 #define MACOS_TAG_XATTR "com.apple.metadata:_kMDItemUserTags" |
54 #define MACOS_TAG_XATTR "com.apple.metadata:_kMDItemUserTags" |
55 |
55 |
56 #define SYNC_SYMLINK(dir) \ |
56 #define SYNC_SYMLINK(dir) \ |
57 (((dir)->symlink & SYNC_SYMLINK_STORE) == SYNC_SYMLINK_STORE) |
57 (((dir)->symlink & SYNC_SYMLINK_SYNC) == SYNC_SYMLINK_SYNC) |
58 |
58 |
59 typedef struct TagConfig TagConfig; |
59 typedef struct TagConfig TagConfig; |
60 typedef struct Versioning Versioning; |
60 typedef struct Versioning Versioning; |
61 typedef struct SplitConfig SplitConfig; |
61 typedef struct SplitConfig SplitConfig; |
62 |
62 |