changeset 12777:6911a971c97f

[gaim-migrate @ 15124] Mostly whitespace but also some namespace/package changes to make function names/calling make more sense. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 09 Jan 2006 06:00:11 +0000
parents 54ba44abf356
children a36eec90c604
files plugins/perl/common/Cipher.xs
diffstat 1 files changed, 34 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/common/Cipher.xs	Mon Jan 09 05:48:50 2006 +0000
+++ b/plugins/perl/common/Cipher.xs	Mon Jan 09 06:00:11 2006 +0000
@@ -7,19 +7,22 @@
 gaim_cipher_get_name(cipher)
 	Gaim::Cipher cipher
 
-guint 
+guint
 gaim_cipher_get_capabilities(cipher)
 	Gaim::Cipher cipher
 
-gboolean 
+gboolean
 gaim_cipher_digest_region(name, data, data_len, in_len, digest, out_len)
 	const gchar * name
-	const guchar * data 
+	const guchar * data
 	size_t data_len
 	size_t in_len
-	guchar &digest 
+	guchar &digest
 	size_t * out_len
 
+MODULE = Gaim::Cipher  PACKAGE = Gaim::Ciphers  PREFIX = gaim_ciphers_
+PROTOTYPES: ENABLE
+
 Gaim::Cipher
 gaim_ciphers_find_cipher(name)
 	gchar * name
@@ -29,7 +32,7 @@
 	gchar * name
 	Gaim::Cipher::Ops ops
 
-gboolean 
+gboolean
 gaim_ciphers_unregister_cipher(cipher)
 	Gaim::Cipher cipher
 
@@ -42,29 +45,32 @@
 		XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Cipher")));
 	}
 
-gpointer 
+gpointer
 gaim_ciphers_get_handle()
 
-void 
+void
 gaim_ciphers_init()
 
-void 
+void
 gaim_ciphers_uninit()
 
-void 
+MODULE = Gaim::Cipher  PACKAGE = Gaim::Cipher::Context  PREFIX = gaim_cipher_context_
+PROTOTYPES: ENABLE
+
+void
 gaim_cipher_context_set_option(context, name, value)
 	Gaim::Cipher::Context context
-	gchar *name 
+	gchar *name
 	gpointer value
 
-gpointer 
+gpointer
 gaim_cipher_context_get_option(context, name)
 	Gaim::Cipher::Context context
 	gchar *name
 
 Gaim::Cipher::Context
 gaim_cipher_context_new(cipher, extra)
-	Gaim::Cipher cipher 
+	Gaim::Cipher cipher
 	void *extra
 
 Gaim::Cipher::Context
@@ -72,42 +78,42 @@
 	gchar *name
 	void *extra
 
-void 
+void
 gaim_cipher_context_reset(context, extra)
 	Gaim::Cipher::Context context
 	gpointer extra
 
-void 
+void
 gaim_cipher_context_destroy(context)
 	Gaim::Cipher::Context context
 
-void 
+void
 gaim_cipher_context_set_iv(context, iv, len)
 	Gaim::Cipher::Context context
 	guchar * iv
 	size_t len
 
-void 
+void
 gaim_cipher_context_append(context, data, len)
 	Gaim::Cipher::Context context
 	guchar * data
 	size_t len
 
-gboolean 
+gboolean
 gaim_cipher_context_digest(context, in_len, digest, out_len)
 	Gaim::Cipher::Context context
 	size_t in_len
 	guchar &digest
 	size_t &out_len
 
-gboolean 
+gboolean
 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len)
 	Gaim::Cipher::Context context
 	size_t in_len
 	gchar &digest_s
 	size_t &out_len
 
-gint 
+gint
 gaim_cipher_context_encrypt(context, data, len, output, outlen)
 	Gaim::Cipher::Context context
 	guchar &data
@@ -115,7 +121,7 @@
 	guchar &output
 	size_t &outlen
 
-gint 
+gint
 gaim_cipher_context_decrypt(context, data, len, output, outlen)
 	Gaim::Cipher::Context context
 	guchar &data
@@ -123,30 +129,29 @@
 	guchar &output
 	size_t &outlen
 
-void 
+void
 gaim_cipher_context_set_salt(context, salt)
-	Gaim::Cipher::Context context 
+	Gaim::Cipher::Context context
 	guchar *salt
 
-size_t 
+size_t
 gaim_cipher_context_get_salt_size(context)
 	Gaim::Cipher::Context context
 
-void 
+void
 gaim_cipher_context_set_key(context, key)
-	Gaim::Cipher::Context context 
+	Gaim::Cipher::Context context
 	guchar *key
 
-size_t 
+size_t
 gaim_cipher_context_get_key_size(context)
 	Gaim::Cipher::Context context
 
-void 
+void
 gaim_cipher_context_set_data(context, data)
 	Gaim::Cipher::Context context
 	gpointer data
 
-gpointer 
+gpointer
 gaim_cipher_context_get_data(context)
 	Gaim::Cipher::Context context
-