188309Sphantom/*- 287658Sphantom * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> 372165Sphantom * All rights reserved. 472165Sphantom * 5227753Stheraven * Copyright (c) 2011 The FreeBSD Foundation 6227753Stheraven * All rights reserved. 7227753Stheraven * Portions of this software were developed by David Chisnall 8227753Stheraven * under sponsorship from the FreeBSD Foundation. 9227753Stheraven * 1072165Sphantom * Redistribution and use in source and binary forms, with or without 1172165Sphantom * modification, are permitted provided that the following conditions 1272165Sphantom * are met: 1372165Sphantom * 1. Redistributions of source code must retain the above copyright 1472165Sphantom * notice, this list of conditions and the following disclaimer. 1572165Sphantom * 2. Redistributions in binary form must reproduce the above copyright 1672165Sphantom * notice, this list of conditions and the following disclaimer in the 1772165Sphantom * documentation and/or other materials provided with the distribution. 1872165Sphantom * 1972165Sphantom * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2072165Sphantom * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2172165Sphantom * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2272165Sphantom * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2372165Sphantom * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2472165Sphantom * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2572165Sphantom * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2672165Sphantom * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2772165Sphantom * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2872165Sphantom * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2972165Sphantom * SUCH DAMAGE. 3072165Sphantom * 3172165Sphantom * $FreeBSD$ 3272165Sphantom */ 3372165Sphantom 3488309Sphantom#ifndef _LMESSAGES_H_ 3588309Sphantom#define _LMESSAGES_H_ 3672165Sphantom 37227753Stheraven#include "xlocale_private.h" 38227753Stheraven 3987658Sphantomstruct lc_messages_T { 4087658Sphantom const char *yesexpr; 4187658Sphantom const char *noexpr; 4287658Sphantom const char *yesstr; 4387658Sphantom const char *nostr; 4472165Sphantom}; 4572165Sphantom 46227753Stheravenstruct lc_messages_T *__get_current_messages_locale(locale_t); 4788309Sphantomint __messages_load_locale(const char *); 4872165Sphantom 4988309Sphantom#endif /* !_LMESSAGES_H_ */ 50