1 /* 2 * svn_dav_protocol.h: Declarations of the protocol shared by the 3 * mod_dav_svn backend for httpd's mod_dav and its ra_serf RA DAV clients. 4 * 5 * ==================================================================== 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * ==================================================================== 23 */ 24 25 #ifndef SVN_DAV_PROTOCOL_H 26 #define SVN_DAV_PROTOCOL_H 27 28 #ifdef __cplusplus 29 extern "C" { 30 #endif /* __cplusplus */ 31 32 /** Names for the custom HTTP REPORTs understood by mod_dav_svn, sans 33 namespace. */ 34 #define SVN_DAV__MERGEINFO_REPORT "mergeinfo-report" 35 #define SVN_DAV__INHERITED_PROPS_REPORT "inherited-props-report" 36 37 /** Names for XML child elements of the custom HTTP REPORTs understood 38 by mod_dav_svn, sans namespace. */ 39 #define SVN_DAV__CREATIONDATE "creationdate" 40 #define SVN_DAV__MERGEINFO_ITEM "mergeinfo-item" 41 #define SVN_DAV__MERGEINFO_PATH "mergeinfo-path" 42 #define SVN_DAV__MERGEINFO_INFO "mergeinfo-info" 43 #define SVN_DAV__PATH "path" 44 #define SVN_DAV__INHERIT "inherit" 45 #define SVN_DAV__REVISION "revision" 46 #define SVN_DAV__INCLUDE_DESCENDANTS "include-descendants" 47 #define SVN_DAV__VERSION_NAME "version-name" 48 #define SVN_DAV__IPROP_ITEM "iprop-item" 49 #define SVN_DAV__IPROP_PATH "iprop-path" 50 #define SVN_DAV__IPROP_PROPNAME "iprop-propname" 51 #define SVN_DAV__IPROP_PROPVAL "iprop-propval" 52 53 /** Names of XML elements attributes and tags for svn_ra_change_rev_prop2()'s 54 extension of PROPPATCH. */ 55 #define SVN_DAV__OLD_VALUE "old-value" 56 #define SVN_DAV__OLD_VALUE__ABSENT "absent" 57 58 /** Helper typedef for svn_ra_change_rev_prop2() implementation. */ 59 typedef struct svn_dav__two_props_t { 60 const svn_string_t *const *old_value_p; 61 const svn_string_t *new_value; 62 } svn_dav__two_props_t; 63 64 #ifdef __cplusplus 65 } 66 #endif /* __cplusplus */ 67 68 #endif /* SVN_DAV_PROTOCOL_H */ 69