From 0c69df2e427c82027eab8cf73e94b34d7b2aff66 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 13 Jan 2012 17:45:02 +0100 Subject: [PATCH] ipconfig: Move connman_ipaddress declaration to connman.h --- include/ipconfig.h | 9 +-------- src/connman.h | 9 +++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/include/ipconfig.h b/include/ipconfig.h index c15dd75..fb2251b 100644 --- a/include/ipconfig.h +++ b/include/ipconfig.h @@ -32,14 +32,7 @@ extern "C" { * @short_description: Functions for IP configuration handling */ -struct connman_ipaddress { - int family; - unsigned char prefixlen; - char *local; - char *peer; - char *broadcast; - char *gateway; -}; +struct connman_ipaddress; struct connman_ipaddress *connman_ipaddress_alloc(int family); void connman_ipaddress_free(struct connman_ipaddress *ipaddress); diff --git a/src/connman.h b/src/connman.h index 583d90c..a4a5185 100644 --- a/src/connman.h +++ b/src/connman.h @@ -176,6 +176,15 @@ void __connman_proxy_cleanup(void); #include +struct connman_ipaddress { + int family; + unsigned char prefixlen; + char *local; + char *peer; + char *broadcast; + char *gateway; +}; + struct connman_ipconfig_ops { void (*up) (struct connman_ipconfig *ipconfig); void (*down) (struct connman_ipconfig *ipconfig); -- 2.7.4