13d63ea05Sas /* 23d63ea05Sas * CDDL HEADER START 33d63ea05Sas * 43d63ea05Sas * The contents of this file are subject to the terms of the 53d63ea05Sas * Common Development and Distribution License (the "License"). 63d63ea05Sas * You may not use this file except in compliance with the License. 73d63ea05Sas * 83d63ea05Sas * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 93d63ea05Sas * or http://www.opensolaris.org/os/licensing. 103d63ea05Sas * See the License for the specific language governing permissions 113d63ea05Sas * and limitations under the License. 123d63ea05Sas * 133d63ea05Sas * When distributing Covered Code, include this CDDL HEADER in each 143d63ea05Sas * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 153d63ea05Sas * If applicable, add the following below this CDDL HEADER, with the 163d63ea05Sas * fields enclosed by brackets "[]" replaced with your own identifying 173d63ea05Sas * information: Portions Copyright [yyyy] [name of copyright owner] 183d63ea05Sas * 193d63ea05Sas * CDDL HEADER END 203d63ea05Sas */ 213d63ea05Sas /* 223d63ea05Sas * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 233d63ea05Sas * Use is subject to license terms. 243d63ea05Sas */ 253d63ea05Sas 263d63ea05Sas #ifndef _UTIL_GETRESPONSE_H 273d63ea05Sas #define _UTIL_GETRESPONSE_H 283d63ea05Sas 293d63ea05Sas /* 303d63ea05Sas * Declarations for getresponse(). 313d63ea05Sas */ 323d63ea05Sas 333d63ea05Sas #ifdef __cplusplus 343d63ea05Sas extern "C" { 353d63ea05Sas #endif 363d63ea05Sas 373d63ea05Sas #define ERR_MSG_INIT_YES "Error initializing international response strings: %s" 383d63ea05Sas 393d63ea05Sas extern char *yesstr; 403d63ea05Sas extern char *nostr; 413d63ea05Sas extern int init_yes(void); 42*b6ed8f22SToomas Soome extern void fini_yes(void); 433d63ea05Sas extern int yes(void); 443d63ea05Sas extern int yes_check(char *); 453d63ea05Sas extern int no(void); 463d63ea05Sas extern int no_check(char *); 473d63ea05Sas 483d63ea05Sas #ifdef __cplusplus 493d63ea05Sas } 503d63ea05Sas #endif 513d63ea05Sas 523d63ea05Sas #endif /* _UTIL_GETRESPONSE_H */ 53