summaryrefslogtreecommitdiff
path: root/multiload/netspeed.h
blob: 5bc19cf1eda6922a3a6d81b8b08d902bdc5dfdce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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_ */