/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * gm_strfuncs.h
 * Copyright (C) Kevin DeKorte 2006 <kdekorte@gmail.com>
 * 
 * gm_strfuncs.h is free software.
 * 
 * You may 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.
 * 
 * gm_strfuncs.h 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 playlist.c.  If not, write to:
 * 	The Free Software Foundation, Inc.,
 * 	51 Franklin Street, Fifth Floor
 * 	Boston, MA  02110-1301, USA.
 */

#include <glib.h>

#ifndef gm_bool_to_string
#define gm_bool_to_string(x) ((x) ? "true" : "false")
#endif

#ifdef __cplusplus
extern "C" {
#endif

    void gm_str_strip_unicode(gchar * data, gsize len);
    void gm_str_replace_amp(gchar * data);
    void gm_str_unreplace_amp(gchar * data);
    gint gm_str_hms_in_seconds(gchar * timestr);
    gchar **g_strv_new(guint size);

#ifdef __cplusplus
}
#endif
