/* -*- 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 Helix Code, Inc. (http://www.helixcode.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); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* STRING_UTIL_H */ endabot/npm_and_yarn/devel/electron4/files/ini-1.3.7 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Don't use SVN variable in 'git svn rebase' as setting the SVN variable tobeat2012-08-061-1/+1
* - Sync update target with src/ [1]beat2012-08-021-6/+10
* - Add Subversion capability to the update tragetbeat2012-07-161-0/+8
* - Remove obsolete version check (We dont support FreeBSD 6 anymore)miwi2012-05-241-4/+0
* Latest round of infrastructure changes.flz2011-05-051-2/+6
* - Retire mbone as a physical categorypav2011-03-071-1/+0
* - Terminate support for X11BASE having different value from LOCALBASEpav2009-12-181-4/+1
* - Allow users to redefine an update target.sem2009-10-221-0/+2
* - bsd.port.mk - Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is bein...miwi2009-08-231-1/+1
* Major optimizations for 'make index' and other recursive traversalkris2008-07-201-1/+11
* Remove obsolete anti-foot-shooting measure that tried to force youlinimon2007-09-271-3/+0
* The default method for 'make update' is now portsnap. Previously,linimon2007-05-251-8/+14
* When setting INDEX_PRISTINE, also set USE_NONDEFAULT_X11BASE toerwin2007-05-201-0/+1
* Add new category x11-driverspav2007-05-201-0/+1
* Add two missing dollars.ru2007-02-261-2/+2
* - Introduce a new ports category ports-mgmt: Ports for managing, installing andpav2007-01-311-0/+1
* bsd.port.mkpav2007-01-311-0/+4
* - Fix the make_index script if PORTSDIR is a path which contains akris2006-02-111-3/+3
* - Fix possibility of "infinite make fork" when "Registering install for ..."linimon2006-01-281-11/+17
* Split "portsnap fetch update" into "portsnap fetch" and "portsnap update"cperciva2006-01-251-1/+2
* - Fix 'all-depends-list' target in cases if dependencies list iskrion2006-01-221-2/+9
* MFsrc: Show stray files during "cvs update".ru2005-12-241-1/+1
* - Create a new category, net-im, for instant messaging applications.pav2005-11-081-0/+1
* Introduce new variable MASTER_SITE_INDEX, to allow mirroring ofkrion2004-12-171-1/+2
* As previously announced, remove ports/picobsd/ssh-picobsd due to long-linimon2004-11-291-1/+0
* Allow to override fetch option by $FETCHINDEX variable.kuriyama2004-11-161-1/+2