~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy

« back to all changes in this revision

Viewing changes to ksysguard/ksysguardd/Linux/netstat.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-09-05 20:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20070905204514-632hhspl0nvrc84i
Tags: upstream-3.93.0
ImportĀ upstreamĀ versionĀ 3.93.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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