Source reconstructed at patch state 1 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 "carbons.h" |
| 21 |
#include "chatstates.h" |
| 22 |
#include "composing.h" |
| 23 |
#include "delay.h" |
| 24 |
#include "disco.h" |
| 25 |
#include "muc.h" |
| 26 |
#include "oob.h" |
| 27 |
#include "ping.h" |
| 28 |
#include "registration.h" |
| 29 |
#include "vcard.h" |
| 30 |
#include "version.h" |
| 31 |
|
| 32 |
void |
| 33 |
xep_init(void) |
| 34 |
{ |
| 35 |
disco_init(); /* init sevice discovery first */ |
| 36 |
carbons_init(); |
| 37 |
chatstates_init(); |
| 38 |
composing_init(); |
| 39 |
delay_init(); |
| 40 |
muc_init(); |
| 41 |
oob_init(); |
| 42 |
ping_init(); |
| 43 |
registration_init(); |
| 44 |
vcard_init(); |
| 45 |
version_init(); |
| 46 |
} |
| 47 |
|
| 48 |
void |
| 49 |
xep_deinit(void) |
| 50 |
{ |
| 51 |
disco_deinit(); |
| 52 |
carbons_deinit(); |
| 53 |
chatstates_deinit(); |
| 54 |
composing_deinit(); |
| 55 |
delay_deinit(); |
| 56 |
muc_deinit(); |
| 57 |
oob_deinit(); |
| 58 |
ping_deinit(); |
| 59 |
registration_deinit(); |
| 60 |
vcard_deinit(); |
| 61 |
version_deinit(); |
| 62 |
} |