summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-07-28 20:13:56 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-07-29 02:12:54 +0200
commitd3a1f0036b1aaa84051eadc107076f7a6efc5dbc (patch)
tree09b58cde43a40345a3f7507eb921273dc1e641c9 /include
parentecb349ca3e73b55f745642be49c2e6f0ac7a1a82 (diff)
downloadconnman-d3a1f0036b1aaa84051eadc107076f7a6efc5dbc.tar.gz
connman-d3a1f0036b1aaa84051eadc107076f7a6efc5dbc.tar.bz2
connman-d3a1f0036b1aaa84051eadc107076f7a6efc5dbc.zip
Add a family member to connman_ipaddress
Diffstat (limited to 'include')
-rw-r--r--include/ipconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 5f67dcc4..28a3d6ad 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -33,6 +33,7 @@ extern "C" {
*/
struct connman_ipaddress {
+ int family;
unsigned char prefixlen;
char *local;
char *peer;
@@ -40,7 +41,7 @@ struct connman_ipaddress {
char *gateway;
};
-struct connman_ipaddress *connman_ipaddress_alloc(void);
+struct connman_ipaddress *connman_ipaddress_alloc(int family);
void connman_ipaddress_free(struct connman_ipaddress *ipaddress);
void connman_ipaddress_set(struct connman_ipaddress *ipaddress,
const char *address, const char *netmask, const char *gateway);