1251881Speter/** 2251881Speter * @copyright 3251881Speter * ==================================================================== 4251881Speter * Licensed to the Apache Software Foundation (ASF) under one 5251881Speter * or more contributor license agreements. See the NOTICE file 6251881Speter * distributed with this work for additional information 7251881Speter * regarding copyright ownership. The ASF licenses this file 8251881Speter * to you under the Apache License, Version 2.0 (the 9251881Speter * "License"); you may not use this file except in compliance 10251881Speter * with the License. You may obtain a copy of the License at 11251881Speter * 12251881Speter * http://www.apache.org/licenses/LICENSE-2.0 13251881Speter * 14251881Speter * Unless required by applicable law or agreed to in writing, 15251881Speter * software distributed under the License is distributed on an 16251881Speter * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17251881Speter * KIND, either express or implied. See the License for the 18251881Speter * specific language governing permissions and limitations 19251881Speter * under the License. 20251881Speter * ==================================================================== 21251881Speter * @endcopyright 22251881Speter * 23251881Speter * @file svn_error_private.h 24251881Speter * @brief Subversion-internal error APIs. 25251881Speter */ 26251881Speter 27251881Speter#ifndef SVN_ERROR_PRIVATE_H 28251881Speter#define SVN_ERROR_PRIVATE_H 29251881Speter 30251881Speter#include "svn_types.h" 31251881Speter 32251881Speter#ifdef __cplusplus 33251881Speterextern "C" { 34251881Speter#endif /* __cplusplus */ 35251881Speter 36251881Speter/** 37251881Speter * Returns if @a err is a "tracing" error. 38251881Speter */ 39251881Spetersvn_boolean_t 40251881Spetersvn_error__is_tracing_link(svn_error_t *err); 41251881Speter 42251881Speter/** 43251881Speter * Converts a zlib error to an svn_error_t. zerr is the error code, 44251881Speter * function is the function name, message is an optional extra part 45251881Speter * of the error message and may be NULL. 46251881Speter */ 47251881Spetersvn_error_t * 48251881Spetersvn_error__wrap_zlib(int zerr, const char *function, const char *message); 49251881Speter 50251881Speter#ifdef __cplusplus 51251881Speter} 52251881Speter#endif /* __cplusplus */ 53251881Speter 54251881Speter#endif /* SVN_ERROR_PRIVATE_H */ 55