ipconfig: Move connman_ipaddress declaration to connman.h
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 13 Jan 2012 16:45:02 +0000 (17:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 13 Jan 2012 17:19:09 +0000 (18:19 +0100)
include/ipconfig.h
src/connman.h

index c15dd75..fb2251b 100644 (file)
@@ -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);
index 583d90c..a4a5185 100644 (file)
@@ -176,6 +176,15 @@ void __connman_proxy_cleanup(void);
 
 #include <connman/ipconfig.h>
 
+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);