1 | /* |
2 | KSysGuard, the KDE System Guard |
3 | |
4 | Copyright (c) 2001 Tobias Koenig <tokoe@kde.org> |
5 | |
6 | This program is free software; you can redistribute it and/or |
7 | modify it under the terms of version 2 of the GNU General Public |
8 | License as published by the Free Software Foundation. |
9 | |
10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. |
14 | |
15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
18 | |
19 | */ |
20 | |
21 | #ifndef _netstat_h_ |
22 | #define _netstat_h_ |
23 | |
24 | void initNetStat(struct SensorModul* sm); |
25 | void exitNetStat(void); |
26 | |
27 | int updateNetStat(void); |
28 | int updateNetStatTcpUdpRaw(const char* cmd); |
29 | int updateNetStatUnix(void); |
30 | |
31 | void printNetStat(const char* cmd); |
32 | void printNetStatInfo(const char* cmd); |
33 | |
34 | void printNetStatTcpUdpRaw(const char *cmd); |
35 | void printNetStatTcpUdpRawInfo(const char *cmd); |
36 | |
37 | void printNetStatUnix(const char *cmd); |
38 | void printNetStatUnixInfo(const char *cmd); |
39 | #endif |
40 | |