summaryrefslogtreecommitdiff
path: root/multiload/netspeed.h
diff options
context:
space:
mode:
Diffstat (limited to 'multiload/netspeed.h')
-rw-r--r--multiload/netspeed.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/multiload/netspeed.h b/multiload/netspeed.h
new file mode 100644
index 00000000..5bc19cf1
--- /dev/null
+++ b/multiload/netspeed.h
@@ -0,0 +1,15 @@
+#ifndef H_MULTILOAD_NETSPEED_
+#define H_MULTILOAD_NETSPEED_
+
+#include <glib.h>
+
+typedef struct _NetSpeed NetSpeed;
+
+#include "global.h"
+
+NetSpeed* netspeed_new(LoadGraph *graph);
+void netspeed_delete(NetSpeed *ns);
+void netspeed_add(NetSpeed *ns, gulong tx);
+char* netspeed_get(NetSpeed *ns);
+
+#endif /* H_MULTILOAD_NETSPEED_ */