annotate plugins/perl/common/Cipher.xs @ 13253:87a7c3077c19

[gaim-migrate @ 15619] More cleaning up of oscar. Renamed some functions to be more clear. Got rid of some stuff that wasn't used. Inlined some small things in conn.c that were only used once. The goals of all this are 1. Non-blocking I/O for all connections 2. p2p stuff won't use the same struct as oscar connections, because that's stupid 3. The oscar PRPL should be less scary committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Feb 2006 21:27:04 +0000
parents 6911a971c97f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
1 #include "module.h"
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
2
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
3 MODULE = Gaim::Cipher PACKAGE = Gaim::Cipher PREFIX = gaim_cipher_
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
4 PROTOTYPES: ENABLE
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
5
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
6 const gchar *
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
7 gaim_cipher_get_name(cipher)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
8 Gaim::Cipher cipher
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
9
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
10 guint
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
11 gaim_cipher_get_capabilities(cipher)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
12 Gaim::Cipher cipher
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
13
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
14 gboolean
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
15 gaim_cipher_digest_region(name, data, data_len, in_len, digest, out_len)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
16 const gchar * name
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
17 const guchar * data
11130
3f3bc7f1b6bf [gaim-migrate @ 13186]
John H. Kelm <johnkelm@gmail.com>
parents: 11118
diff changeset
18 size_t data_len
3f3bc7f1b6bf [gaim-migrate @ 13186]
John H. Kelm <johnkelm@gmail.com>
parents: 11118
diff changeset
19 size_t in_len
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
20 guchar &digest
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
21 size_t * out_len
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
22
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
23 MODULE = Gaim::Cipher PACKAGE = Gaim::Ciphers PREFIX = gaim_ciphers_
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
24 PROTOTYPES: ENABLE
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
25
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
26 Gaim::Cipher
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
27 gaim_ciphers_find_cipher(name)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
28 gchar * name
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
29
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
30 Gaim::Cipher
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
31 gaim_ciphers_register_cipher(name, ops)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
32 gchar * name
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
33 Gaim::Cipher::Ops ops
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
34
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
35 gboolean
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
36 gaim_ciphers_unregister_cipher(cipher)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
37 Gaim::Cipher cipher
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
38
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
39 void
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
40 gaim_ciphers_get_ciphers()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
41 PREINIT:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
42 GList *l;
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
43 PPCODE:
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
44 for (l = gaim_ciphers_get_ciphers(); l != NULL; l = l->next) {
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
45 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Cipher")));
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
46 }
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
47
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
48 gpointer
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
49 gaim_ciphers_get_handle()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
50
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
51 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
52 gaim_ciphers_init()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
53
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
54 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
55 gaim_ciphers_uninit()
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
56
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
57 MODULE = Gaim::Cipher PACKAGE = Gaim::Cipher::Context PREFIX = gaim_cipher_context_
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
58 PROTOTYPES: ENABLE
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
59
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
60 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
61 gaim_cipher_context_set_option(context, name, value)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
62 Gaim::Cipher::Context context
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
63 gchar *name
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
64 gpointer value
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
65
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
66 gpointer
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
67 gaim_cipher_context_get_option(context, name)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
68 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
69 gchar *name
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
70
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
71 Gaim::Cipher::Context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
72 gaim_cipher_context_new(cipher, extra)
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
73 Gaim::Cipher cipher
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
74 void *extra
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
75
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
76 Gaim::Cipher::Context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
77 gaim_cipher_context_new_by_name(name, extra)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
78 gchar *name
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
79 void *extra
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
80
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
81 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
82 gaim_cipher_context_reset(context, extra)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
83 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
84 gpointer extra
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
85
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
86 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
87 gaim_cipher_context_destroy(context)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
88 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
89
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
90 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
91 gaim_cipher_context_set_iv(context, iv, len)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
92 Gaim::Cipher::Context context
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
93 guchar * iv
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
94 size_t len
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
95
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
96 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
97 gaim_cipher_context_append(context, data, len)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
98 Gaim::Cipher::Context context
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
99 guchar * data
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
100 size_t len
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
101
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
102 gboolean
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
103 gaim_cipher_context_digest(context, in_len, digest, out_len)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
104 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
105 size_t in_len
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
106 guchar &digest
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
107 size_t &out_len
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
108
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
109 gboolean
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
110 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
111 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
112 size_t in_len
11202
ff4884029708 [gaim-migrate @ 13330]
Mark Doliner <mark@kingant.net>
parents: 11183
diff changeset
113 gchar &digest_s
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
114 size_t &out_len
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
115
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
116 gint
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
117 gaim_cipher_context_encrypt(context, data, len, output, outlen)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
118 Gaim::Cipher::Context context
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
119 guchar &data
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
120 size_t len
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
121 guchar &output
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
122 size_t &outlen
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
123
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
124 gint
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
125 gaim_cipher_context_decrypt(context, data, len, output, outlen)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
126 Gaim::Cipher::Context context
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
127 guchar &data
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
128 size_t len
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
129 guchar &output
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
130 size_t &outlen
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
131
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
132 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
133 gaim_cipher_context_set_salt(context, salt)
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
134 Gaim::Cipher::Context context
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
135 guchar *salt
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
136
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
137 size_t
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
138 gaim_cipher_context_get_salt_size(context)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
139 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
140
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
141 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
142 gaim_cipher_context_set_key(context, key)
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
143 Gaim::Cipher::Context context
11183
8dca96cbcd64 [gaim-migrate @ 13295]
Mark Doliner <mark@kingant.net>
parents: 11130
diff changeset
144 guchar *key
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
145
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
146 size_t
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
147 gaim_cipher_context_get_key_size(context)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
148 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
149
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
150 void
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
151 gaim_cipher_context_set_data(context, data)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
152 Gaim::Cipher::Context context
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
153 gpointer data
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
154
12777
6911a971c97f [gaim-migrate @ 15124]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11290
diff changeset
155 gpointer
11118
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
156 gaim_cipher_context_get_data(context)
134d0001983d [gaim-migrate @ 13174]
John H. Kelm <johnkelm@gmail.com>
parents:
diff changeset
157 Gaim::Cipher::Context context