From 26ace5c59f790bce0f1988b88874c6f2c480fd5a Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Thu, 3 May 2012 16:15:07 +0300 Subject: inet: Add function that checks if the hostname is valid --- include/inet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/inet.h') diff --git a/include/inet.h b/include/inet.h index 2048de1a..aa675737 100644 --- a/include/inet.h +++ b/include/inet.h @@ -80,6 +80,7 @@ int connman_inet_setup_tunnel(char *tunnel, int mtu); 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); +connman_bool_t connman_inet_check_hostname(const char *ptr, size_t len); #ifdef __cplusplus } -- cgit v1.2.3