X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodest-text-utils.h;h=5425d60fcf8fd3407027af33c7e4661bfa0e3c61;hb=addd1287234fa35a521c56e6d6472de35739b3a2;hp=401907f0f5eb1ffd211def2f44aaf7e63d586c5c;hpb=fdf3571635d4c34c057c7734785e8e6685036567;p=modest diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index 401907f..5425d60 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -268,6 +268,17 @@ gchar* modest_text_utils_get_display_date (time_t date); gchar * modest_text_utils_get_display_size (guint64 size); + +/** + * modest_text_utils_validate_domain_name: + * @email_address: a NULL-terminated string + * + * validates the domain name passed as argument + * + * Returns: TRUE if the domain name is valid, FALSE otherwise + **/ +gboolean modest_text_utils_validate_domain_name (const gchar *domain); + /** * modest_text_utils_validate_email_address: * @email_address: a string