1120492Sfjoe/*- 2120492Sfjoe * Copyright (c) 2003 Ryuichiro Imura 3120492Sfjoe * All rights reserved. 4120492Sfjoe * 5120492Sfjoe * Redistribution and use in source and binary forms, with or without 6120492Sfjoe * modification, are permitted provided that the following conditions 7120492Sfjoe * are met: 8120492Sfjoe * 1. Redistributions of source code must retain the above copyright 9120492Sfjoe * notice, this list of conditions and the following disclaimer. 10120492Sfjoe * 2. Redistributions in binary form must reproduce the above copyright 11120492Sfjoe * notice, this list of conditions and the following disclaimer in the 12120492Sfjoe * documentation and/or other materials provided with the distribution. 13120492Sfjoe * 14120492Sfjoe * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15120492Sfjoe * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16120492Sfjoe * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17120492Sfjoe * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18120492Sfjoe * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19120492Sfjoe * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20120492Sfjoe * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21120492Sfjoe * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22120492Sfjoe * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23120492Sfjoe * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24120492Sfjoe * SUCH DAMAGE. 25120492Sfjoe * 26120492Sfjoe * $FreeBSD$ 27120492Sfjoe */ 28120492Sfjoe 29120492Sfjoe#ifndef _KICONV_QUIRKS_H_ 30120492Sfjoe#define _KICONV_QUIRKS_H_ 31120492Sfjoe 32120492Sfjoestruct quirk_replace_list { 33120492Sfjoe uint16_t standard_code, vendor_code; 34120492Sfjoe}; 35120492Sfjoe 36120492Sfjoeconst char *search_quirk(const char *, const char *, 37120492Sfjoe struct quirk_replace_list **, size_t *); 38120492Sfjoeuint16_t quirk_vendor2unix(uint16_t, 39120492Sfjoe struct quirk_replace_list *, 40120492Sfjoe size_t); 41120492Sfjoeuint16_t quirk_unix2vendor(uint16_t, 42120492Sfjoe struct quirk_replace_list *, 43120492Sfjoe size_t); 44120492Sfjoe 45120492Sfjoe#endif /* _KICONV_QUIRKS_H_ */ 46