root/trunk/src/message.h

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

- dates in the copyright header updated

Line 
1 /* $Id: message.h,v 1.9 2004/03/16 19:30:25 mmazur 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 message_h
21 #define message_h
22
23 #include "jabber.h"
24 #include "sessions.h"
25
26 struct stream_s;
27
28 int message_send(struct stream_s *stream,const char *from,
29                 const char *to,int chat,const char *message, time_t timestamp);
30
31 int message_send_subject(struct stream_s *stream,const char *from,
32                 const char *to,const char *subject,const char *message, time_t timestamp);
33
34 int message_error(struct stream_s *stream,const char *from,
35                 const char *to,const char *body,int code, time_t timestamp);
36
37 int jabber_message(struct stream_s *stream,xmlnode tag);
38
39 struct request_s;
40
41 void get_roster_done(Session *s,struct gg_event *event);
42
43 #endif
Note: See TracBrowser for help on using the browser.