diff options
Diffstat (limited to 'python-ethtool/etherinfo_struct.h')
-rw-r--r-- | python-ethtool/etherinfo_struct.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/python-ethtool/etherinfo_struct.h b/python-ethtool/etherinfo_struct.h new file mode 100644 index 0000000..641dcb4 --- /dev/null +++ b/python-ethtool/etherinfo_struct.h @@ -0,0 +1,23 @@ +/** + * @file etherinfo_struct.h + * @author David Sommerseth <dsommers@wsdsommers.usersys.redhat.com> + * @date Fri Sep 4 19:06:06 2009 + * + * @brief Contains the internal ethtool.etherinfo data structure + * + */ + +#ifndef _ETHERINFO_STRUCT_H +#define _ETHERINFO_STRUCT_H + +/** + * Contains the internal data structure of the + * ethtool.etherinfo object. + * + */ +typedef struct { + PyObject_HEAD + struct etherinfo *info; /**< Contains information about one ethernet device */ +} etherinfo_py; + +#endif |