~ubuntu-branches/debian/sid/bijiben/sid

« back to all changes in this revision

Viewing changes to src/libbiji/biji-string.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-03-26 21:19:36 UTC
  • Revision ID: package-import@ubuntu.com-20130326211936-tu8mpy82juohw8m2
Tags: upstream-3.8.0
ImportĀ upstreamĀ versionĀ 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* biji-string.h
 
2
 * Copyright (C) Pierre-Yves LUYTEN 2012 <py@luyten.fr>
 
3
 * 
 
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.
 
8
 * 
 
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.
 
13
 * 
 
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/>.
 
16
 */
 
17
 
 
18
 
 
19
#ifndef _BIJI_STRING__H
 
20
#define _BIJI_STRING__H
 
21
 
 
22
#include <glib.h>
 
23
 
 
24
G_BEGIN_DECLS
 
25
 
 
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);
 
29
 
 
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 ;
 
33
 
 
34
G_END_DECLS
 
35
 
 
36
#endif /* _BIJI_STRING__H */
 
37
 
 
38