Thu, 21 Jun 2007 22:53:39 +0000
- Add CertificatePiece element
| libpurple/certificate.h | file | annotate | diff | comparison | revisions |
--- 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 */ /*****************************************************************************/