summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-06-30 08:27:40 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-06-30 08:27:40 -0700
commit98e81fab25d96b17a167347ffb5f4278d9b30932 (patch)
tree4a81bdb2bf1f0bb067b210619eb203a53ef60403 /include
parentd6e4fe30a9cdd9d491419976ed8509283e09d317 (diff)
downloadconnman-98e81fab25d96b17a167347ffb5f4278d9b30932.tar.gz
connman-98e81fab25d96b17a167347ffb5f4278d9b30932.tar.bz2
connman-98e81fab25d96b17a167347ffb5f4278d9b30932.zip
Set default IP configuration method for services
Diffstat (limited to 'include')
-rw-r--r--include/ipconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 94dfe671..ec2a9856 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -51,6 +51,9 @@ struct connman_ipconfig *connman_ipconfig_create(void);
struct connman_ipconfig *connman_ipconfig_ref(struct connman_ipconfig *ipconfig);
void connman_ipconfig_unref(struct connman_ipconfig *ipconfig);
+int connman_ipconfig_set_method(struct connman_ipconfig *ipconfig,
+ enum connman_ipconfig_method method);
+
#define CONNMAN_IPCONFIG_PRIORITY_LOW -100
#define CONNMAN_IPCONFIG_PRIORITY_DEFAULT 0
#define CONNMAN_IPCONFIG_PRIORITY_HIGH 100