Mercurial > pidgin
comparison src/protocols/msn/msnslp.c @ 6701:b7e113a59b51
[gaim-migrate @ 7227]
Updated to MSN Protocol 9.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 02 Sep 2003 04:32:16 +0000 |
parents | |
children | 8efafdc38718 |
comparison
equal
deleted
inserted
replaced
6700:57161e3abbb5 | 6701:b7e113a59b51 |
---|---|
1 /** | |
2 * @file msnslp.c MSNSLP support | |
3 * | |
4 * gaim | |
5 * | |
6 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> | |
7 * | |
8 * This program is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
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 | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 */ | |
22 #include "msnslp.h" | |
23 | |
24 MsnSlpSession * | |
25 msn_slp_session_new(MsnSwitchBoard *swboard, gboolean local_initiated) | |
26 { | |
27 MsnSlpSession *slpsession; | |
28 | |
29 g_return_val_if_fail(swboard != NULL, NULL); | |
30 | |
31 slpsession = g_new0(MsnSlpSession, 1); | |
32 | |
33 slpsession->swboard = swboard; | |
34 slpsession->local_initiated = local_initiated; | |
35 | |
36 return slpsession; | |
37 } | |
38 | |
39 void | |
40 msn_slp_session_destroy(MsnSlpSession *session) | |
41 { | |
42 g_return_if_fail(session != NULL); | |
43 | |
44 g_free(session); | |
45 } | |
46 | |
47 void | |
48 msn_slp_session_send_msg(MsnSlpSession *session, MsnMessage *msg) | |
49 { | |
50 g_return_if_fail(session != NULL); | |
51 g_return_if_fail(msg != NULL); | |
52 | |
53 } |