1 /*---------------------------------------------------------------------------- 2 convtxt.h (definitions of text conversion) 3 This file is a part of topaz systems 4 Copyright: Hisao Kawaura, All rights reserved 5 1997 - 98 6 7 8 This program is free software; you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation; either version 2 of the License, or 11 (at your option) any later version. 12 13 This program is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 22 ----------------------------------------------------------------------------*/ 23 24 #if !defined(__convtxt_h) 25 #define __convtxt_h 26 #include <string> 27 28 extern bool tosavetxt(char *in, std::string *out); 29 extern bool fromsavetxt(char *in, std::string *out); 30 extern char *topazfgets(char *s, int size, FILE *fp); 31 extern bool toplainfilename(char *in, std::string *out); 32 33 #endif 34