dav/scfg.h

changeset 576
62cc92445234
parent 549
af91d3c96994
child 580
caf23cf7f96d
equal deleted inserted replaced
575:f746f601c35c 576:62cc92445234
1 /* 1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 * 3 *
4 * Copyright 2018 Olaf Wintermann. All rights reserved. 4 * Copyright 2019 Olaf Wintermann. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met: 7 * modification, are permitted provided that the following conditions are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
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
50 #define SYNC_SYMLINK_EXTERN_NOFOLLOW 2
51 #define SYNC_SYMLINK_INTERN_NOFOLLOW 4
52
49 #define DEFAULT_TAG_XATTR "tags" 53 #define DEFAULT_TAG_XATTR "tags"
50 #define MACOS_TAG_XATTR "com.apple.metadata:_kMDItemUserTags" 54 #define MACOS_TAG_XATTR "com.apple.metadata:_kMDItemUserTags"
51 55
52 typedef struct TagConfig TagConfig; 56 typedef struct TagConfig TagConfig;
53 typedef struct Versioning Versioning; 57 typedef struct Versioning Versioning;
67 UcxList *tagfilter; 71 UcxList *tagfilter;
68 UcxList *splitconfig; 72 UcxList *splitconfig;
69 uint32_t metadata; 73 uint32_t metadata;
70 int max_retry; 74 int max_retry;
71 int allow_cmd; 75 int allow_cmd;
76 int symlink;
72 time_t lock_timeout; 77 time_t lock_timeout;
73 bool backuppull; 78 bool backuppull;
74 bool lockpull; 79 bool lockpull;
75 bool lockpush; 80 bool lockpush;
76 bool hashing; 81 bool hashing;

mercurial