libpurple/protocols/jabber/jutil.h

changeset 27163
398d47149e2f
parent 26703
17f9a4bef2a3
child 27480
7efe4b1ff6a0
--- a/libpurple/protocols/jabber/jutil.h	Sat May 23 07:08:00 2009 +0000
+++ b/libpurple/protocols/jabber/jutil.h	Sat May 23 17:42:34 2009 +0000
@@ -36,6 +36,12 @@
 
 const char *jabber_normalize(const PurpleAccount *account, const char *in);
 
+/* Returns true if JID is the bare JID of our server. */
+gboolean jabber_is_own_server(JabberStream *js, const char *jid);
+
+/* Returns true if JID is the bare JID of our account. */
+gboolean jabber_is_own_account(JabberStream *js, const char *jid);
+
 gboolean jabber_nodeprep_validate(const char *);
 gboolean jabber_nameprep_validate(const char *);
 gboolean jabber_resourceprep_validate(const char *);

mercurial