36 |
36 |
37 #ifdef __cplusplus |
37 #ifdef __cplusplus |
38 extern "C" { |
38 extern "C" { |
39 #endif |
39 #endif |
40 |
40 |
|
41 #define DAV_MAX_RETRY 1 |
|
42 |
41 typedef struct SyncDirectory { |
43 typedef struct SyncDirectory { |
42 char *name; |
44 char *name; |
43 char *path; |
45 char *path; |
44 char *trash; |
46 char *trash; |
45 char *collection; |
47 char *collection; |
46 char *repository; |
48 char *repository; |
47 char *database; |
49 char *database; |
48 UcxList *include; |
50 UcxList *include; |
49 UcxList *exclude; |
51 UcxList *exclude; |
|
52 int max_retry; |
50 } SyncDirectory; |
53 } SyncDirectory; |
51 |
54 |
52 int load_sync_config(); |
55 int load_sync_config(); |
53 |
56 |
54 int scfg_load_directory(xmlNode *node); |
57 int scfg_load_directory(xmlNode *node); |