lmessages.h revision 87658
10Sduke/* 29940Sdholmes * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> 30Sduke * All rights reserved. 40Sduke * 50Sduke * Redistribution and use in source and binary forms, with or without 60Sduke * modification, are permitted provided that the following conditions 70Sduke * are met: 80Sduke * 1. Redistributions of source code must retain the above copyright 90Sduke * notice, this list of conditions and the following disclaimer. 100Sduke * 2. Redistributions in binary form must reproduce the above copyright 110Sduke * notice, this list of conditions and the following disclaimer in the 120Sduke * documentation and/or other materials provided with the distribution. 130Sduke * 140Sduke * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 150Sduke * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 160Sduke * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 170Sduke * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 180Sduke * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 191472Strims * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 201472Strims * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 211472Strims * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 220Sduke * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 230Sduke * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 240Sduke * SUCH DAMAGE. 251879Sstefank * 2610835Scoleenp * $FreeBSD: head/lib/libc/locale/lmessages.h 87658 2001-12-11 15:55:42Z phantom $ 2713325Sstuefe */ 281879Sstefank 291879Sstefank#ifndef _LMESSAGES_H 301879Sstefank#define _LMESSAGES_H 316760Sgoetz 320Sdukestruct lc_messages_T { 330Sduke const char *yesexpr; 340Sduke const char *noexpr; 359814Stwisti const char *yesstr; 369814Stwisti const char *nostr; 379814Stwisti}; 389814Stwisti 390Sdukeextern struct lc_messages_T * __get_current_messages_locale(void); 403671Srolandextern int __messages_load_locale(const char *); 413671Sroland 423671Sroland#endif /* _LMESSAGES_H */ 433671Sroland