/* xstrrpl.h -- declaration of function for replacement of substrings Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana Copyright (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana 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 3, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Author: Akim Demaille */ #ifndef XSTRRPL_H_ # define XSTRRPL_H_ 1 # ifndef PARAMS # if defined PROTOTYPES || (defined __STDC__ && __STDC__) # define PARAMS(Args) Args # else # define PARAMS(Args) () # endif # endif char * xstrrpl PARAMS ((const char * string, const char * subst[][2])); void strrpl PARAMS ((char ** string, const char * subst[][2])); # if defined (__STDC__) && __STDC__ extern char * xvstrrpl (const char * string, ...); extern void vstrrpl (char ** string, ...); # else char * xvstrrpl (); void vstrrpl (); # endif #endif /* !XSTRRPL_H_ */