updated changelog
[platform/upstream/evolution-data-server.git] / camel / camel-string-utils.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Authors: Jeffrey Stedfast <fejj@ximian.com>
4  *
5  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
6  *
7  * This library is free software you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this library; if not, see <http://www.gnu.org/licenses/>.
18  *
19  */
20
21 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
22 #error "Only <camel/camel.h> can be included directly."
23 #endif
24
25 #ifndef CAMEL_STRING_UTILS_H
26 #define CAMEL_STRING_UTILS_H
27
28 #include <glib.h>
29
30 G_BEGIN_DECLS
31
32 gint   camel_strcase_equal (gconstpointer a, gconstpointer b);
33 guint camel_strcase_hash  (gconstpointer v);
34
35 gchar *camel_strstrcase (const gchar *haystack, const gchar *needle);
36
37 const gchar *camel_strdown (gchar *str);
38
39 const gchar *camel_pstring_add (gchar *string, gboolean own);
40 const gchar *camel_pstring_strdup (const gchar *string);
41 void camel_pstring_free (const gchar *string);
42 const gchar * camel_pstring_peek (const gchar *string);
43 void camel_pstring_dump_stat (void);
44
45 G_END_DECLS
46
47 #endif /* CAMEL_STRING_UTILS_H */