summaryrefslogtreecommitdiff
path: root/include/ipconfig.h
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@nokia.com>2010-12-09 13:11:50 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-14 18:56:03 +0100
commitb44e71853d9de3927b1e77e71fca3ffe0da82e49 (patch)
tree1323f10ba438c4afb820cb4615b18d593690ecf3 /include/ipconfig.h
parent595de22bc25e58fde14f55ae98d62415ecef9407 (diff)
downloadconnman-b44e71853d9de3927b1e77e71fca3ffe0da82e49.tar.gz
connman-b44e71853d9de3927b1e77e71fca3ffe0da82e49.tar.bz2
connman-b44e71853d9de3927b1e77e71fca3ffe0da82e49.zip
ipconfig: Define 2 separate pointers for IPv4 and IPv6
This patch does not yet enable IPv6 only network support but it is required for later work.
Diffstat (limited to 'include/ipconfig.h')
-rw-r--r--include/ipconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 28a3d6ad..92110e0e 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -74,7 +74,8 @@ struct connman_ipconfig_ops {
void (*ip_release) (struct connman_ipconfig *ipconfig);
};
-struct connman_ipconfig *connman_ipconfig_create(int index);
+struct connman_ipconfig *connman_ipconfig_create(int index,
+ enum connman_ipconfig_type type);
struct connman_ipconfig *connman_ipconfig_clone(struct connman_ipconfig *ipconfig);
struct connman_ipconfig *connman_ipconfig_ref(struct connman_ipconfig *ipconfig);
void connman_ipconfig_unref(struct connman_ipconfig *ipconfig);