From: Daniel Wagner <[email protected]>
---
Hi,
of course this one is also possible :)
cheers,
daniel
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 <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);
--
1.7.8.2.325.g247f9
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman