summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-12-20 02:20:21 +0100
committerDavid Sommerseth <davids@redhat.com>2013-12-20 02:22:48 +0100
commit54a6b0bea9e210c0377c3510d8819df59c009d64 (patch)
tree7795a60a1e63de04e1f8d44680c26d75025d2990 /python-ethtool/etherinfo.h
parentd4bc3a50bb6124a0000879f27d43e9685934d682 (diff)
downloadpython-ethtool-54a6b0bea9e210c0377c3510d8819df59c009d64.tar.gz
python-ethtool-54a6b0bea9e210c0377c3510d8819df59c009d64.tar.xz
python-ethtool-54a6b0bea9e210c0377c3510d8819df59c009d64.zip
Merge struct etherinfo and etherinfo_py
Make things more "pythonic" and avoid another layer of wrapping by removing the struct etherinfo. Move that information to the main Python object instead. This simplifies the object creation and handling too, as now all strings are python objects. Also update some of the documentation blocks along the way. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo.h')
-rw-r--r--python-ethtool/etherinfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h
index 2fc602e..82b491f 100644
--- a/python-ethtool/etherinfo.h
+++ b/python-ethtool/etherinfo.h
@@ -21,7 +21,6 @@ typedef enum {NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in
int get_etherinfo_link(etherinfo_py *data);
PyObject * get_etherinfo_address(etherinfo_py *self, nlQuery query);
-void free_etherinfo(struct etherinfo *ptr);
int open_netlink(etherinfo_py *);
struct nl_sock * get_nlc();