| 1 /* |
1 /* |
| 2 * MXit Protocol libPurple Plugin |
2 * purple |
| 3 * |
3 * |
| 4 * -- encryption -- |
4 * Purple is the legal property of its developers, whose names are too numerous |
| 5 * |
5 * to list here. Please refer to the COPYRIGHT file distributed with this |
| 6 * Pieter Loubser <libpurple@mxit.com> |
6 * source distribution. |
| 7 * |
|
| 8 * (C) Copyright 2009 MXit Lifestyle (Pty) Ltd. |
|
| 9 * <http://www.mxitlifestyle.com> |
|
| 10 * |
7 * |
| 11 * This program is free software; you can redistribute it and/or modify |
8 * This program is free software; you can redistribute it and/or modify |
| 12 * it under the terms of the GNU General Public License as published by |
9 * it under the terms of the GNU General Public License as published by |
| 13 * the Free Software Foundation; either version 2 of the License, or |
10 * the Free Software Foundation; either version 2 of the License, or |
| 14 * (at your option) any later version. |
11 * (at your option) any later version. |
| 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 * GNU General Public License for more details. |
16 * GNU General Public License for more details. |
| 20 * |
17 * |
| 21 * You should have received a copy of the GNU General Public License |
18 * You should have received a copy of the GNU General Public License |
| 22 * along with this program; if not, write to the Free Software |
19 * along with this program; if not, write to the Free Software |
| 23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 24 */ |
21 */ |
| 25 |
22 |
| 26 #ifndef _MXIT_CIPHER_H_ |
23 #ifndef _MXIT_CIPHER_H_ |
| 27 #define _MXIT_CIPHER_H_ |
24 #define _MXIT_CIPHER_H_ |
| 28 |
25 |
| 29 |
26 #include "mxit.h" |
| 30 struct MXitSession; |
|
| 31 |
|
| 32 |
27 |
| 33 gchar * |
28 gchar * |
| 34 mxit_encrypt_password(struct MXitSession* session); |
29 mxit_encrypt_password(struct MXitSession* session); |
| 35 |
30 |
| 36 char* mxit_decrypt_message( struct MXitSession* session, char* message ); |
31 #endif /* _MXIT_CIPHER_H_ */ |
| 37 char* mxit_encrypt_message( struct MXitSession* session, char* message ); |
|
| 38 |
|
| 39 #endif /* _MXIT_CIPHER_H_ */ |
|