summaryrefslogtreecommitdiffstats
path: root/python-ethtool/etherinfo.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-12-20 00:14:49 +0100
committerDavid Sommerseth <davids@redhat.com>2013-12-20 00:14:49 +0100
commitd8b7393db11aec4e0e332dd1dfb6dc6f34888206 (patch)
treeb85741811d8386cb288733d08ff847317c85f5e3 /python-ethtool/etherinfo.h
parente3036b284d41977f240592ebb4148e4283176682 (diff)
downloadpython-ethtool-d8b7393db11aec4e0e332dd1dfb6dc6f34888206.tar.gz
python-ethtool-d8b7393db11aec4e0e332dd1dfb6dc6f34888206.tar.xz
python-ethtool-d8b7393db11aec4e0e332dd1dfb6dc6f34888206.zip
Split out the link info from get_etherinfo()
This is a needed step for the next move, where we'll query the interfaces for IP address at as late as possible. 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, 1 insertions, 0 deletions
diff --git a/python-ethtool/etherinfo.h b/python-ethtool/etherinfo.h
index 5b8c874..f817602 100644
--- a/python-ethtool/etherinfo.h
+++ b/python-ethtool/etherinfo.h
@@ -19,6 +19,7 @@
typedef enum {NLQRY_LINK, 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);
void free_etherinfo(struct etherinfo *ptr);