Imported Upstream version 1.1.2
[psensor-pkg-debian.git] / src / graph.h
index 88d4e0e..7dae2c1 100644 (file)
 
 #include <gtk/gtk.h>
 
-#include "psensor.h"
-#include "cfg.h"
+#include <cfg.h>
+#include <psensor.h>
+
+extern bool is_smooth_curves_enabled;
 
 void graph_update(struct psensor **sensors,
-                 GtkWidget * w_graph,
+                 GtkWidget *w_graph,
                  struct config *config,
-                 GtkWidget * window);
+                 GtkWidget *window);
+
+/* Compute the number of measures which must be kept. */
+int compute_values_max_length(struct config *);
 
 #endif