/* * Copyright (C) 2007, 2008 OpenedHand Ltd. * Authored by: Rob Bradford * * This 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, version 2 of the License. * * This software 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, see . */ #ifndef _BEAVER_UTIL #define _BEAVER_UTIL #include #include #include #include #include #include #define MAX_CONFIG_LENGTH 2048 #define ENV_SCRIPT_FILE_PREFIX "environment-setup-" void beaver_util_message_view_buffer_flushed_cb (IAnjutaMessageView *view, gchar *data, gpointer userdata); gchar **beaver_util_strv_concat (gchar **strv_1, gchar **strv_2); gchar **beaver_util_strv_joinv (gchar **strv_1, ...); gchar *beaver_util_get_archs(gchar *directory); GHashTable *beaver_util_get_configs(gchar *filename); gchar *get_host_triplet(gchar *env_file); void update_env_hash(gchar *filename, GHashTable *hash_configs, GHashTable **old_hash_configs); void update_combo_box(GtkWidget *combo_box, gchar *value); #endif /* _BEAVER_UTIL */