1193323Sed/*-
2193323Sed * Copyright (c) 2003 Ryuichiro Imura
3193323Sed * All rights reserved.
4193323Sed *
5193323Sed * Redistribution and use in source and binary forms, with or without
6193323Sed * modification, are permitted provided that the following conditions
7193323Sed * are met:
8193323Sed * 1. Redistributions of source code must retain the above copyright
9193323Sed *    notice, this list of conditions and the following disclaimer.
10193323Sed * 2. Redistributions in binary form must reproduce the above copyright
11193323Sed *    notice, this list of conditions and the following disclaimer in the
12193323Sed *    documentation and/or other materials provided with the distribution.
13193323Sed *
14193323Sed * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15193323Sed * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16193323Sed * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17193323Sed * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18234353Sdim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19234353Sdim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20193323Sed * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21207618Srdivacky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22234353Sdim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23207618Srdivacky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24198090Srdivacky * SUCH DAMAGE.
25198090Srdivacky *
26198090Srdivacky * $FreeBSD$
27249423Sdim */
28198090Srdivacky
29198090Srdivacky#ifndef _KICONV_QUIRKS_H_
30198090Srdivacky#define _KICONV_QUIRKS_H_
31198090Srdivacky
32193323Sedstruct quirk_replace_list {
33239462Sdim	uint16_t standard_code, vendor_code;
34239462Sdim};
35239462Sdim
36239462Sdimconst char *search_quirk(const char *, const char *,
37239462Sdim			 struct quirk_replace_list **, size_t *);
38239462Sdimuint16_t quirk_vendor2unix(uint16_t,
39239462Sdim			  struct quirk_replace_list *,
40239462Sdim			  size_t);
41234353Sdimuint16_t quirk_unix2vendor(uint16_t,
42234353Sdim			  struct quirk_replace_list *,
43234353Sdim			  size_t);
44234353Sdim
45234353Sdim#endif /* _KICONV_QUIRKS_H_ */
46239462Sdim