lmessages.h revision 88309
10Sstevel@tonic-gate/*- 2356Smuffin * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> 30Sstevel@tonic-gate * All rights reserved. 40Sstevel@tonic-gate * 50Sstevel@tonic-gate * Redistribution and use in source and binary forms, with or without 60Sstevel@tonic-gate * modification, are permitted provided that the following conditions 70Sstevel@tonic-gate * are met: 80Sstevel@tonic-gate * 1. Redistributions of source code must retain the above copyright 90Sstevel@tonic-gate * notice, this list of conditions and the following disclaimer. 100Sstevel@tonic-gate * 2. Redistributions in binary form must reproduce the above copyright 110Sstevel@tonic-gate * notice, this list of conditions and the following disclaimer in the 120Sstevel@tonic-gate * documentation and/or other materials provided with the distribution. 130Sstevel@tonic-gate * 140Sstevel@tonic-gate * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 150Sstevel@tonic-gate * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 160Sstevel@tonic-gate * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 170Sstevel@tonic-gate * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 180Sstevel@tonic-gate * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 190Sstevel@tonic-gate * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 200Sstevel@tonic-gate * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 210Sstevel@tonic-gate * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 220Sstevel@tonic-gate * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 230Sstevel@tonic-gate * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 240Sstevel@tonic-gate * SUCH DAMAGE. 250Sstevel@tonic-gate * 260Sstevel@tonic-gate * $FreeBSD: head/lib/libc/locale/lmessages.h 88309 2001-12-20 18:28:52Z phantom $ 27356Smuffin */ 28356Smuffin 29356Smuffin#ifndef _LMESSAGES_H_ 30356Smuffin#define _LMESSAGES_H_ 310Sstevel@tonic-gate 320Sstevel@tonic-gatestruct lc_messages_T { 330Sstevel@tonic-gate const char *yesexpr; 340Sstevel@tonic-gate const char *noexpr; 350Sstevel@tonic-gate const char *yesstr; 360Sstevel@tonic-gate const char *nostr; 370Sstevel@tonic-gate}; 380Sstevel@tonic-gate 390Sstevel@tonic-gatestruct lc_messages_T *__get_current_messages_locale(void); 400Sstevel@tonic-gateint __messages_load_locale(const char *); 410Sstevel@tonic-gate 420Sstevel@tonic-gate#endif /* !_LMESSAGES_H_ */ 430Sstevel@tonic-gate