aboutsummaryrefslogtreecommitdiffstats
path: root/src/beaver-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/beaver-util.h')
-rw-r--r--src/beaver-util.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/beaver-util.h b/src/beaver-util.h
index a7c8a61..1cee3d1 100644
--- a/src/beaver-util.h
+++ b/src/beaver-util.h
@@ -21,22 +21,26 @@
#include <config.h>
#include <glib-object.h>
+#include <dirent.h>
+#include <errno.h>
+
#include <libanjuta/libanjuta.h>
#include <libanjuta/interfaces/ianjuta-message-manager.h>
+#define MAX_CONFIG_LENGTH 1000
+#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, ...);
-#ifdef ANJUTA_CHECK_VERSION
-#if LIBANJUTA_MAJOR_VERSION >= 2 && LIBANJUTA_MINOR_VERSION >= 23
-#if LIBANJUTA_MINOR_VERSION >= 28
-#define ANJUTA_2_28_OR_HIGHER
-#else
-#define ANJUTA_2_23_TO_26
-#endif
-#endif
-#endif
+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 */