/* * Copyright (c) 1995, 1996 Gunther Schadow. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef PG_IOEXT_H_ #define PG_IOEXT_H_ #include #pragma interface #ifdef __cplusplus #include extern "C" { #else #include #endif extern _IO_size_t _IO_getline_dset _PARAMS((_IO_FILE*,char*,_IO_size_t,const char*, int)); extern _IO_size_t _IO_getline_dsete _PARAMS((_IO_FILE*,char*,_IO_size_t,const char*,int,char)); #ifdef __cplusplus } char *gets(istream& is, const char *delim); char *gets(istream& is, const char *delim, char esc); long sgetline(streambuf& sb, char* buf, _G_size_t n, char *delim, int putback_delim); long sgetline(streambuf& sb, char* buf, _G_size_t n, char *delim, int putback_delim, char esc); #endif /* __cplusplus */ #endif /* !PG_IOEXT_H_ */