pidgin/pidgin

Better fix for this

2016-12-12, Gary Kramlich
ee5f6e1f76bb
Better fix for this
/* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#ifndef PURPLE_RC4_CIPHER_H
#define PURPLE_RC4_CIPHER_H
/**
* SECTION:rc4cipher
* @section_id: libpurple-rc4cipher
* @short_description: <filename>ciphers/rc4cipher.h</filename>
* @title: RC4 Cipher
*/
#include "cipher.h"
#define PURPLE_TYPE_RC4_CIPHER (purple_rc4_cipher_get_type())
#define PURPLE_RC4_CIPHER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_RC4_CIPHER, PurpleRC4Cipher))
#define PURPLE_RC4_CIPHER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_RC4_CIPHER, PurpleRC4CipherClass))
#define PURPLE_IS_RC4_CIPHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_RC4_CIPHER))
#define PURPLE_IS_RC4_CIPHER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((obj), PURPLE_TYPE_RC4_CIPHER))
#define PURPLE_RC4_CIPHER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_RC4_CIPHER, PurpleRC4CipherClass))
typedef struct _PurpleRC4Cipher PurpleRC4Cipher;
typedef struct _PurpleRC4CipherClass PurpleRC4CipherClass;
struct _PurpleRC4Cipher {
PurpleCipher gparent;
};
struct _PurpleRC4CipherClass {
PurpleCipherClass gparent;
/*< private >*/
void (*_purple_reserved1)(void);
void (*_purple_reserved2)(void);
void (*_purple_reserved3)(void);
void (*_purple_reserved4)(void);
};
G_BEGIN_DECLS
GType purple_rc4_cipher_get_type(void);
PurpleCipher *purple_rc4_cipher_new(void);
gint purple_rc4_cipher_get_key_len(PurpleRC4Cipher *rc4_cipher);
void purple_rc4_cipher_set_key_len(PurpleRC4Cipher *rc4_cipher, gint key_len);
G_END_DECLS
#endif /* PURPLE_RC4_CIPHER_H */