2
* Copyright (C) Pierre-Yves LUYTEN 2012 <py@luyten.fr>
4
* bijiben is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
9
* bijiben is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
* See the GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License along
15
* with this program. If not, see <http://www.gnu.org/licenses/>.
19
#ifndef _BIJI_STRING__H
20
#define _BIJI_STRING__H
26
/* Replaces inside string the as_is with to_be
27
* Returns a newly allocated string */
28
gchar * biji_str_replace (gchar *string, gchar *as_is, gchar *to_be);
30
/* Calls biji_str_replace as much as there are paired gchar* args
31
* Returns a newly allocated string */
32
gchar * biji_str_mass_replace (gchar *string, ...) G_GNUC_NULL_TERMINATED ;
36
#endif /* _BIJI_STRING__H */