Mercurial > pidgin.yaz
changeset 18932:d0d88bd477c1
- Add CertificatePiece element
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Thu, 21 Jun 2007 22:53:39 +0000 |
parents | e634122cec47 |
children | 6ed0cfe57453 |
files | libpurple/certificate.h |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/certificate.h Thu Jun 21 20:56:54 2007 +0000 +++ b/libpurple/certificate.h Thu Jun 21 22:53:39 2007 +0000 @@ -46,6 +46,7 @@ typedef struct _PurpleCertificateScheme PurpleCertificateScheme; typedef struct _PurpleCertificateVerifier PurpleCertificateVerifier; typedef struct _PurpleCertificateVerificationRequest PurpleCertificateVerificationRequest; +typedef struct _PurpleCertificatePiece PurpleCertificatePiece; /** A certificate instance * @@ -148,6 +149,18 @@ gpointer *data; }; +/** + * Tuple of data for human-readable display of certificate properties + * + * You should not be using this for actual verification purposes + */ +struct _PurpleCertificatePiece +{ + gchar *name; /**< Internal name, i.e. "sha1sum" */ + gchar *value; /**< Value of this element + Must be human-readable */ +}; + /*****************************************************************************/ /** @name PurpleCertificate Subsystem API */ /*****************************************************************************/