/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* string-util : utilities for normal gchar * strings */ /* * * Authors: Bertrand Guiheneuf * Jeffrey Stedfast * * Copyright 1999, 2000 Ximian, Inc. (www.ximian.com) * * 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 2 of the * License, 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 */ #ifndef STRING_UTIL_H #define STRING_UTIL_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include typedef enum { STRING_TRIM_NONE = 0, STRING_TRIM_STRIP_TRAILING = 1, STRING_TRIM_STRIP_LEADING = 2 } StringTrimOption; gboolean string_equal_for_glist (gconstpointer v, gconstpointer v2); void string_list_free (GList *string_list); GList *string_split (const gchar *string, char sep, const gchar *trim_chars, StringTrimOption trim_options); void string_trim (gchar *string, const gchar *chars, StringTrimOption options); gchar *string_prefix (const gchar *s, const gchar *suffix, gboolean *suffix_found); void string_unquote (gchar *string); gchar *strip (gchar *string, gchar c); char *strstrcase (const char *haystack, const char *needle); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* STRING_UTIL_H */ ini-1.3.7 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* security/libgcrypt: 1.6.1 -> 1.6.2, bump dependspi2015-01-031-1/+1
* Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla intijl2014-12-091-0/+1
* Update to version 2014.09.28pawel2014-11-042-3/+3
* Add USES=alias to several portsmarino2014-10-201-1/+1
* Fix build after json update.adamw2014-08-201-1/+1
* audio/pianobar: update to 2014.06.08wg2014-08-012-5/+5
* security/libgcrypt: 1.5.3_3 -> 1.6.1pi2014-07-301-1/+1
* - Replace security/gnutls with security/gnutls3 and update to 3.2.15tijl2014-07-231-1/+1
* - USE_(BZIP2|XZ) -> USES= tar:(bzip2|xz)ohauer2014-06-011-2/+1
* - Stage supportmiwi2014-02-141-5/+2
* Chase libmad changesbapt2014-02-051-1/+1
* devel/json-c: update to 0.11wg2013-11-091-0/+1
* - Update to 2013.09.15 [1]amdmi32013-09-256-42/+13
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1
* Eliminate USE_GNOME=pkgconfig from audiobapt2013-09-021-1/+1
* Convert audio from USE_GMAKE to USES=gmakebapt2013-08-311-1/+1
* - Update to 2013.05.19wg2013-06-073-26/+7
* Chase security/libgcrypt updateehaupt2013-05-041-1/+1
* - Add UPDATING entry for gnutls updatenovel2013-02-061-0/+1
* - restore CFLAGS/LDFLAGS to not be hardcodedjgh2012-12-292-9/+11
* - restore CFLAGS/LDFLAGS ( won't build without clobbering )jgh2012-12-291-2/+2
* - update to 2012.12.01jgh2012-12-272-10/+6
* - Update to 2012-09-07 [1]bdrewery2012-09-113-9/+26
* Add newlines to the ends of these filesdougb2012-09-041-1/+1
* Update to version 2012-06-24jpaetzel2012-07-112-3/+3
* Remove files that were patched to zero length in a previous commitjpaetzel2012-05-192-0/+0
* Update to 2012.05.06jpaetzel2012-05-157-59/+36
* Update to 2012.04.24jpaetzel2012-04-274-6/+61
* - Update to 2012.01.10culot2012-01-122-3/+3
* - Update to 2011.12.11miwi2011-12-185-115/+10
* - Update to 2011.11.11miwi2011-11-224-6/+89
* Update to 2011.09.22jpaetzel2011-09-26