1 /* $Id: res.h,v 1.1 2003/06/04 00:25:45 marka Exp $ */ 2 /* 3 * Copyright (c) 2001,2002 Japan Network Information Center. 4 * All rights reserved. 5 * 6 * By using this file, you agree to the terms and conditions set forth bellow. 7 * 8 * LICENSE TERMS AND CONDITIONS 9 * 10 * The following License Terms and Conditions apply, unless a different 11 * license is obtained from Japan Network Information Center ("JPNIC"), 12 * a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda, 13 * Chiyoda-ku, Tokyo 101-0047, Japan. 14 * 15 * 1. Use, Modification and Redistribution (including distribution of any 16 * modified or derived work) in source and/or binary forms is permitted 17 * under this License Terms and Conditions. 18 * 19 * 2. Redistribution of source code must retain the copyright notices as they 20 * appear in each source code file, this License Terms and Conditions. 21 * 22 * 3. Redistribution in binary form must reproduce the Copyright Notice, 23 * this License Terms and Conditions, in the documentation and/or other 24 * materials provided with the distribution. For the purposes of binary 25 * distribution the "Copyright Notice" refers to the following language: 26 * "Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved." 27 * 28 * 4. The name of JPNIC may not be used to endorse or promote products 29 * derived from this Software without specific prior written approval of 30 * JPNIC. 31 * 32 * 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC 33 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 34 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 35 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE 36 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 37 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 38 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 39 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 40 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 41 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 42 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 43 */ 44 45 #ifndef MDN_RES_H 46 #define MDN_RES_H 1 47 48 #ifdef __cplusplus 49 extern "C" { 50 #endif 51 52 #include <mdn/resconf.h> 53 #include <mdn/result.h> 54 #include <idn/res.h> 55 56 #define MDN_LOCALCONV \ 57 IDN_LOCALCONV 58 #define MDN_DELIMMAP \ 59 IDN_DELIMMAP 60 #define MDN_LOCALMAP \ 61 IDN_LOCALMAP 62 #define MDN_MAP \ 63 IDN_MAP 64 #define MDN_NORMALIZE \ 65 IDN_NORMALIZE 66 #define MDN_PROHCHECK \ 67 IDN_PROHCHECK 68 #define MDN_UNASCHECK \ 69 IDN_UNASCHECK 70 #define MDN_ASCCHECK \ 71 IDN_ASCCHECK 72 #define MDN_IDNCONV \ 73 IDN_IDNCONV 74 #define MDN_LENCHECK \ 75 IDN_LENCHECK 76 #define MDN_RTCHECK \ 77 IDN_RTCHECK 78 #define MDN_UNDOIFERR \ 79 IDN_UNDOIFERR 80 #define MDN_ENCODE_APP \ 81 IDN_ENCODE_APP 82 #define MDN_DECODE_APP \ 83 IDN_DECODE_APP 84 #define MDN_NAMEPREP \ 85 IDN_NAMEPREP 86 87 #define mdn_res_enable \ 88 idn_res_enable 89 #define mdn_res_encodename \ 90 idn_res_encodename 91 #define mdn_res_decodename \ 92 idn_res_decodename 93 #define mdn_res_actiontostring \ 94 idn_res_actiontostring 95 96 #define mdn_res_localtoutf8 \ 97 idn_res_localtoutf8 98 #define mdn_res_delimitermap \ 99 idn_res_delimitermap 100 #define mdn_res_localmap \ 101 idn_res_localmap 102 #define mdn_res_nameprep \ 103 idn_res_nameprep 104 #define mdn_res_utf8toidn \ 105 idn_res_utf8toidn 106 #define mdn_res_idntoutf8 \ 107 idn_res_idntoutf8 108 #define mdn_res_utf8tolocal \ 109 idn_res_utf8tolocal 110 #define mdn_res_nameprepcheck \ 111 idn_res_nameprepcheck 112 #define mdn_res_localtoidn \ 113 idn_res_localtoidn 114 #define mdn_res_idntolocal \ 115 idn_res_idntolocal 116 117 #ifdef __cplusplus 118 } 119 #endif 120 121 #endif /* MDN_RES_H */ 122