summaryrefslogtreecommitdiff
path: root/libpurple/certificate.h
diff options
context:
space:
mode:
authorWilliam Ehlhardt <williamehlhardt@gmail.com>2007-08-10 04:59:52 +0000
committerWilliam Ehlhardt <williamehlhardt@gmail.com>2007-08-10 04:59:52 +0000
commitb339da719f28ec4f694a23ec144fdade8b50a2b1 (patch)
tree9541642bc645c20da74637729850abcc0bc95b93 /libpurple/certificate.h
parentfbaeab7d46e5b969e9170615fd67784670bc4fab (diff)
downloadpidgin-b339da719f28ec4f694a23ec144fdade8b50a2b1.tar.gz
- Add verify_complete, which should deprecate verify_destroy
Diffstat (limited to 'libpurple/certificate.h')
-rw-r--r--libpurple/certificate.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpurple/certificate.h b/libpurple/certificate.h
index db91b8a15f..1ced8e80f8 100644
--- a/libpurple/certificate.h
+++ b/libpurple/certificate.h
@@ -369,6 +369,17 @@ purple_certificate_verify (PurpleCertificateVerifier *verifier,
void
purple_certificate_verify_destroy (PurpleCertificateVerificationRequest *vrq);
+/**
+ * Completes and destroys a VerificationRequest
+ *
+ * @param vrq Request to conclude
+ * @param st Success/failure code to pass to the request's
+ * completion callback.
+ */
+void
+purple_certificate_verify_complete(PurpleCertificateVerificationRequest *vrq,
+ PurpleCertificateVerificationStatus st);
+
/*@}*/
/*****************************************************************************/