summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-12-20 00:18:56 +0100
committerDavid Sommerseth <davids@redhat.com>2013-12-20 00:20:16 +0100
commit52b17fc36d39c32d6e766c18ee8fd4f472f62d39 (patch)
treefc51b65fa6927cba0e34c6966f4e87394645146c /python-ethtool/etherinfo.h
parentd8b7393db11aec4e0e332dd1dfb6dc6f34888206 (diff)
downloadpython-ethtool-52b17fc36d39c32d6e766c18ee8fd4f472f62d39.tar.gz
python-ethtool-52b17fc36d39c32d6e766c18ee8fd4f472f62d39.tar.xz
python-ethtool-52b17fc36d39c32d6e766c18ee8fd4f472f62d39.zip
Clean-up get_etherinfo() and move it to get_etherinfo_address()
This follows the previous commit. Just cleaning up and making things a bit more clearer. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'python-ethtool/etherinfo.h')
-rw-r--r--python-ethtool/etherinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h
index f817602..3d4eb96 100644
--- a/python-ethtool/etherinfo.h
+++ b/python-ethtool/etherinfo.h
@@ -17,10 +17,10 @@
#ifndef _ETHERINFO_H
#define _ETHERINFO_H
-typedef enum {NLQRY_LINK, NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in the etherinfo code */
+typedef enum {NLQRY_ADDR4, NLQRY_ADDR6} nlQuery; /**< Supported query types in the etherinfo code */
int get_etherinfo_link(etherinfo_py *data);
-int get_etherinfo(etherinfo_py *data, nlQuery query);
+int get_etherinfo_address(etherinfo_py *data, nlQuery query);
void free_etherinfo(struct etherinfo *ptr);
int open_netlink(etherinfo_py *);