From f6894721181f66414f91463b1baa83a7a68e19f0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 26 Jun 2009 12:23:12 +0200 Subject: Add some more INET helpers --- include/inet.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/inet.h b/include/inet.h index 3aacbdc2..1f80b74a 100644 --- a/include/inet.h +++ b/include/inet.h @@ -26,6 +26,8 @@ extern "C" { #endif +#include + #include extern int connman_inet_ifindex(const char *name); @@ -36,6 +38,11 @@ extern int connman_inet_ifdown(int index); extern struct connman_device *connman_inet_create_device(int index); +extern int connman_inet_set_address(int index, struct in_addr address, + struct in_addr netmask, struct in_addr broadcast); +extern int connman_inet_clear_address(int index); +extern int connman_inet_set_gateway(int index, struct in_addr gateway); + #ifdef __cplusplus } #endif -- cgit v1.2.3