--- a/libpurple/util.h Mon Feb 25 04:39:37 2008 +0000 +++ b/libpurple/util.h Wed Mar 05 17:18:09 2008 +0000 @@ -1086,6 +1086,15 @@ gboolean purple_email_is_valid(const char *address); /** + * Checks if the given IP address is a syntactically valid IPv4 address. + * + * @param address The IP address to validate. + * + * @return True if the IP address is syntactically correct. + */ +gboolean purple_ip_address_is_valid(const char *ip); + +/** * This function extracts a list of URIs from the a "text/uri-list" * string. It was "borrowed" from gnome_uri_list_extract_uris *