We need to know the config file and entry name in next patch
in order to know if the service entry was removed from config
file.
}
int __connman_config_provision_service_ident(struct connman_service *service,
- const char *ident)
+ const char *ident, const char *file, const char *entry)
{
enum connman_service_type type;
struct connman_config *config;
int __connman_config_load_service(GKeyFile *keyfile, const char *group, connman_bool_t persistent);
int __connman_config_provision_service(struct connman_service *service);
int __connman_config_provision_service_ident(struct connman_service *service,
- const char *ident);
+ const char *ident, const char *file, const char *entry);
int __connman_tethering_init(void);
void __connman_tethering_cleanup(void);
struct connman_service *service = value;
char *path = user_data;
- __connman_config_provision_service_ident(service, path);
+ __connman_config_provision_service_ident(service, path,
+ service->config_file, service->config_entry);
}
void __connman_service_provision_changed(const char *ident)