void __connman_technology_append_interfaces(DBusMessageIter *array,
enum connman_service_type type, const char *ifname);
void __connman_technology_notify_device_detected_by_device(
- struct connman_device *device, const char *ifname, bool val);
+ void *detected_device, const char *ifname, bool val);
void __connman_technology_notify_roaming_state(const char *ifname,
const char *state, const char *cur_bssid, const char *dst_bssid);
#endif
struct scan_ssid *scan_ssid = list->data;
struct connman_service *service;
- if (g_strcmp0(name, scan_ssid->ssid) != 0)
+ if (g_strcmp0(name, (char *)scan_ssid->ssid) != 0)
continue;
service = connman_service_lookup_from_network(network);
}
void __connman_technology_notify_device_detected_by_device(
- struct connman_device *device, const char *ifname, bool val)
+ void *detected_device, const char *ifname, bool val)
{
struct connman_technology *technology;
enum connman_service_type type;
+ struct connman_device *device = detected_device;
type = __connman_device_get_service_type(device);