diff options
author | Leandro Pereira <leandro@linuxmag.com.br> | 2004-06-14 21:33:25 -0300 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:31 -0500 |
commit | 7d65a12d6431f72e601ea1d0c3ef5d09af8bfb96 (patch) | |
tree | 7ad1761adce3212a13e5342a54865e31b917f18b /net.h | |
parent | 0864b0a8e6f0b0983c3536931cfbad1414137d6b (diff) | |
parent | 8c1612d32c5682a86216adb8c8d11ce715fe5475 (diff) |
Import Debian changes 0.3.6-5
hardinfo (0.3.6-5) unstable; urgency=high
* Add Amd64 support (closes: #253935).
Thanks to Kurt Roeckx <Q@ping.be>
* Close duplicate "doesn't work with newer pciutils" bug (closes: #254018).
hardinfo (0.3.6-4) unstable; urgency=high
* Fixed segfault on startup (closes: #242843).
Thanks to Remco van de Meent <remco@debian.org>
hardinfo (0.3.6-3) unstable; urgency=high
* Added Debian menu entry icon.
* Fixed some misc packaging bugs.
* Changed package description.
hardinfo (0.3.6-2) unstable; urgency=low
* Sync with upstream sources.
* Disabled "Network" tab.
hardinfo (0.3.6-1) unstable; urgency=high
* Sync with upstream sources.
hardinfo (0.3.5-1) unstable; urgency=high
* Sync with upstream sources.
hardinfo (0.3.4-1) unstable; urgency=high
* Sync with upstream sources.
hardinfo (0.3.3-1) unstable; urgency=low
* Sync with upstream sources.
hardinfo (0.3.2-1) unstable; urgency=low
* Sync with upstream sources.
hardinfo (0.3.1-1) unstable; urgency=low
* Sync with upstream sources.
hardinfo (0.3-1) unstable; urgency=low
* Initial Release.
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +#ifndef __NET_H__ +#define __NET_H__ + +#include "hardinfo.h" + +typedef struct _NetDevice NetDevice; + +struct _NetDevice { + gchar *iface; + + guint recv_bytes; + guint recv_errors; + guint recv_packets; + + guint trans_bytes; + guint trans_errors; + guint trans_packets; + + NetDevice *next; +}; + + +NetDevice *hi_scan_net(void); +GtkWidget *net_get_widget(MainWindow *mainwindow); +void hi_show_net_info(MainWindow *mainwindow, NetDevice *device); + +gboolean net_update(gpointer data); + +#endif |