libpurple/protocols/jabber/buddy.h

branch
cpw.darkrain42.xmpp.iq-handlers
changeset 26703
17f9a4bef2a3
parent 25822
23f62dd4aed5
child 26707
a4f7c5d5e5ae
child 26725
fbfc67bd9fd6
child 26731
6bad36fa4d4d
child 26868
5c99daf94155
child 26941
f01a88534d49
equal deleted inserted replaced
26702:b3c0c14c4c5e 26703:17f9a4bef2a3
17 * 17 *
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */ 21 */
22 #ifndef _PURPLE_JABBER_BUDDY_H_ 22 #ifndef PURPLE_JABBER_BUDDY_H_
23 #define _PURPLE_JABBER_BUDDY_H_ 23 #define PURPLE_JABBER_BUDDY_H_
24 24
25 typedef enum { 25 typedef enum {
26 JABBER_BUDDY_STATE_UNKNOWN = -2, 26 JABBER_BUDDY_STATE_UNKNOWN = -2,
27 JABBER_BUDDY_STATE_ERROR = -1, 27 JABBER_BUDDY_STATE_ERROR = -1,
28 JABBER_BUDDY_STATE_UNAVAILABLE = 0, 28 JABBER_BUDDY_STATE_UNAVAILABLE = 0,
121 121
122 gboolean jabber_resource_has_capability(const JabberBuddyResource *jbr, 122 gboolean jabber_resource_has_capability(const JabberBuddyResource *jbr,
123 const gchar *cap); 123 const gchar *cap);
124 gboolean jabber_buddy_has_capability(const JabberBuddy *jb, const gchar *cap); 124 gboolean jabber_buddy_has_capability(const JabberBuddy *jb, const gchar *cap);
125 125
126 #endif /* _PURPLE_JABBER_BUDDY_H_ */ 126 #endif /* PURPLE_JABBER_BUDDY_H_ */

mercurial