diff options
Diffstat (limited to 'netspeed/src/backend.h')
-rw-r--r-- | netspeed/src/backend.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/netspeed/src/backend.h b/netspeed/src/backend.h index b0e79704..5f382cd1 100644 --- a/netspeed/src/backend.h +++ b/netspeed/src/backend.h @@ -61,7 +61,6 @@ typedef struct { guint32 netmask; guint32 ptpip; guint8 hwaddr [8]; /* EUI-48 or EUI-64 */ - guint8 ipv6 [16]; char *essid; gboolean up; gboolean running; @@ -82,26 +81,30 @@ typedef struct { } DevInfo; GList* -get_available_devices(void); +get_available_devices (void); const gchar* -get_default_route(void); +get_default_route (void); gboolean -is_dummy_device(const char* device); +is_dummy_device (const char* device); void -free_devices_list(GList *list); +free_device_info (DevInfo *devinfo); void -free_device_info(DevInfo *devinfo); - -void -get_device_info(const char *device, DevInfo **info); +get_device_info (const char *device, DevInfo **info); gboolean -compare_device_info(const DevInfo *a, const DevInfo *b); +compare_device_info (const DevInfo *a, const DevInfo *b); void get_wireless_info (DevInfo *devinfo); + +GSList* +get_ip_address_list (const char *ifa_name, gboolean ipv4); + +GSList* +get_ip6_address_list (const char *ifa_name); + #endif /* _BACKEND_H */ |