1*a35ceff4Sriastradh /* $NetBSD: c32rtomb.h,v 1.2 2024/08/19 16:22:10 riastradh Exp $ */ 22cbd152aSriastradh 32cbd152aSriastradh /*- 42cbd152aSriastradh * Copyright (c) 2024 The NetBSD Foundation, Inc. 52cbd152aSriastradh * All rights reserved. 62cbd152aSriastradh * 72cbd152aSriastradh * Redistribution and use in source and binary forms, with or without 82cbd152aSriastradh * modification, are permitted provided that the following conditions 92cbd152aSriastradh * are met: 102cbd152aSriastradh * 1. Redistributions of source code must retain the above copyright 112cbd152aSriastradh * notice, this list of conditions and the following disclaimer. 122cbd152aSriastradh * 2. Redistributions in binary form must reproduce the above copyright 132cbd152aSriastradh * notice, this list of conditions and the following disclaimer in the 142cbd152aSriastradh * documentation and/or other materials provided with the distribution. 152cbd152aSriastradh * 162cbd152aSriastradh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 172cbd152aSriastradh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 182cbd152aSriastradh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 192cbd152aSriastradh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 202cbd152aSriastradh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 212cbd152aSriastradh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 222cbd152aSriastradh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 232cbd152aSriastradh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 242cbd152aSriastradh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 252cbd152aSriastradh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 262cbd152aSriastradh * POSSIBILITY OF SUCH DAMAGE. 272cbd152aSriastradh */ 282cbd152aSriastradh 292cbd152aSriastradh #ifndef LIB_LIBC_LOCALE_C32RTOMB_H_ 302cbd152aSriastradh #define LIB_LIBC_LOCALE_C32RTOMB_H_ 312cbd152aSriastradh 322cbd152aSriastradh struct c32rtombstate { 33*a35ceff4Sriastradh /* 34*a35ceff4Sriastradh * XXX This needs to match the maximum size of any conversion 35*a35ceff4Sriastradh * state actually used by wcrtomb_l. 36*a35ceff4Sriastradh */ 372cbd152aSriastradh char dummy; 382cbd152aSriastradh }; 392cbd152aSriastradh 402cbd152aSriastradh #endif /* LIB_LIBC_LOCALE_C32RTOMB_H_ */ 41