diff 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
line wrap: on
line diff
--- a/libgaim/protocols/qq/crypt.h	Sun Aug 20 20:14:12 2006 +0000
+++ b/libgaim/protocols/qq/crypt.h	Sun Aug 20 21:37:45 2006 +0000
@@ -23,10 +23,14 @@
 #ifndef _QQ_CRYPT_H_
 #define _QQ_CRYPT_H_
 
+#include <glib.h>
+
 #define DECRYPT 0x00
 #define ENCRYPT 0x01
 
-int qq_crypt(unsigned char flag,
-	     unsigned char *instr, int instrlen, unsigned char *key, unsigned char *outstr, int *outstrlen_ptr);
+gint qq_crypt(gint flag,
+	     const guint8 *const instr, gint instrlen, 
+	     const guint8 *const key, 
+	     guint8 *outstr, gint *outstrlen_ptr);
 
 #endif