path: root/include/inet.h
diff options
Diffstat (limited to 'include/inet.h')
1 files changed, 5 insertions, 7 deletions
diff --git a/include/inet.h b/include/inet.h
index 8f7a35cb..a836a5bf 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -2,7 +2,7 @@
* Connection Manager
- * Copyright (C) 2007-2012 Intel Corporation. All rights reserved.
+ * Copyright (C) 2007-2013 Intel Corporation. All rights reserved.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -41,7 +41,7 @@ short int connman_inet_ifflags(int index);
int connman_inet_ifup(int index);
int connman_inet_ifdown(int index);
-connman_bool_t connman_inet_is_cfg80211(int index);
+bool connman_inet_is_cfg80211(int index);
int connman_inet_set_address(int index, struct connman_ipaddress *ipaddress);
int connman_inet_clear_address(int index, struct connman_ipaddress *ipaddress);
@@ -50,11 +50,10 @@ int connman_inet_del_host_route(int index, const char *host);
int connman_inet_add_network_route(int index, const char *host, const char *gateway,
const char *netmask);
int connman_inet_del_network_route(int index, const char *host);
-int connman_inet_set_gateway_address(int index, const char *gateway);
int connman_inet_clear_gateway_address(int index, const char *gateway);
int connman_inet_set_gateway_interface(int index);
int connman_inet_clear_gateway_interface(int index);
-connman_bool_t connman_inet_compare_subnet(int index, const char *host);
+bool connman_inet_compare_subnet(int index, const char *host);
int connman_inet_set_ipv6_address(int index,
struct connman_ipaddress *ipaddress);
int connman_inet_clear_ipv6_address(int index,
@@ -66,7 +65,6 @@ int connman_inet_add_ipv6_host_route(int index, const char *host,
int connman_inet_del_ipv6_network_route(int index, const char *host,
unsigned char prefix_len);
int connman_inet_del_ipv6_host_route(int index, const char *host);
-int connman_inet_set_ipv6_gateway_address(int index, const char *gateway);
int connman_inet_clear_ipv6_gateway_address(int index, const char *gateway);
int connman_inet_set_ipv6_gateway_interface(int index);
int connman_inet_clear_ipv6_gateway_interface(int index);
@@ -80,8 +78,8 @@ int connman_inet_create_tunnel(char **iface);
int connman_inet_get_dest_addr(int index, char **dest);
int connman_inet_ipv6_get_dest_addr(int index, char **dest);
int connman_inet_check_ipaddress(const char *host);
-connman_bool_t connman_inet_check_hostname(const char *ptr, size_t len);
-connman_bool_t connman_inet_is_ipv6_supported();
+bool connman_inet_check_hostname(const char *ptr, size_t len);
+bool connman_inet_is_ipv6_supported();
#ifdef __cplusplus