diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-01-05 05:35:55 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-01-05 05:35:55 -0800 |
commit | d31f3c8e6b025820697669ac60637a1e942a3f33 (patch) | |
tree | 91005e341387ce3f63bd43d5eabbc7f220665716 /include | |
parent | 4426a1e749526a70c891d8bffe845be694481330 (diff) | |
download | connman-d31f3c8e6b025820697669ac60637a1e942a3f33.tar.gz connman-d31f3c8e6b025820697669ac60637a1e942a3f33.tar.bz2 connman-d31f3c8e6b025820697669ac60637a1e942a3f33.zip |
Add helper for removing host routes
Diffstat (limited to 'include')
-rw-r--r-- | include/inet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inet.h b/include/inet.h index 307fe94b..0b62357b 100644 --- a/include/inet.h +++ b/include/inet.h @@ -44,7 +44,8 @@ connman_bool_t connman_inet_is_mac80211(int index); int connman_inet_set_address(int index, struct connman_ipaddress *ipaddress); int connman_inet_clear_address(int index); -int connman_inet_set_host_route(int index, const char *host); +int connman_inet_add_host_route(int index, const char *host); +int connman_inet_del_host_route(int index, const char *host); int connman_inet_set_gateway_address(int index, const char *gateway); int connman_inet_set_gateway_interface(int index); |