comparison libpurple/util.h @ 22337:dc47e908965f

Use connect server as FQDN for SASL auth except when it is an IP address. References #699.
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 26 Feb 2008 13:53:22 +0000
parents af0426c34c27
children fdda2b8a4146 eccdd341dc6e
comparison
equal deleted inserted replaced
22336:63f102c210ad 22337:dc47e908965f
1079 * @return True if the email address is syntactically correct. 1079 * @return True if the email address is syntactically correct.
1080 */ 1080 */
1081 gboolean purple_email_is_valid(const char *address); 1081 gboolean purple_email_is_valid(const char *address);
1082 1082
1083 /** 1083 /**
1084 * Checks if the given IP address is a syntactically valid IPv4 address.
1085 *
1086 * @param address The IP address to validate.
1087 *
1088 * @return True if the IP address is syntactically correct.
1089 */
1090 gboolean purple_ip_address_is_valid(const char *ip);
1091
1092 /**
1084 * This function extracts a list of URIs from the a "text/uri-list" 1093 * This function extracts a list of URIs from the a "text/uri-list"
1085 * string. It was "borrowed" from gnome_uri_list_extract_uris 1094 * string. It was "borrowed" from gnome_uri_list_extract_uris
1086 * 1095 *
1087 * @param uri_list An uri-list in the standard format. 1096 * @param uri_list An uri-list in the standard format.
1088 * 1097 *