summaryrefslogtreecommitdiff
path: root/multiload/src/load-graph.h
blob: 1f13a8d0f01b0c1329f9a2191d648299628720d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef LOAD_GRAPH_H__
#define LOAD_GRAPH_H__

#include "global.h"

/* Create new load graph. */
G_GNUC_INTERNAL LoadGraph *
load_graph_new (MultiloadApplet *multiload, guint n, const gchar *label,
                gint id, guint speed, guint size, gboolean visible,
                const gchar *name, LoadGraphDataFunc get_data);

/* Start load graph. */
G_GNUC_INTERNAL void
load_graph_start (LoadGraph *g);

/* Stop load graph. */
G_GNUC_INTERNAL void
load_graph_stop (LoadGraph *g);

/* free load graph */
G_GNUC_INTERNAL void
load_graph_unalloc (LoadGraph *g);

#endif