<method name="CheckProfilePrivilege"></method>
<method name="CheckInternetPrivilege"></method>
<method name="LaunchMdns"></method>
- <method name="RefMdns"></method>
<method name="UnrefMdns"></method>
<method name="DevicePolicySetWifi">
<arg type="i" name="state" direction="in"/>
<check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckProfilePrivilege" privilege="http://tizen.org/privilege/network.profile" />
<check send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="CheckInternetPrivilege" privilege="http://tizen.org/privilege/internet" />
<allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="LaunchMdns"/>
- <allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="RefMdns"/>
<allow send_destination="net.netconfig" send_interface="net.netconfig.network" send_member="UnrefMdns"/>
<check send_destination="net.netconfig" send_interface="net.netconfig.network_statistics" send_member="GetWifiLastRxBytes" privilege="http://tizen.org/privilege/network.get" />
G_CALLBACK(handle_remove_route), NULL);
g_signal_connect(netconfigstate, "handle-launch-mdns",
G_CALLBACK(handle_launch_mdns), NULL);
- g_signal_connect(netconfigstate, "handle-ref-mdns",
- G_CALLBACK(handle_ref_mdns), NULL);
g_signal_connect(netconfigstate, "handle-unref-mdns",
G_CALLBACK(handle_unref_mdns), NULL);
g_signal_connect(netconfigstate, "handle-device-policy-set-wifi",
return FALSE;
}
- network_complete_launch_mdns(object, context);
- return TRUE;
-}
-
-gboolean handle_ref_mdns(Network *object, GDBusMethodInvocation *context)
-{
mdnsd_ref_count++;
-
DBG("Ref mdnsresponder daemon. ref count: %d", mdnsd_ref_count);
- network_complete_ref_mdns(object, context);
+
+ network_complete_launch_mdns(object, context);
return TRUE;
}