comparison libpurple/certificate.h @ 19649:450f4a3c4c0f

- Add purple_reserved fields to various structures.
author William Ehlhardt <williamehlhardt@gmail.com>
date Wed, 05 Sep 2007 01:12:44 +0000
parents e93db0c87b26
children aa3920f45ff3
comparison
equal deleted inserted replaced
19648:33ccac7fd32b 19649:450f4a3c4c0f
121 /** Delete a certificate from the pool */ 121 /** Delete a certificate from the pool */
122 gboolean (* delete_cert)(const gchar *id); 122 gboolean (* delete_cert)(const gchar *id);
123 123
124 /** Returns a list of IDs stored in the pool */ 124 /** Returns a list of IDs stored in the pool */
125 GList * (* get_idlist)(void); 125 GList * (* get_idlist)(void);
126
127 void (*_purple_reserved1)(void);
128 void (*_purple_reserved2)(void);
129 void (*_purple_reserved3)(void);
130 void (*_purple_reserved4)(void);
126 }; 131 };
127 132
128 /** A certificate type 133 /** A certificate type
129 * 134 *
130 * A CertificateScheme must implement all of the fields in the structure, 135 * A CertificateScheme must implement all of the fields in the structure,
239 gboolean (* check_subject_name)(PurpleCertificate *crt, const gchar *name); 244 gboolean (* check_subject_name)(PurpleCertificate *crt, const gchar *name);
240 245
241 /** Retrieve the certificate activation/expiration times */ 246 /** Retrieve the certificate activation/expiration times */
242 gboolean (* get_times)(PurpleCertificate *crt, time_t *activation, time_t *expiration); 247 gboolean (* get_times)(PurpleCertificate *crt, time_t *activation, time_t *expiration);
243 248
244 /* TODO: Fill out this structure */ 249 void (*_purple_reserved1)(void);
250 void (*_purple_reserved2)(void);
251 void (*_purple_reserved3)(void);
252 void (*_purple_reserved4)(void);
245 }; 253 };
246 254
247 /** A set of operations used to provide logic for verifying a Certificate's 255 /** A set of operations used to provide logic for verifying a Certificate's
248 * authenticity. 256 * authenticity.
249 * 257 *
284 * It should not call free(vrq) 292 * It should not call free(vrq)
285 * 293 *
286 * @param vrq Request to destroy 294 * @param vrq Request to destroy
287 */ 295 */
288 void (* destroy_request)(PurpleCertificateVerificationRequest *vrq); 296 void (* destroy_request)(PurpleCertificateVerificationRequest *vrq);
297
298 void (*_purple_reserved1)(void);
299 void (*_purple_reserved2)(void);
300 void (*_purple_reserved3)(void);
301 void (*_purple_reserved4)(void);
289 }; 302 };
290 303
291 /** Structure for a single certificate request 304 /** Structure for a single certificate request
292 * 305 *
293 * Useful for keeping track of the state of a verification that involves 306 * Useful for keeping track of the state of a verification that involves