6 #ifndef __IFTOP_H_ /* include guard */
12 #define HISTORY_LENGTH 20
14 #define DUMP_RESOLUTION 300
17 long recv[HISTORY_LENGTH];
18 long sent[HISTORY_LENGTH];
19 double long total_sent;
20 double long total_recv;
26 void *xmalloc(size_t n);
27 void *xcalloc(size_t n, size_t m);
28 void *xrealloc(void *w, size_t n);
29 char *xstrdup(const char *s);
33 void options_read(int argc, char **argv);
43 unsigned int subrulenr;
48 #endif /* __IFTOP_H_ */