Revert "Expand to support ifmedia(4) types as found on BSD."

This reverts commit 5144c3e127.

It wasn't meant to be pushed yet..
This commit is contained in:
Jasper Lievisse Adriaanse
2011-07-29 11:02:23 +02:00
parent 2ea3da9da5
commit cac71bf6c4
2 changed files with 1 additions and 4 deletions

View File

@@ -167,7 +167,6 @@ glibtop_get_uptime_s
<FILE>netlist</FILE> <FILE>netlist</FILE>
<TITLE>Net List</TITLE> <TITLE>Net List</TITLE>
GLIBTOP_NETLIST_NUMBER GLIBTOP_NETLIST_NUMBER
GLIBTOP_NETLIST_MEDIA_TYPE
GLIBTOP_MAX_NETLIST GLIBTOP_MAX_NETLIST
glibtop_netlist glibtop_netlist
glibtop_get_netlist glibtop_get_netlist

View File

@@ -26,9 +26,8 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define GLIBTOP_NETLIST_NUMBER 0 #define GLIBTOP_NETLIST_NUMBER 0
#define GLIBTOP_NETLIST_MEDIA_TYPE 1
#define GLIBTOP_MAX_NETLIST 2 #define GLIBTOP_MAX_NETLIST 1
typedef struct _glibtop_netlist glibtop_netlist; typedef struct _glibtop_netlist glibtop_netlist;
@@ -36,7 +35,6 @@ struct _glibtop_netlist
{ {
guint64 flags; guint64 flags;
guint32 number; guint32 number;
gchar *dev_type;
}; };
char** glibtop_get_netlist(glibtop_netlist *buf); char** glibtop_get_netlist(glibtop_netlist *buf);