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