summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2011-07-29 11:02:23 +0200
committerJasper Lievisse Adriaanse <jasper@humppa.nl>2011-07-29 11:02:23 +0200
commitcac71bf6c48560d35149755108678714ebe4f830 (patch)
tree66355342320cd42f8a95c603cd4a30b3a4b017b6
parent2ea3da9da565f0c4d115d79e726635df10d66b9f (diff)
downloadlibgtop-cac71bf6c48560d35149755108678714ebe4f830.tar.gz
Revert "Expand to support ifmedia(4) types as found on BSD."
This reverts commit 5144c3e1278b4f95c79c05fc2277baaec33fecdc. It wasn't meant to be pushed yet..
-rw-r--r--doc/reference/libgtop-sections.txt1
-rw-r--r--include/glibtop/netlist.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/doc/reference/libgtop-sections.txt b/doc/reference/libgtop-sections.txt
index 3ca859b4..0d99d695 100644
--- a/doc/reference/libgtop-sections.txt
+++ b/doc/reference/libgtop-sections.txt
@@ -167,7 +167,6 @@ glibtop_get_uptime_s
<FILE>netlist</FILE>
<TITLE>Net List</TITLE>
GLIBTOP_NETLIST_NUMBER
-GLIBTOP_NETLIST_MEDIA_TYPE
GLIBTOP_MAX_NETLIST
glibtop_netlist
glibtop_get_netlist
diff --git a/include/glibtop/netlist.h b/include/glibtop/netlist.h
index 8857a63e..f821c77d 100644
--- a/include/glibtop/netlist.h
+++ b/include/glibtop/netlist.h
@@ -26,9 +26,8 @@
G_BEGIN_DECLS
#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;
@@ -36,7 +35,6 @@ struct _glibtop_netlist
{
guint64 flags;
guint32 number;
- gchar *dev_type;
};
char** glibtop_get_netlist(glibtop_netlist *buf);