comparison: dav/scfg.h
dav/scfg.h
- changeset 347
- b6ff6be7aa91
- parent 316
- 9d0505d80044
- child 361
- b6f2462ee055
equal
deleted
inserted
replaced
36 |
36 |
37 #ifdef __cplusplus |
37 #ifdef __cplusplus |
38 extern "C" { |
38 extern "C" { |
39 #endif |
39 #endif |
40 |
40 |
|
41 #define SYNC_CMD_PULL 1 |
|
42 #define SYNC_CMD_PUSH 2 |
|
43 #define SYNC_CMD_ARCHIVE 4 |
41 |
44 |
42 typedef struct SyncDirectory { |
45 typedef struct SyncDirectory { |
43 char *name; |
46 char *name; |
44 char *path; |
47 char *path; |
45 char *trash; |
48 char *trash; |
47 char *repository; |
50 char *repository; |
48 char *database; |
51 char *database; |
49 UcxList *include; |
52 UcxList *include; |
50 UcxList *exclude; |
53 UcxList *exclude; |
51 int max_retry; |
54 int max_retry; |
|
55 int allow_cmd; |
52 time_t lock_timeout; |
56 time_t lock_timeout; |
53 bool backuppull; |
57 bool backuppull; |
54 bool lockpull; |
58 bool lockpull; |
55 bool lockpush; |
59 bool lockpush; |
56 } SyncDirectory; |
60 } SyncDirectory; |