Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/jutil.h @ 29110:bc1eb4dacd00
jabber: When getting info on a "bare" domain JID, interpret the value of "last"
as the server's uptime. Don't show status (as offline).
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 01 Dec 2009 21:26:58 +0000 |
parents | 2e3678cd33a0 |
children | d558d141aaae |
comparison
equal
deleted
inserted
replaced
29109:6ebacc1710b2 | 29110:bc1eb4dacd00 |
---|---|
33 #include "jabber.h" | 33 #include "jabber.h" |
34 | 34 |
35 JabberID* jabber_id_new(const char *str); | 35 JabberID* jabber_id_new(const char *str); |
36 void jabber_id_free(JabberID *jid); | 36 void jabber_id_free(JabberID *jid); |
37 | 37 |
38 char *jabber_get_domain(const char *jid); | |
38 char *jabber_get_resource(const char *jid); | 39 char *jabber_get_resource(const char *jid); |
39 char *jabber_get_bare_jid(const char *jid); | 40 char *jabber_get_bare_jid(const char *jid); |
40 char *jabber_id_get_bare_jid(const JabberID *jid); | 41 char *jabber_id_get_bare_jid(const JabberID *jid); |
42 | |
43 gboolean jabber_jid_is_domain(const char *jid); | |
41 | 44 |
42 const char *jabber_normalize(const PurpleAccount *account, const char *in); | 45 const char *jabber_normalize(const PurpleAccount *account, const char *in); |
43 | 46 |
44 /* Returns true if JID is the bare JID of our server. */ | 47 /* Returns true if JID is the bare JID of our server. */ |
45 gboolean jabber_is_own_server(JabberStream *js, const char *jid); | 48 gboolean jabber_is_own_server(JabberStream *js, const char *jid); |