libpurple/util.h

branch
custom_smiley
changeset 22557
a009a7319294
parent 22443
7b8772af6bb7
parent 22468
c0f99a22627f
child 22895
0851d06eb652
--- 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
  *

mercurial