xref: /titanic_44/usr/src/common/util/getresponse.h (revision 3d63ea05cb8474d8036d3588cf8299306a994b8c)
1*3d63ea05Sas145665 /*
2*3d63ea05Sas145665  * CDDL HEADER START
3*3d63ea05Sas145665  *
4*3d63ea05Sas145665  * The contents of this file are subject to the terms of the
5*3d63ea05Sas145665  * Common Development and Distribution License (the "License").
6*3d63ea05Sas145665  * You may not use this file except in compliance with the License.
7*3d63ea05Sas145665  *
8*3d63ea05Sas145665  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3d63ea05Sas145665  * or http://www.opensolaris.org/os/licensing.
10*3d63ea05Sas145665  * See the License for the specific language governing permissions
11*3d63ea05Sas145665  * and limitations under the License.
12*3d63ea05Sas145665  *
13*3d63ea05Sas145665  * When distributing Covered Code, include this CDDL HEADER in each
14*3d63ea05Sas145665  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3d63ea05Sas145665  * If applicable, add the following below this CDDL HEADER, with the
16*3d63ea05Sas145665  * fields enclosed by brackets "[]" replaced with your own identifying
17*3d63ea05Sas145665  * information: Portions Copyright [yyyy] [name of copyright owner]
18*3d63ea05Sas145665  *
19*3d63ea05Sas145665  * CDDL HEADER END
20*3d63ea05Sas145665  */
21*3d63ea05Sas145665 /*
22*3d63ea05Sas145665  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*3d63ea05Sas145665  * Use is subject to license terms.
24*3d63ea05Sas145665  */
25*3d63ea05Sas145665 
26*3d63ea05Sas145665 #ifndef _UTIL_GETRESPONSE_H
27*3d63ea05Sas145665 #define	_UTIL_GETRESPONSE_H
28*3d63ea05Sas145665 
29*3d63ea05Sas145665 #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*3d63ea05Sas145665 
31*3d63ea05Sas145665 /*
32*3d63ea05Sas145665  * Declarations for getresponse().
33*3d63ea05Sas145665  */
34*3d63ea05Sas145665 
35*3d63ea05Sas145665 #ifdef __cplusplus
36*3d63ea05Sas145665 extern "C" {
37*3d63ea05Sas145665 #endif
38*3d63ea05Sas145665 
39*3d63ea05Sas145665 #define	ERR_MSG_INIT_YES "Error initializing international response strings: %s"
40*3d63ea05Sas145665 
41*3d63ea05Sas145665 extern char	*yesstr;
42*3d63ea05Sas145665 extern char	*nostr;
43*3d63ea05Sas145665 extern int	init_yes(void);
44*3d63ea05Sas145665 extern int	yes(void);
45*3d63ea05Sas145665 extern int	yes_check(char *);
46*3d63ea05Sas145665 extern int	no(void);
47*3d63ea05Sas145665 extern int	no_check(char *);
48*3d63ea05Sas145665 
49*3d63ea05Sas145665 #ifdef __cplusplus
50*3d63ea05Sas145665 }
51*3d63ea05Sas145665 #endif
52*3d63ea05Sas145665 
53*3d63ea05Sas145665 #endif /* _UTIL_GETRESPONSE_H */
54