summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-22 13:47:54 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-22 14:43:35 +0200
commit070b865259d09adb6242d51df9eda005f5a36fcb (patch)
treed7295d759c8745afcd895fedc521c0c393dd0800 /src/connman.h
parentf6d8001a4bf4293dfe012cb8065f76ce3501a7a5 (diff)
downloadconnman-070b865259d09adb6242d51df9eda005f5a36fcb.tar.gz
connman-070b865259d09adb6242d51df9eda005f5a36fcb.tar.bz2
connman-070b865259d09adb6242d51df9eda005f5a36fcb.zip
service: Refactor ipconfig setter
Done so that the function can be called also from config.c The idea is that if ethernet .config file is removed, we are able to clear the interface properly.
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 1f74e238..fc6d528a 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -687,6 +687,9 @@ int __connman_service_set_passphrase(struct connman_service *service,
const char *__connman_service_get_passphrase(struct connman_service *service);
void __connman_service_set_agent_passphrase(struct connman_service *service,
const char *agent_passphrase);
+int __connman_service_reset_ipconfig(struct connman_service *service,
+ enum connman_ipconfig_type type, DBusMessageIter *array,
+ enum connman_service_state *new_state);
void __connman_service_notify(struct connman_service *service,
unsigned int rx_packets, unsigned int tx_packets,