Move rbtree into lib/
[fio.git] / gfio.h
diff --git a/gfio.h b/gfio.h
index 6760675acb465f1331cbe9b7ec139eb802d5cd6f..71b2db74cdf8bfdfe7580ba6bc862acfa39556d6 100644 (file)
--- a/gfio.h
+++ b/gfio.h
@@ -3,7 +3,6 @@
 
 #include <gtk/gtk.h>
 
-#include "flist.h"
 #include "stat.h"
 #include "thread_options.h"
 #include "ghelpers.h"
@@ -68,7 +67,7 @@ struct gui {
        pthread_t t;
        int handler_running;
 
-       struct flist_head list;
+       GHashTable *ge_hash;
 } main_ui;
 
 enum {
@@ -91,7 +90,6 @@ enum {
  * Notebook entry
  */
 struct gui_entry {
-       struct flist_head list;
        struct gui *ui;
 
        GtkWidget *vbox;
@@ -146,8 +144,13 @@ struct gfio_client {
        unsigned int nr_du;
 };
 
-#define ARRAYSIZE(x) (sizeof((x)) / (sizeof((x)[0])))
-
 #define GFIO_MIME      "text/fio"
 
+extern void gfio_view_log(struct gui *ui);
+extern void gfio_set_state(struct gui_entry *ge, unsigned int state);
+extern void clear_ge_ui_info(struct gui_entry *ge);
+
+extern const char *gfio_graph_font;
+extern GdkColor gfio_color_white;
+
 #endif