xref: /freebsd/crypto/heimdal/lib/kafs/roken_rename.h (revision 6a068746777241722b2b32c5d0bc443a2a64d80b)
1adb0ddaeSAssar Westerlund /*
2*ae771770SStanislav Sedov  * Copyright (c) 2001-2002 Kungliga Tekniska Högskolan
3adb0ddaeSAssar Westerlund  * (Royal Institute of Technology, Stockholm, Sweden).
4adb0ddaeSAssar Westerlund  * All rights reserved.
5adb0ddaeSAssar Westerlund  *
6adb0ddaeSAssar Westerlund  * Redistribution and use in source and binary forms, with or without
7adb0ddaeSAssar Westerlund  * modification, are permitted provided that the following conditions
8adb0ddaeSAssar Westerlund  * are met:
9adb0ddaeSAssar Westerlund  *
10adb0ddaeSAssar Westerlund  * 1. Redistributions of source code must retain the above copyright
11adb0ddaeSAssar Westerlund  *    notice, this list of conditions and the following disclaimer.
12adb0ddaeSAssar Westerlund  *
13adb0ddaeSAssar Westerlund  * 2. Redistributions in binary form must reproduce the above copyright
14adb0ddaeSAssar Westerlund  *    notice, this list of conditions and the following disclaimer in the
15adb0ddaeSAssar Westerlund  *    documentation and/or other materials provided with the distribution.
16adb0ddaeSAssar Westerlund  *
17adb0ddaeSAssar Westerlund  * 3. Neither the name of the Institute nor the names of its contributors
18adb0ddaeSAssar Westerlund  *    may be used to endorse or promote products derived from this software
19adb0ddaeSAssar Westerlund  *    without specific prior written permission.
20adb0ddaeSAssar Westerlund  *
21adb0ddaeSAssar Westerlund  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
22adb0ddaeSAssar Westerlund  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23adb0ddaeSAssar Westerlund  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24adb0ddaeSAssar Westerlund  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
25adb0ddaeSAssar Westerlund  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26adb0ddaeSAssar Westerlund  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27adb0ddaeSAssar Westerlund  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28adb0ddaeSAssar Westerlund  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29adb0ddaeSAssar Westerlund  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30adb0ddaeSAssar Westerlund  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31adb0ddaeSAssar Westerlund  * SUCH DAMAGE.
32adb0ddaeSAssar Westerlund  */
33adb0ddaeSAssar Westerlund 
34*ae771770SStanislav Sedov /* $Id$ */
35adb0ddaeSAssar Westerlund 
36adb0ddaeSAssar Westerlund #ifndef __roken_rename_h__
37adb0ddaeSAssar Westerlund #define __roken_rename_h__
38adb0ddaeSAssar Westerlund 
39adb0ddaeSAssar Westerlund /*
40adb0ddaeSAssar Westerlund  * Libroken routines that are added libkafs
41adb0ddaeSAssar Westerlund  */
42adb0ddaeSAssar Westerlund 
438373020dSJacques Vidrine #define _resolve_debug _kafs_resolve_debug
44adb0ddaeSAssar Westerlund 
458373020dSJacques Vidrine #define rk_dns_free_data _kafs_dns_free_data
468373020dSJacques Vidrine #define rk_dns_lookup _kafs_dns_lookup
478373020dSJacques Vidrine #define rk_dns_string_to_type _kafs_dns_string_to_type
488373020dSJacques Vidrine #define rk_dns_type_to_string _kafs_dns_type_to_string
498373020dSJacques Vidrine #define rk_dns_srv_order _kafs_dns_srv_order
50c19800e8SDoug Rabson #define rk_dns_make_query _kafs_dns_make_query
51c19800e8SDoug Rabson #define rk_dns_free_query _kafs_dns_free_query
52c19800e8SDoug Rabson #define rk_dns_parse_reply _kafs_dns_parse_reply
534137ff4cSJacques Vidrine 
548373020dSJacques Vidrine #ifndef HAVE_STRTOK_R
55*ae771770SStanislav Sedov #define rk_strtok_r _kafs_strtok_r
568373020dSJacques Vidrine #endif
578373020dSJacques Vidrine #ifndef HAVE_STRLCPY
58*ae771770SStanislav Sedov #define rk_strlcpy _kafs_strlcpy
598373020dSJacques Vidrine #endif
608373020dSJacques Vidrine #ifndef HAVE_STRSEP
61*ae771770SStanislav Sedov #define rk_strsep _kafs_strsep
628373020dSJacques Vidrine #endif
63adb0ddaeSAssar Westerlund 
64adb0ddaeSAssar Westerlund #endif /* __roken_rename_h__ */
65