1 /* $NetBSD: res.h,v 1.4 2014/12/10 04:37:55 christos Exp $ */
3 /* Id: res.h,v 1.1 2003/06/04 00:25:45 marka Exp */
5 * Copyright (c) 2001,2002 Japan Network Information Center.
8 * By using this file, you agree to the terms and conditions set forth bellow.
10 * LICENSE TERMS AND CONDITIONS
12 * The following License Terms and Conditions apply, unless a different
13 * license is obtained from Japan Network Information Center ("JPNIC"),
14 * a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
15 * Chiyoda-ku, Tokyo 101-0047, Japan.
17 * 1. Use, Modification and Redistribution (including distribution of any
18 * modified or derived work) in source and/or binary forms is permitted
19 * under this License Terms and Conditions.
21 * 2. Redistribution of source code must retain the copyright notices as they
22 * appear in each source code file, this License Terms and Conditions.
24 * 3. Redistribution in binary form must reproduce the Copyright Notice,
25 * this License Terms and Conditions, in the documentation and/or other
26 * materials provided with the distribution. For the purposes of binary
27 * distribution the "Copyright Notice" refers to the following language:
28 * "Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved."
30 * 4. The name of JPNIC may not be used to endorse or promote products
31 * derived from this Software without specific prior written approval of
34 * 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
35 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
36 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
37 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE
38 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
39 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
40 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
41 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
42 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
43 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
44 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
54 #include <mdn/resconf.h>
55 #include <mdn/result.h>
58 #define MDN_LOCALCONV \
60 #define MDN_DELIMMAP \
62 #define MDN_LOCALMAP \
66 #define MDN_NORMALIZE \
68 #define MDN_PROHCHECK \
70 #define MDN_UNASCHECK \
72 #define MDN_ASCCHECK \
76 #define MDN_LENCHECK \
80 #define MDN_UNDOIFERR \
82 #define MDN_ENCODE_APP \
84 #define MDN_DECODE_APP \
86 #define MDN_NAMEPREP \
89 #define mdn_res_enable \
91 #define mdn_res_encodename \
93 #define mdn_res_decodename \
95 #define mdn_res_actiontostring \
96 idn_res_actiontostring
98 #define mdn_res_localtoutf8 \
100 #define mdn_res_delimitermap \
102 #define mdn_res_localmap \
104 #define mdn_res_nameprep \
106 #define mdn_res_utf8toidn \
108 #define mdn_res_idntoutf8 \
110 #define mdn_res_utf8tolocal \
112 #define mdn_res_nameprepcheck \
113 idn_res_nameprepcheck
114 #define mdn_res_localtoidn \
116 #define mdn_res_idntolocal \
123 #endif /* MDN_RES_H */