comparison libpurple/protocols/jabber/usermood.h @ 19694:1d2002a5735e

propagate from branch 'im.pidgin.pidgin' (head 996cf0c57149ba6e1c714ebb1f11d5d4bac8fb68) to branch 'im.pidgin.soc.2007.xmpp' (head cdf63b6603891b8cd3e7f629ef5a9a927a153550)
author Andreas Monitzer <pidgin@monitzer.com>
date Wed, 05 Sep 2007 22:32:14 +0000
parents 2e41e74dabd0
children 5767b7698c73
comparison
equal deleted inserted replaced
19652:e21002d106ab 19694:1d2002a5735e
1 /*
2 * purple - Jabber Protocol Plugin
3 *
4 * Copyright (C) 2007, Andreas Monitzer <andy@monitzer.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
21
22 #ifndef _PURPLE_JABBER_USERMOOD_H_
23 #define _PURPLE_JABBER_USERMOOD_H_
24
25 #include "jabber.h"
26
27 /* Implementation of XEP-0107 */
28
29 void jabber_mood_init(void);
30
31 void jabber_mood_init_action(GList **m);
32
33 void jabber_mood_set(JabberStream *js,
34 const char *mood, /* must be one of the valid strings defined in the XEP */
35 const char *text /* might be NULL */);
36
37 #endif /* _PURPLE_JABBER_USERMOOD_H_ */