summaryrefslogtreecommitdiffstats
path: root/include/netutils/dhcp.h
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2013-01-11 15:38:59 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-11 15:38:59 -0800
commitc93d30f50d15ff0c5c2d2b364019743d6cdaa88f (patch)
tree2ffd9048d054b16ca25c9d49f645af0c52477843 /include/netutils/dhcp.h
parent60efde774d96493483bd948805547680dfd7f41a (diff)
parentfdd573188d08fbd3739aeda19ef0f2d03752db9f (diff)
downloadsystem_core-c93d30f50d15ff0c5c2d2b364019743d6cdaa88f.zip
system_core-c93d30f50d15ff0c5c2d2b364019743d6cdaa88f.tar.gz
system_core-c93d30f50d15ff0c5c2d2b364019743d6cdaa88f.tar.bz2
Merge "Support 4 dns servers, up from 2"
Diffstat (limited to 'include/netutils/dhcp.h')
-rw-r--r--include/netutils/dhcp.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/netutils/dhcp.h b/include/netutils/dhcp.h
index d25e58f..bd2c957 100644
--- a/include/netutils/dhcp.h
+++ b/include/netutils/dhcp.h
@@ -27,11 +27,18 @@ extern int dhcp_do_request(const char *ifname,
char *ipaddr,
char *gateway,
uint32_t *prefixLength,
- char *dns1,
- char *dns2,
+ char *dns[],
char *server,
uint32_t *lease,
char *vendorInfo);
+extern int dhcp_do_request_renew(const char *ifname,
+ char *ipaddr,
+ char *gateway,
+ uint32_t *prefixLength,
+ char *dns[],
+ char *server,
+ uint32_t *lease,
+ char *vendorInfo);
extern int dhcp_stop(const char *ifname);
extern int dhcp_release_lease(const char *ifname);
extern char *dhcp_get_errmsg();