60 #define SYNC_STORE_HASH(dir) ((dir)->store_hash) |
60 #define SYNC_STORE_HASH(dir) ((dir)->store_hash) |
61 |
61 |
62 typedef struct TagConfig TagConfig; |
62 typedef struct TagConfig TagConfig; |
63 typedef struct Versioning Versioning; |
63 typedef struct Versioning Versioning; |
64 typedef struct SplitConfig SplitConfig; |
64 typedef struct SplitConfig SplitConfig; |
65 |
65 |
|
66 enum PushStrategy { |
|
67 PUSH_STRATEGY_METADATA = 0, |
|
68 PUSH_STRATEGY_HASH |
|
69 }; |
|
70 typedef enum PushStrategy PushStrategy; |
|
71 |
66 typedef struct SyncDirectory { |
72 typedef struct SyncDirectory { |
67 char *name; |
73 char *name; |
68 char *path; |
74 char *path; |
69 char *trash; |
75 char *trash; |
70 char *collection; |
76 char *collection; |