Mercurial > pidgin
diff libpurple/protocols/jabber/jutil.h @ 27464:da3d0159333d
XMPP domains can also be IPv4 or IPv6 addresses
We don't have an IPv6 validation function and I didn't feel
like writing one, so I left those checks commented out and
added a note to jabber_nameprep_validate (which is
increasingly misnamed).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 11 Jul 2009 01:57:14 +0000 |
parents | b0f0579f5f22 |
children | e90fa379fcec |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jutil.h Sat Jul 11 00:49:25 2009 +0000 +++ b/libpurple/protocols/jabber/jutil.h Sat Jul 11 01:57:14 2009 +0000 @@ -45,6 +45,7 @@ gboolean jabber_is_own_account(JabberStream *js, const char *jid); gboolean jabber_nodeprep_validate(const char *); +/* TODO: This needs to be named jabber_domain_validate and handle IPv6/IDNA. */ gboolean jabber_nameprep_validate(const char *); gboolean jabber_resourceprep_validate(const char *);