libpurple/ciphers/md4hash.h

changeset 38415
53dfd90c9b61
parent 38369
3200c5f09dbc
parent 38414
3892b306732f
child 38416
576284485927
equal deleted inserted replaced
38369:3200c5f09dbc 38415:53dfd90c9b61
1 /*
2 * purple
3 *
4 * Purple is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
23 #ifndef PURPLE_MD4_HASH_H
24 #define PURPLE_MD4_HASH_H
25 /**
26 * SECTION:md4hash
27 * @section_id: libpurple-md4hash
28 * @short_description: <filename>ciphers/md4hash.h</filename>
29 * @title: MD4 Hash
30 */
31
32 #include "cipher.h"
33
34 #define PURPLE_TYPE_MD4_HASH (purple_md4_hash_get_type())
35 #define PURPLE_MD4_HASH(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_MD4_HASH, PurpleMD4Hash))
36 #define PURPLE_MD4_HASH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_MD4_HASH, PurpleMD4HashClass))
37 #define PURPLE_IS_MD4_HASH(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_MD4_HASH))
38 #define PURPLE_IS_MD4_HASH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((obj), PURPLE_TYPE_MD4_HASH))
39 #define PURPLE_MD4_HASH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_MD4_HASH, PurpleMD4HashClass))
40
41 typedef struct _PurpleMD4Hash PurpleMD4Hash;
42 typedef struct _PurpleMD4HashClass PurpleMD4HashClass;
43
44 struct _PurpleMD4Hash {
45 PurpleHash parent;
46 };
47
48 struct _PurpleMD4HashClass {
49 PurpleHashClass parent;
50
51 /*< private >*/
52 void (*_purple_reserved1)(void);
53 void (*_purple_reserved2)(void);
54 void (*_purple_reserved3)(void);
55 void (*_purple_reserved4)(void);
56 };
57
58 G_BEGIN_DECLS
59
60 GType purple_md4_hash_get_type(void);
61
62 PurpleHash *purple_md4_hash_new(void);
63
64 G_END_DECLS
65
66 #endif /* PURPLE_MD4_HASH_H */

mercurial