1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
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.
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
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/>.
21 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
22 #error "Only <camel/camel.h> can be included directly."
25 #ifndef CAMEL_STRING_UTILS_H
26 #define CAMEL_STRING_UTILS_H
32 gint camel_strcase_equal (gconstpointer a, gconstpointer b);
33 guint camel_strcase_hash (gconstpointer v);
35 gchar *camel_strstrcase (const gchar *haystack, const gchar *needle);
37 const gchar *camel_strdown (gchar *str);
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);
47 #endif /* CAMEL_STRING_UTILS_H */