diff options
author | David Sommerseth <davids@redhat.com> | 2013-12-20 00:14:49 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2013-12-20 00:14:49 +0100 |
commit | d8b7393db11aec4e0e332dd1dfb6dc6f34888206 (patch) | |
tree | b85741811d8386cb288733d08ff847317c85f5e3 /python-ethtool/etherinfo.h | |
parent | e3036b284d41977f240592ebb4148e4283176682 (diff) | |
download | python-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.h | 1 |
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); |