Debian Codegraph @

src/core/xep/xep.c

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 /*
2 * Copyright (C) 2007,2008,2009 Colin DIDIER
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 */
17
18 #include "module.h"
19
20 #include "chatstates.h"
21 #include "composing.h"
22 #include "delay.h"
23 #include "disco.h"
24 #include "muc.h"
25 #include "oob.h"
26 #include "ping.h"
27 #include "registration.h"
28 #include "vcard.h"
29 #include "version.h"
30
31 void
32 xep_init(void)
33 {
34 disco_init(); /* init sevice discovery first */
35 chatstates_init();
36 composing_init();
37 delay_init();
38 muc_init();
39 oob_init();
40 ping_init();
41 registration_init();
42 vcard_init();
43 version_init();
44 }
45
46 void
47 xep_deinit(void)
48 {
49 disco_deinit();
50 chatstates_deinit();
51 composing_deinit();
52 delay_deinit();
53 muc_deinit();
54 oob_deinit();
55 ping_deinit();
56 registration_deinit();
57 vcard_deinit();
58 version_deinit();
59 }