Mercurial > audlegacy
view src/audacious/strings.h @ 2549:ef59b072a5d2 trunk
[svn] - update playlist->tail when an entry has been removed.
author | yaz |
---|---|
date | Sun, 18 Feb 2007 22:33:03 -0800 |
parents | ab2b1b6f6179 |
children | 3b6d316f8b09 |
line wrap: on
line source
/* Audacious * Copyright (C) 2005-2007 Audacious development team. * * BMP - Cross-platform multimedia player * Copyright (C) 2003-2004 BMP development team. * * Based on XMMS: * Copyright (C) 1998-2003 XMMS development team. * * 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; under version 2 of the License. * * 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., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #ifndef AUD_STRINGS_H #define AUD_STRINGS_H #include <glib.h> gchar *escape_shell_chars(const gchar * string); gchar *str_append(gchar * str, const gchar * add_str); gchar *str_replace(gchar * str, gchar * new_str); void str_replace_in(gchar ** str, gchar * new_str); gboolean str_has_prefix_nocase(const gchar * str, const gchar * prefix); gboolean str_has_suffix_nocase(const gchar * str, const gchar * suffix); gboolean str_has_suffixes_nocase(const gchar * str, gchar * const *suffixes); gchar *str_to_utf8_fallback(const gchar * str); gchar *filename_to_utf8(const gchar * filename); gchar *str_to_utf8(const gchar * str); const gchar *str_skip_chars(const gchar * str, const gchar * chars); gchar *convert_title_text(gchar * text); gchar *chardet_to_utf8(const gchar *str, gssize len, gsize *arg_bytes_read, gsize *arg_bytes_write, GError **arg_error); #endif