1 /* $NetBSD: resconf.h,v 1.4 2014/12/10 04:37:55 christos Exp $ */ 2 3 /* Id: resconf.h,v 1.1 2003/06/04 00:25:46 marka Exp */ 4 /* 5 * Copyright (c) 2000 Japan Network Information Center. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set forth bellow. 8 * 9 * LICENSE TERMS AND CONDITIONS 10 * 11 * The following License Terms and Conditions apply, unless a different 12 * license is obtained from Japan Network Information Center ("JPNIC"), 13 * a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda, 14 * Chiyoda-ku, Tokyo 101-0047, Japan. 15 * 16 * 1. Use, Modification and Redistribution (including distribution of any 17 * modified or derived work) in source and/or binary forms is permitted 18 * under this License Terms and Conditions. 19 * 20 * 2. Redistribution of source code must retain the copyright notices as they 21 * appear in each source code file, this License Terms and Conditions. 22 * 23 * 3. Redistribution in binary form must reproduce the Copyright Notice, 24 * this License Terms and Conditions, in the documentation and/or other 25 * materials provided with the distribution. For the purposes of binary 26 * distribution the "Copyright Notice" refers to the following language: 27 * "Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved." 28 * 29 * 4. The name of JPNIC may not be used to endorse or promote products 30 * derived from this Software without specific prior written approval of 31 * JPNIC. 32 * 33 * 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC 34 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 35 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 36 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE 37 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 38 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 39 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 40 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 41 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 42 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 43 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 44 */ 45 46 #ifndef MDN_RESCONF_H 47 #define MDN_RESCONF_H 1 48 49 #ifdef __cplusplus 50 extern "C" { 51 #endif 52 53 #include <mdn/result.h> 54 #include <idn/resconf.h> 55 56 #define mdn_resconf_t \ 57 idn_resconf_t 58 59 #define mdn_resconf_initialize \ 60 idn_resconf_initialize 61 #define mdn_resconf_create \ 62 idn_resconf_create 63 #define mdn_resconf_destroy \ 64 idn_resconf_destroy 65 66 #define mdn_resconf_incrref \ 67 idn_resconf_incrref 68 #define mdn_resconf_loadfile \ 69 idn_resconf_loadfile 70 #define mdn_resconf_defaultfile \ 71 idn_resconf_defaultfile 72 #define mdn_resconf_getdelimitermap \ 73 idn_resconf_getdelimitermap 74 #define mdn_resconf_getidnconverter \ 75 idn_resconf_getidnconverter 76 #define mdn_resconf_getlocalconverter \ 77 idn_resconf_getlocalconverter 78 #define mdn_resconf_getlocalmapselector \ 79 idn_resconf_getlocalmapselector 80 #define mdn_resconf_getmapper \ 81 idn_resconf_getmapper 82 #define mdn_resconf_getnormalizer \ 83 idn_resconf_getnormalizer 84 #define mdn_resconf_getprohibitchecker \ 85 idn_resconf_getprohibitchecker 86 #define mdn_resconf_getunassignedchecker \ 87 idn_resconf_getunassignedchecker 88 #define mdn_resconf_setdelimitermap \ 89 idn_resconf_setdelimitermap 90 #define mdn_resconf_setidnconverter \ 91 idn_resconf_setidnconverter 92 #define mdn_resconf_setlocalconverter \ 93 idn_resconf_setlocalconverter 94 #define mdn_resconf_setlocalmapselector \ 95 idn_resconf_setlocalmapselector 96 #define mdn_resconf_setmapper \ 97 idn_resconf_setmapper 98 #define mdn_resconf_setnormalizer \ 99 idn_resconf_setnormalizer 100 #define mdn_resconf_setprohibitchecker \ 101 idn_resconf_setprohibitchecker 102 #define mdn_resconf_setunassignedchecker \ 103 idn_resconf_setunassignedchecker 104 #define mdn_resconf_setidnconvertername \ 105 idn_resconf_setidnconvertername 106 #define mdn_resconf_addalldelimitermapucs \ 107 idn_resconf_addalldelimitermapucs 108 #define mdn_resconf_setlocalconvertername \ 109 idn_resconf_setlocalconvertername 110 #define mdn_resconf_addalllocalmapselectornames \ 111 idn_resconf_addalllocalmapselectornames 112 #define mdn_resconf_addallmappernames \ 113 idn_resconf_addallmappernames 114 #define mdn_resconf_addallnormalizernames \ 115 idn_resconf_addallnormalizernames 116 #define mdn_resconf_addallprohibitcheckernames \ 117 idn_resconf_addallprohibitcheckernames 118 #define mdn_resconf_addallunassignedcheckernames \ 119 idn_resconf_addallunassignedcheckernames 120 #define mdn_resconf_setnameprepversion \ 121 idn_resconf_setnameprepversion 122 #define mdn_resconf_setalternateconverter \ 123 idn_resconf_setalternateconverter 124 #define mdn_resconf_setalternateconvertername \ 125 idn_resconf_setalternateconvertername 126 #define mdn_resconf_getalternateconverter \ 127 idn_resconf_getalternateconverter 128 129 #define mdn_resconf_localconverter \ 130 idn_resconf_localconverter 131 #define mdn_resconf_idnconverter \ 132 idn_resconf_idnconverter 133 #define mdn_resconf_alternateconverter \ 134 idn_resconf_alternateconverter 135 #define mdn_resconf_normalizer \ 136 idn_resconf_normalizer 137 #define mdn_resconf_mapper \ 138 idn_resconf_mapper 139 #define mdn_resconf_delimitermap \ 140 idn_resconf_delimitermap 141 #define mdn_resconf_localmapselector \ 142 idn_resconf_localmapselector 143 #define mdn_resconf_prohibitchecker \ 144 idn_resconf_prohibitchecker 145 #define mdn_resconf_unassignedchecker \ 146 idn_resconf_unassignedchecker 147 148 #ifdef __cplusplus 149 } 150 #endif 151 152 #endif /* MDN_RESCONF_H */ 153