const char *connman_service_get_proxy_url(struct connman_service *service);
const char *connman_service_get_proxy_autoconfig(struct connman_service *service);
+void connman_service_create_ip4config(struct connman_service *service,
+ int index);
+void connman_service_create_ip6config(struct connman_service *service,
+ int index);
+
#ifdef __cplusplus
}
#endif
void __connman_service_update_from_network(struct connman_network *network);
void __connman_service_remove_from_network(struct connman_network *network);
void __connman_service_read_ip4config(struct connman_service *service);
-void __connman_service_create_ip4config(struct connman_service *service,
- int index);
void __connman_service_read_ip6config(struct connman_service *service);
-void __connman_service_create_ip6config(struct connman_service *service,
- int index);
+
struct connman_ipconfig *__connman_service_get_ip4config(
struct connman_service *service);
struct connman_ipconfig *__connman_service_get_ip6config(
* ipconfig layer yet, due to not being able to get
* a network index prior to creating a service.
*/
- __connman_service_create_ip4config(service, index);
+ connman_service_create_ip4config(service, index);
else
__connman_ipconfig_set_index(ipconfig, index);
ipconfig = __connman_service_get_ip4config(service);
if (ipconfig == NULL) {
- __connman_service_create_ip4config(service, index);
+ connman_service_create_ip4config(service, index);
ipconfig = __connman_service_get_ip4config(service);
if (ipconfig == NULL) {
ipconfig = __connman_service_get_ip6config(service);
if (ipconfig == NULL) {
- __connman_service_create_ip6config(service, index);
+ connman_service_create_ip6config(service, index);
ipconfig = __connman_service_get_ip6config(service);
if (ipconfig == NULL) {
g_key_file_free(keyfile);
}
-void __connman_service_create_ip4config(struct connman_service *service,
+void connman_service_create_ip4config(struct connman_service *service,
int index)
{
DBG("ipv4 %p", service->ipconfig_ipv4);
g_key_file_free(keyfile);
}
-void __connman_service_create_ip6config(struct connman_service *service,
+void connman_service_create_ip6config(struct connman_service *service,
int index)
{
DBG("ipv6 %p", service->ipconfig_ipv6);