Blame contrib/idn/idnkit-1.0-src/include/mdn/utf8.h

Packit Service ae04f2
/* $Id: utf8.h,v 1.1 2003/06/04 00:25:46 marka Exp $ */
Packit Service ae04f2
/*
Packit Service ae04f2
 * Copyright (c) 2000 Japan Network Information Center.  All rights reserved.
Packit Service ae04f2
 *  
Packit Service ae04f2
 * By using this file, you agree to the terms and conditions set forth bellow.
Packit Service ae04f2
 * 
Packit Service ae04f2
 * 			LICENSE TERMS AND CONDITIONS 
Packit Service ae04f2
 * 
Packit Service ae04f2
 * The following License Terms and Conditions apply, unless a different
Packit Service ae04f2
 * license is obtained from Japan Network Information Center ("JPNIC"),
Packit Service ae04f2
 * a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
Packit Service ae04f2
 * Chiyoda-ku, Tokyo 101-0047, Japan.
Packit Service ae04f2
 * 
Packit Service ae04f2
 * 1. Use, Modification and Redistribution (including distribution of any
Packit Service ae04f2
 *    modified or derived work) in source and/or binary forms is permitted
Packit Service ae04f2
 *    under this License Terms and Conditions.
Packit Service ae04f2
 * 
Packit Service ae04f2
 * 2. Redistribution of source code must retain the copyright notices as they
Packit Service ae04f2
 *    appear in each source code file, this License Terms and Conditions.
Packit Service ae04f2
 * 
Packit Service ae04f2
 * 3. Redistribution in binary form must reproduce the Copyright Notice,
Packit Service ae04f2
 *    this License Terms and Conditions, in the documentation and/or other
Packit Service ae04f2
 *    materials provided with the distribution.  For the purposes of binary
Packit Service ae04f2
 *    distribution the "Copyright Notice" refers to the following language:
Packit Service ae04f2
 *    "Copyright (c) 2000-2002 Japan Network Information Center.  All rights reserved."
Packit Service ae04f2
 * 
Packit Service ae04f2
 * 4. The name of JPNIC may not be used to endorse or promote products
Packit Service ae04f2
 *    derived from this Software without specific prior written approval of
Packit Service ae04f2
 *    JPNIC.
Packit Service ae04f2
 * 
Packit Service ae04f2
 * 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
Packit Service ae04f2
 *    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Packit Service ae04f2
 *    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
Packit Service ae04f2
 *    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL JPNIC BE LIABLE
Packit Service ae04f2
 *    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
Packit Service ae04f2
 *    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
Packit Service ae04f2
 *    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
Packit Service ae04f2
 *    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
Packit Service ae04f2
 *    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
Packit Service ae04f2
 *    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
Packit Service ae04f2
 *    ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Packit Service ae04f2
 */
Packit Service ae04f2
Packit Service ae04f2
#ifndef MDN_UTF8_H
Packit Service ae04f2
#define MDN_UTF8_H 1
Packit Service ae04f2
Packit Service ae04f2
#ifdef __cplusplus
Packit Service ae04f2
extern "C" {
Packit Service ae04f2
#endif
Packit Service ae04f2
Packit Service ae04f2
#define mdn_utf8_mblen \
Packit Service ae04f2
	idn_utf8_mblen
Packit Service ae04f2
#define mdn_utf8_getmb \
Packit Service ae04f2
	idn_utf8_getmb
Packit Service ae04f2
#define mdn_utf8_getwc \
Packit Service ae04f2
	idn_utf8_getwc
Packit Service ae04f2
#define mdn_utf8_putwc \
Packit Service ae04f2
	idn_utf8_putwc
Packit Service ae04f2
#define mdn_utf8_isvalidchar \
Packit Service ae04f2
	idn_utf8_isvalidchar
Packit Service ae04f2
#define mdn_utf8_isvalidstring \
Packit Service ae04f2
	idn_utf8_isvalidstring
Packit Service ae04f2
#define mdn_utf8_findfirstbyte \
Packit Service ae04f2
	idn_utf8_findfirstbyte
Packit Service ae04f2
Packit Service ae04f2
#ifdef __cplusplus
Packit Service ae04f2
}
Packit Service ae04f2
#endif
Packit Service ae04f2
Packit Service ae04f2
#endif /* MDN_UTF8_H */