diff options
author | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-07-17 10:37:39 +0800 |
---|---|---|
committer | Zhang zhengguang <zhengguang.zhang@intel.com> | 2014-07-17 10:37:39 +0800 |
commit | 1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7 (patch) | |
tree | 6e991827d28537f7f40f20786c2354fd04a9fdad /include/inet.h | |
parent | fbe905ab58ecc31fe64c410c5f580cadc30e7f04 (diff) | |
download | connman-1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7.tar.gz connman-1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7.tar.bz2 connman-1b9d0a62f59bb48c8deb2f0b98d9acdffdd9abe7.zip |
Imported Upstream version 1.24upstream/1.24
Diffstat (limited to 'include/inet.h')
-rw-r--r-- | include/inet.h | 12 |
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 } |