From d8b7393db11aec4e0e332dd1dfb6dc6f34888206 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 20 Dec 2013 00:14:49 +0100 Subject: 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 --- python-ethtool/etherinfo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'python-ethtool/etherinfo.h') 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); -- cgit