comparison libgaim/protocols/qq/crypt.h @ 14236:b7f17fdded6f

[gaim-migrate @ 16918] Const-correctness to eliminate some warnings. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Sun, 20 Aug 2006 21:37:45 +0000
parents 60b1bc8dbf37
children c039c920e11c
comparison
equal deleted inserted replaced
14235:a54ff7cafc2a 14236:b7f17fdded6f
21 */ 21 */
22 22
23 #ifndef _QQ_CRYPT_H_ 23 #ifndef _QQ_CRYPT_H_
24 #define _QQ_CRYPT_H_ 24 #define _QQ_CRYPT_H_
25 25
26 #include <glib.h>
27
26 #define DECRYPT 0x00 28 #define DECRYPT 0x00
27 #define ENCRYPT 0x01 29 #define ENCRYPT 0x01
28 30
29 int qq_crypt(unsigned char flag, 31 gint qq_crypt(gint flag,
30 unsigned char *instr, int instrlen, unsigned char *key, unsigned char *outstr, int *outstrlen_ptr); 32 const guint8 *const instr, gint instrlen,
33 const guint8 *const key,
34 guint8 *outstr, gint *outstrlen_ptr);
31 35
32 #endif 36 #endif