root/trunk/src/presence.h

Revision 680, 1.6 kB (checked in by jajcus, 3 years ago)

- dates in the copyright header updated

Line 
1 /* $Id: presence.h,v 1.6 2003/04/13 14:36:47 jajcus Exp $ */
2
3 /*
4  *  (C) Copyright 2002-2006 Jacek Konieczny [jajcus(a)jajcus,net]
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 Version 2 as
8  *  published by the Free Software Foundation.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19
20 #ifndef presence_h
21 #define presence_h
22
23 #include "jabber.h"
24
25 struct stream_s;
26
27 int presence_send_error(struct stream_s *stream,const char *from,
28                 const char *to,int code,const char *descr);
29 int presence_send_subscribe(struct stream_s *stream,const char *from,
30                 const char *to);
31 int presence_send_unsubscribe(struct stream_s *stream,const char *from,
32                 const char *to);
33 int presence_send_subscribed(struct stream_s *stream,const char *from,
34                 const char *to);
35 int presence_send_unsubscribed(struct stream_s *stream,const char *from,
36                 const char *to);
37 int presence_send(struct stream_s *stream,const char *from,
38                 const char *to,int available,const char *show,
39                 const char *status,GTime timestamp);
40 int presence_send_probe(struct stream_s *stream, const char *from, const char *to);
41
42 int jabber_presence(struct stream_s *stream,xmlnode tag);
43
44
45 #endif
Note: See TracBrowser for help on using the browser.