aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/stats/statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/stats/statistics.h')
-rw-r--r--src/plugins/stats/statistics.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/plugins/stats/statistics.h b/src/plugins/stats/statistics.h
new file mode 100644
index 00000000..536d4855
--- /dev/null
+++ b/src/plugins/stats/statistics.h
@@ -0,0 +1,49 @@
1/*
2 This file is part of GNUnet
3
4 GNUnet is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published
6 by the Free Software Foundation; either version 2, or (at your
7 option) any later version.
8
9 GNUnet is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with GNUnet; see the file COPYING. If not, write to the
16 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
18*/
19
20/**
21 * @file applications/afs/gtkui/statistics.h
22 * @author Christian Grothoff
23 **/
24
25#ifndef GTKUI_STATISTICS_H
26#define GTKUI_STATISTICS_H
27
28#include "platform.h"
29#include <gtk/gtk.h>
30#include <gtk/gtktext.h>
31
32/**
33 * Display the statistics.
34 */
35void displayStatistics(GtkWidget * widget,
36 gpointer data);
37
38
39void initGTKStatistics();
40
41void doneGTKStatistics();
42
43#define STAT_CONNECTIVITY 0
44#define STAT_CPU_LOAD 1
45#define STAT_IN_TRAFFIC 2
46#define STAT_OUT_TRAFFIC 3
47
48
49#endif