| 1 | /* |
| 2 | * Copyright (C) 2007 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 | #include "modules.h" |
| 20 | |
| 21 | #include "xep/text-xep.h" |
| 22 | |
| 23 | void |
| 24 | text_xmpp_init(void) |
| 25 | { |
| 26 | text_xep_init(); |
| 27 | |
| 28 | module_register("xmpp", "text"); |
| 29 | } |
| 30 | |
| 31 | void |
| 32 | text_xmpp_deinit(void) |
| 33 | { |
| 34 | text_xep_deinit(); |
| 35 | } |
| 36 | |
| 37 | #ifdef IRSSI_ABI_VERSION |
| 38 | void |
| 39 | text_xmpp_abicheck(int * version) |
| 40 | { |
| 41 | *version = IRSSI_ABI_VERSION; |
| 42 | } |
| 43 | #endif |