Mercurial > pidgin
comparison libpurple/protocols/jabber/presence.h @ 27497:9a5a9a4e7626
Simplify the fake_to_self function.
The majority of the changes are indentation (since I don't expect
the jabber_buddy_find to fail, it's now a g_return_if_fail).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 07 Jun 2009 06:17:29 +0000 |
parents | bc7fac8e2f79 |
children | c585572e80dd |
comparison
equal
deleted
inserted
replaced
27496:e3c2c3e72d7a | 27497:9a5a9a4e7626 |
---|---|
40 xmlnode *jabber_presence_create(JabberBuddyState state, const char *msg, int priority); /* DEPRECATED */ | 40 xmlnode *jabber_presence_create(JabberBuddyState state, const char *msg, int priority); /* DEPRECATED */ |
41 xmlnode *jabber_presence_create_js(JabberStream *js, JabberBuddyState state, const char *msg, int priority); | 41 xmlnode *jabber_presence_create_js(JabberStream *js, JabberBuddyState state, const char *msg, int priority); |
42 void jabber_presence_parse(JabberStream *js, xmlnode *packet); | 42 void jabber_presence_parse(JabberStream *js, xmlnode *packet); |
43 void jabber_presence_subscription_set(JabberStream *js, const char *who, | 43 void jabber_presence_subscription_set(JabberStream *js, const char *who, |
44 const char *type); | 44 const char *type); |
45 void jabber_presence_fake_to_self(JabberStream *js, const PurpleStatus *status); | 45 void jabber_presence_fake_to_self(JabberStream *js, PurpleStatus *status); |
46 void purple_status_to_jabber(const PurpleStatus *status, JabberBuddyState *state, char **msg, int *priority); | 46 void purple_status_to_jabber(const PurpleStatus *status, JabberBuddyState *state, char **msg, int *priority); |
47 | 47 |
48 #endif /* PURPLE_JABBER_PRESENCE_H_ */ | 48 #endif /* PURPLE_JABBER_PRESENCE_H_ */ |