GME  13
svn_dav.h
Go to the documentation of this file.
00001 
00028 
00029 
00030 #ifndef SVN_DAV_H
00031 #define SVN_DAV_H
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif /* __cplusplus */
00037 
00038 
00044 #define SVN_SVNDIFF_MIME_TYPE "application/vnd.svn-svndiff"
00045 
00052 #define SVN_SKEL_MIME_TYPE "application/vnd.svn-skel"
00053 
00066 #define SVN_DAV_DELTA_BASE_HEADER "X-SVN-VR-Base"
00067 
00071 #define SVN_DAV_OPTIONS_HEADER "X-SVN-Options"
00072 
00078 #define SVN_DAV_OPTION_NO_MERGE_RESPONSE "no-merge-response"
00079 #define SVN_DAV_OPTION_LOCK_BREAK        "lock-break"
00080 #define SVN_DAV_OPTION_LOCK_STEAL        "lock-steal"
00081 #define SVN_DAV_OPTION_RELEASE_LOCKS     "release-locks"
00082 #define SVN_DAV_OPTION_KEEP_LOCKS        "keep-locks"
00083 
00090 #define SVN_DAV_VERSION_NAME_HEADER "X-SVN-Version-Name"
00091 
00095 #define SVN_DAV_CREATIONDATE_HEADER "X-SVN-Creation-Date"
00096 
00103 #define SVN_DAV_LOCK_OWNER_HEADER "X-SVN-Lock-Owner"
00104 
00109 #define SVN_DAV_YOUNGEST_REV_HEADER "SVN-Youngest-Rev"
00110 
00115 #define SVN_DAV_REPOS_UUID_HEADER "SVN-Repository-UUID"
00116 
00122 #define SVN_DAV_ME_RESOURCE_HEADER "SVN-Me-Resource"
00123 
00128 #define SVN_DAV_ROOT_URI_HEADER "SVN-Repository-Root"
00129 
00136 #define SVN_DAV_REV_STUB_HEADER "SVN-Rev-Stub"
00137 
00143 #define SVN_DAV_REV_ROOT_STUB_HEADER "SVN-Rev-Root-Stub"
00144 
00151 #define SVN_DAV_TXN_STUB_HEADER "SVN-Txn-Stub"
00152 
00157 #define SVN_DAV_VTXN_STUB_HEADER "SVN-VTxn-Stub"
00158 
00166 #define SVN_DAV_TXN_ROOT_STUB_HEADER "SVN-Txn-Root-Stub"
00167 
00172 #define SVN_DAV_VTXN_ROOT_STUB_HEADER "SVN-VTxn-Root-Stub"
00173 
00180 #define SVN_DAV_TXN_NAME_HEADER "SVN-Txn-Name"
00181 
00187 #define SVN_DAV_VTXN_NAME_HEADER "SVN-VTxn-Name"
00188 
00193 #define SVN_DAV_SUPPORTED_POSTS_HEADER "SVN-Supported-Posts"
00194 
00199 #define SVN_DAV_ALLOW_BULK_UPDATES "SVN-Allow-Bulk-Updates"
00200 
00206 #define SVN_DAV_REPOSITORY_MERGEINFO "SVN-Repository-MergeInfo"
00207 
00229 #define SVN_DAV_BASE_FULLTEXT_MD5_HEADER "X-SVN-Base-Fulltext-MD5"
00230 #define SVN_DAV_RESULT_FULLTEXT_MD5_HEADER "X-SVN-Result-Fulltext-MD5"
00231 
00233 /* ### should add strings for the various XML elements in the reports
00234    ### and things. also the custom prop names. etc.
00235 */
00236 
00243 #define SVN_DAV_ERROR_NAMESPACE "svn:"
00244 
00246 #define SVN_DAV_ERROR_TAG       "error"
00247 
00261 #define SVN_DAV_PROP_NS_SVN "http://subversion.tigris.org/xmlns/svn/"
00262 
00268 #define SVN_DAV_PROP_NS_CUSTOM "http://subversion.tigris.org/xmlns/custom/"
00269 
00273 #define SVN_DAV_PROP_NS_DAV "http://subversion.tigris.org/xmlns/dav/"
00274 
00275 
00283 /* ##################################################################
00284  *
00285  *    WARNING:  At least some versions of Microsoft's Web Folders
00286  *              WebDAV client implementation are unable to handle
00287  *              DAV: headers with values longer than 63 characters,
00288  *              so please keep these strings within that limit.
00289  *
00290  * ##################################################################
00291  */
00292 
00293 
00299 #define SVN_DAV_NS_DAV_SVN_DEPTH\
00300             SVN_DAV_PROP_NS_DAV "svn/depth"
00301 
00312 #define SVN_DAV_NS_DAV_SVN_MERGEINFO\
00313             SVN_DAV_PROP_NS_DAV "svn/mergeinfo"
00314 
00321 #define SVN_DAV_NS_DAV_SVN_LOG_REVPROPS\
00322             SVN_DAV_PROP_NS_DAV "svn/log-revprops"
00323 
00330 #define SVN_DAV_NS_DAV_SVN_PARTIAL_REPLAY\
00331             SVN_DAV_PROP_NS_DAV "svn/partial-replay"
00332 
00339 #define SVN_DAV_NS_DAV_SVN_ATOMIC_REVPROPS\
00340             SVN_DAV_PROP_NS_DAV "svn/atomic-revprops"
00341 
00348 #define SVN_DAV_NS_DAV_SVN_INHERITED_PROPS\
00349             SVN_DAV_PROP_NS_DAV "svn/inherited-props"
00350 
00358 #define SVN_DAV_NS_DAV_SVN_EPHEMERAL_TXNPROPS\
00359             SVN_DAV_PROP_NS_DAV "svn/ephemeral-txnprops"
00360 
00367 #define SVN_DAV_NS_DAV_SVN_INLINE_PROPS\
00368             SVN_DAV_PROP_NS_DAV "svn/inline-props"
00369 
00377 #define SVN_DAV_NS_DAV_SVN_REPLAY_REV_RESOURCE\
00378             SVN_DAV_PROP_NS_DAV "svn/replay-rev-resource"
00379 
00386 #define SVN_DAV_NS_DAV_SVN_REVERSE_FILE_REVS\
00387             SVN_DAV_PROP_NS_DAV "svn/reverse-file-revs"
00388 
00389 
00394 #ifdef __cplusplus
00395 }
00396 #endif /* __cplusplus */
00397 
00398 #endif  /* SVN_DAV_H */