Mercurial > pidgin.yaz
comparison src/cipher.h @ 13697:89ceef5203ac
[gaim-migrate @ 16100]
Minor constification
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 28 Apr 2006 03:39:14 +0000 |
parents | e024601d45c7 |
children |
comparison
equal
deleted
inserted
replaced
13696:0572a1513b25 | 13697:89ceef5203ac |
---|---|
96 | 96 |
97 /** The get salt size function */ | 97 /** The get salt size function */ |
98 size_t (*get_salt_size)(GaimCipherContext *context); | 98 size_t (*get_salt_size)(GaimCipherContext *context); |
99 | 99 |
100 /** The set key function */ | 100 /** The set key function */ |
101 void (*set_key)(GaimCipherContext *context, guchar *key); | 101 void (*set_key)(GaimCipherContext *context, const guchar *key); |
102 | 102 |
103 /** The get key size function */ | 103 /** The get key size function */ |
104 size_t (*get_key_size)(GaimCipherContext *context); | 104 size_t (*get_key_size)(GaimCipherContext *context); |
105 }; | 105 }; |
106 | 106 |
356 * Sets the key on a context | 356 * Sets the key on a context |
357 * | 357 * |
358 * @param context The context who's key to set | 358 * @param context The context who's key to set |
359 * @param key The key | 359 * @param key The key |
360 */ | 360 */ |
361 void gaim_cipher_context_set_key(GaimCipherContext *context, guchar *key); | 361 void gaim_cipher_context_set_key(GaimCipherContext *context, const guchar *key); |
362 | 362 |
363 /** | 363 /** |
364 * Gets the key size for a context | 364 * Gets the key size for a context |
365 * | 365 * |
366 * @param context The context who's key size to get | 366 * @param context The context who's key size to get |