summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ipconfig.h9
-rw-r--r--src/connman.h9
2 files changed, 10 insertions, 8 deletions
diff --git a/include/ipconfig.h b/include/ipconfig.h
index c15dd752..fb2251b1 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 583d90ce..a4a51855 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -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);