summaryrefslogtreecommitdiff
path: root/include/ipconfig.h
diff options
context:
space:
mode:
authorMartin Xu <martin.xu@intel.com>2010-03-25 11:36:48 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-25 15:07:37 +0100
commit1c7e42c140557bb9e0e0c7573f8112aa4e833e9f (patch)
treeb9cd74935578112d7d3bc106de403574544f38ca /include/ipconfig.h
parentcc1fdc0aea333e9d6886c00e8890342f473d6ed1 (diff)
downloadconnman-1c7e42c140557bb9e0e0c7573f8112aa4e833e9f.tar.gz
connman-1c7e42c140557bb9e0e0c7573f8112aa4e833e9f.tar.bz2
connman-1c7e42c140557bb9e0e0c7573f8112aa4e833e9f.zip
Add gateway to connman_ipaddress
Diffstat (limited to 'include/ipconfig.h')
-rw-r--r--include/ipconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 8e99c6db..0b70252d 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -37,12 +37,13 @@ struct connman_ipaddress {
char *local;
char *peer;
char *broadcast;
+ char *gateway;
};
struct connman_ipaddress *connman_ipaddress_alloc(void);
void connman_ipaddress_free(struct connman_ipaddress *ipaddress);
void connman_ipaddress_set(struct connman_ipaddress *ipaddress,
- const char *address, const char *netmask);
+ const char *address, const char *netmask, const char *gateway);
void connman_ipaddress_clear(struct connman_ipaddress *ipaddress);
void connman_ipaddress_copy(struct connman_ipaddress *ipaddress,
struct connman_ipaddress *source);