diff libpurple/util.h @ 32680:4c64383f05cc

purple_ip_address_is_valid() now checks for an IPv4 or IPv6 address.
author andrew.victor@mxit.com
date Sat, 24 Sep 2011 22:20:58 +0000
parents 904686722499
children 0f94ec89f0bc 5525312cf589
line wrap: on
line diff
--- a/libpurple/util.h	Sat Sep 24 22:09:40 2011 +0000
+++ b/libpurple/util.h	Sat Sep 24 22:20:58 2011 +0000
@@ -1238,14 +1238,15 @@
 gboolean purple_email_is_valid(const char *address);
 
 /**
- * Checks if the given IP address is a syntactically valid IPv4 address.
+ * Checks if the given IP address is a syntactically valid IPv4 or
+ * IPv6 address.
+ * If you specifically want to check for an IPv4 address use
+ * purple_ipv4_address_is_valid(), or for an IPv6 address use
+ * purple_ipv6_address_is_valid().
  *
  * @param ip The IP address to validate.
  *
  * @return True if the IP address is syntactically correct.
- * @deprecated This function will be replaced with one that validates
- *             as either IPv4 or IPv6 in 3.0.0. If you don't want this,
- *             behavior, use one of the more specific functions.
  */
 gboolean purple_ip_address_is_valid(const char *ip);