xref: /freebsd/sys/fs/udf/udf_iconv.c (revision 6565282c620896556b7829a13df2c5eb6447814d)
16565282cSScott Long /*-
26565282cSScott Long  * Copyright (c) 2003 Ryuichiro Imura
36565282cSScott Long  * All rights reserved.
46565282cSScott Long  *
56565282cSScott Long  * Redistribution and use in source and binary forms, with or without
66565282cSScott Long  * modification, are permitted provided that the following conditions
76565282cSScott Long  * are met:
86565282cSScott Long  * 1. Redistributions of source code must retain the above copyright
96565282cSScott Long  *    notice, this list of conditions and the following disclaimer.
106565282cSScott Long  * 2. Redistributions in binary form must reproduce the above copyright
116565282cSScott Long  *    notice, this list of conditions and the following disclaimer in the
126565282cSScott Long  *    documentation and/or other materials provided with the distribution.
136565282cSScott Long  *
146565282cSScott Long  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
156565282cSScott Long  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
166565282cSScott Long  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
176565282cSScott Long  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
186565282cSScott Long  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
196565282cSScott Long  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
206565282cSScott Long  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
216565282cSScott Long  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
226565282cSScott Long  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
236565282cSScott Long  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
246565282cSScott Long  * SUCH DAMAGE.
256565282cSScott Long  */
266565282cSScott Long 
276565282cSScott Long #include <sys/cdefs.h>
286565282cSScott Long __FBSDID("$FreeBSD$");
296565282cSScott Long 
306565282cSScott Long #include <sys/param.h>
316565282cSScott Long #include <sys/iconv.h>
326565282cSScott Long #include <sys/kernel.h>
336565282cSScott Long #include <sys/module.h>
346565282cSScott Long #include <sys/mount.h>
356565282cSScott Long 
366565282cSScott Long VFS_DECLARE_ICONV(udf);
37