Mercurial > pidgin
comparison src/cipher.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | 8dca96cbcd64 |
children | cfc808463763 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
183 * Gets the list of ciphers | 183 * Gets the list of ciphers |
184 * | 184 * |
185 * @return The list of available ciphers | 185 * @return The list of available ciphers |
186 * @note This list should not be modified, it is owned by the cipher core | 186 * @note This list should not be modified, it is owned by the cipher core |
187 */ | 187 */ |
188 GList *gaim_ciphers_get_ciphers(); | 188 GList *gaim_ciphers_get_ciphers(void); |
189 | 189 |
190 /*@}*/ | 190 /*@}*/ |
191 /******************************************************************************/ | 191 /******************************************************************************/ |
192 /** @name GaimCipher Subsystem API */ | 192 /** @name GaimCipher Subsystem API */ |
193 /******************************************************************************/ | 193 /******************************************************************************/ |
196 /** | 196 /** |
197 * Gets the handle to the cipher subsystem | 197 * Gets the handle to the cipher subsystem |
198 * | 198 * |
199 * @return The handle to the cipher subsystem | 199 * @return The handle to the cipher subsystem |
200 */ | 200 */ |
201 gpointer gaim_ciphers_get_handle(); | 201 gpointer gaim_ciphers_get_handle(void); |
202 | 202 |
203 /** | 203 /** |
204 * Initializes the cipher core | 204 * Initializes the cipher core |
205 */ | 205 */ |
206 void gaim_ciphers_init(); | 206 void gaim_ciphers_init(void); |
207 | 207 |
208 /** | 208 /** |
209 * Uninitializes the cipher core | 209 * Uninitializes the cipher core |
210 */ | 210 */ |
211 void gaim_ciphers_uninit(); | 211 void gaim_ciphers_uninit(void); |
212 | 212 |
213 /*@}*/ | 213 /*@}*/ |
214 /******************************************************************************/ | 214 /******************************************************************************/ |
215 /** @name GaimCipherContext API */ | 215 /** @name GaimCipherContext API */ |
216 /******************************************************************************/ | 216 /******************************************************************************/ |