From d3a1f0036b1aaa84051eadc107076f7a6efc5dbc Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Wed, 28 Jul 2010 20:13:56 +0200 Subject: Add a family member to connman_ipaddress --- include/ipconfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/ipconfig.h') 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); -- cgit v1.2.3