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