connman_bool_t __connman_device_isfiltered(const char *devname);
-int __connman_device_get_phyindex(struct connman_device *device);
-void __connman_device_set_phyindex(struct connman_device *device,
- int phyindex);
-
void __connman_device_set_network(struct connman_device *device,
struct connman_network *network);
void __connman_device_cleanup_networks(struct connman_device *device);
char *ident;
char *path;
char *devname;
- int phyindex;
int index;
guint pending_timeout;
device->type = type;
device->name = g_strdup(type2description(device->type));
- device->phyindex = -1;
-
device->networks = g_hash_table_new_full(g_str_hash, g_str_equal,
g_free, free_network);
return device->index;
}
-int __connman_device_get_phyindex(struct connman_device *device)
-{
- return device->phyindex;
-}
-
-void __connman_device_set_phyindex(struct connman_device *device,
- int phyindex)
-{
- device->phyindex = phyindex;
-}
-
/**
* connman_device_set_interface:
* @device: device structure