roken_rename.h revision 178826
198944Sobrien/* 2130803Smarcel * Copyright (c) 2001-2002 Kungliga Tekniska H�gskolan 3130803Smarcel * (Royal Institute of Technology, Stockholm, Sweden). 498944Sobrien * All rights reserved. 598944Sobrien * 698944Sobrien * Redistribution and use in source and binary forms, with or without 798944Sobrien * modification, are permitted provided that the following conditions 898944Sobrien * are met: 998944Sobrien * 1098944Sobrien * 1. Redistributions of source code must retain the above copyright 1198944Sobrien * notice, this list of conditions and the following disclaimer. 1298944Sobrien * 1398944Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1498944Sobrien * notice, this list of conditions and the following disclaimer in the 1598944Sobrien * documentation and/or other materials provided with the distribution. 1698944Sobrien * 1798944Sobrien * 3. Neither the name of the Institute nor the names of its contributors 1898944Sobrien * may be used to endorse or promote products derived from this software 1998944Sobrien * without specific prior written permission. 2098944Sobrien * 2198944Sobrien * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 2298944Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23130803Smarcel * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24130803Smarcel * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 2598944Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2698944Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2798944Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2898944Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2998944Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3098944Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3198944Sobrien * SUCH DAMAGE. 3298944Sobrien */ 3398944Sobrien 3498944Sobrien/* $Id: roken_rename.h 15341 2005-06-02 07:35:45Z lha $ */ 3598944Sobrien 3698944Sobrien#ifndef __roken_rename_h__ 3798944Sobrien#define __roken_rename_h__ 3898944Sobrien 3998944Sobrien/* 4098944Sobrien * Libroken routines that are added libkafs 4198944Sobrien */ 4298944Sobrien 4398944Sobrien#define _resolve_debug _kafs_resolve_debug 4498944Sobrien 4598944Sobrien#define rk_dns_free_data _kafs_dns_free_data 4698944Sobrien#define rk_dns_lookup _kafs_dns_lookup 4798944Sobrien#define rk_dns_string_to_type _kafs_dns_string_to_type 4898944Sobrien#define rk_dns_type_to_string _kafs_dns_type_to_string 4998944Sobrien#define rk_dns_srv_order _kafs_dns_srv_order 5098944Sobrien#define rk_dns_make_query _kafs_dns_make_query 5198944Sobrien#define rk_dns_free_query _kafs_dns_free_query 5298944Sobrien#define rk_dns_parse_reply _kafs_dns_parse_reply 5398944Sobrien 5498944Sobrien#ifndef HAVE_STRTOK_R 5598944Sobrien#define strtok_r _kafs_strtok_r 5698944Sobrien#endif 5798944Sobrien#ifndef HAVE_STRLCPY 5898944Sobrien#define strlcpy _kafs_strlcpy 5998944Sobrien#endif 6098944Sobrien#ifndef HAVE_STRSEP 6198944Sobrien#define strsep _kafs_strsep 6298944Sobrien#endif 6398944Sobrien 6498944Sobrien#endif /* __roken_rename_h__ */ 6598944Sobrien