gplate/gplate-util.h
author Gary Kramlich <grim@reaperworld.com>
Sat Jul 03 23:24:33 2010 -0500 (22 months ago)
changeset 394 ad26d98e20e6
parent 226 a36b6d820500
permissions -rw-r--r--
Changed the license from gplv2 to gplv3
Updated copyrights to be 2007-2010 rather than 2007-2008 (since just about everything has been touched recently
Ignored the top level tests/ directory for now since that is slowly being replaced
grim@221
     1
/*
grim@394
     2
 * Copyright (C) 2007-2010 Gary Kramlich <grim@reaperworld.com>
grim@221
     3
 *
grim@394
     4
 * This program is free software: you can redistribute it and/or modify
grim@394
     5
 * it under the terms of the GNU General Public License as published by
grim@394
     6
 * the Free Software Foundation, either version 3 of the License, or
grim@394
     7
 * (at your option) any later version.
grim@221
     8
 *
grim@394
     9
 * This program is distributed in the hope that it will be useful,
grim@394
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
grim@394
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
grim@394
    12
 * GNU General Public License for more details.
grim@394
    13
 *
grim@394
    14
 * You should have received a copy of the GNU General Public License
grim@394
    15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
grim@221
    16
 */
grim@221
    17
#ifndef GPLATE_UTIL_H
grim@221
    18
#define GPLATE_UTIL_H
grim@221
    19
grim@221
    20
#include <glib.h>
grim@221
    21
grim@221
    22
G_BEGIN_DECLS
grim@221
    23
grim@221
    24
gboolean gplate_util_read_file(const gchar *filename, gchar **contents, gsize *length, GError **error);
grim@221
    25
grim@221
    26
gboolean gplate_util_is_quoted_string(const gchar *str, gchar **contents);
grim@226
    27
gchar *gplate_util_get_first_word(const gchar *str, gchar **leftovers);
grim@221
    28
grim@221
    29
G_END_DECLS
grim@221
    30
grim@221
    31
#endif /* GPLATE_UTIL_H */