Mercurial > pidgin.yaz
comparison libpurple/certificate.h @ 18982:8948cd6bb8bc
- CertificatePool put_cert now accepts an id argument
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 05 Jul 2007 04:58:11 +0000 |
parents | 31bdbb82de7e |
children | bb4acabd8fac |
comparison
equal
deleted
inserted
replaced
18981:d68bf68ad499 | 18982:8948cd6bb8bc |
---|---|
112 PurpleCertificate * (* get_cert)(const gchar *id); | 112 PurpleCertificate * (* get_cert)(const gchar *id); |
113 /** Add a certificate to the pool. Must overwrite any other | 113 /** Add a certificate to the pool. Must overwrite any other |
114 * certificates sharing the same ID in the pool. | 114 * certificates sharing the same ID in the pool. |
115 * @return TRUE if the operation succeeded, otherwise FALSE | 115 * @return TRUE if the operation succeeded, otherwise FALSE |
116 */ | 116 */ |
117 gboolean (* put_cert)(PurpleCertificate *crt); | 117 gboolean (* put_cert)(const gchar *id, PurpleCertificate *crt); |
118 }; | 118 }; |
119 | 119 |
120 /** A certificate type | 120 /** A certificate type |
121 * | 121 * |
122 * A CertificateScheme must implement all of the fields in the structure, | 122 * A CertificateScheme must implement all of the fields in the structure, |