1 /* 2 * svn_dirent_uri_private.h : private definitions for dirents and URIs 3 * 4 * ==================================================================== 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * ==================================================================== 22 */ 23 24 #ifndef SVN_DIRENT_URI_PRIVATE_H 25 #define SVN_DIRENT_URI_PRIVATE_H 26 27 #include <apr_pools.h> 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif /* __cplusplus */ 32 33 /** 34 * Convert @a relpath from the local style to the canonical internal style. 35 * "Local style" means native path separators and "." for the empty path. 36 * 37 * Allocates the results in @a result_pool. Uses @a scratch_pool for 38 * temporary allocations. 39 * 40 * @since New in 1.7 (as svn_relpath__internal_style()). 41 * @since Name and signature changed in 1.12. 42 */ 43 svn_error_t * 44 svn_relpath__make_internal(const char **internal_style_relpath, 45 const char *relpath, 46 apr_pool_t *result_pool, 47 apr_pool_t *scratch_pool); 48 49 #ifdef __cplusplus 50 } 51 #endif /* __cplusplus */ 52 53 #endif /* SVN_DIRENT_URI_PRIVATE_H */ 54