summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-08-10 14:52:17 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-08-10 14:52:17 +0300
commitf17cca7b459d60665941c33832e85e60593baa30 (patch)
treed520fd84ba5b25f1a33a2910d030b4e4aa646816
parenta37ab120b5091404c7841c39dd8c35dccd42e957 (diff)
Cleanup
-rw-r--r--src/gmcerts.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gmcerts.h b/src/gmcerts.h
index 1a9480f7..02a41c14 100644
--- a/src/gmcerts.h
+++ b/src/gmcerts.h
@@ -60,9 +60,10 @@ iDeclareTypeConstructionArgs(GmCerts, const char *saveDir)
60 60
61typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *); 61typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *);
62 62
63iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, const iTlsCertificate *cert); 63iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, uint16_t port,
64void setTrusted_GmCerts (iGmCerts *, iRangecc domain, uint16_t port, const iBlock *fingerprint, 64 const iTlsCertificate *cert);
65 const iDate *validUntil); 65void setTrusted_GmCerts (iGmCerts *, iRangecc domain, uint16_t port,
66 const iBlock *fingerprint, const iDate *validUntil);
66iTime domainValidUntil_GmCerts(const iGmCerts *, iRangecc domain, uint16_t port); 67iTime domainValidUntil_GmCerts(const iGmCerts *, iRangecc domain, uint16_t port);
67 68
68/** 69/**
@@ -81,7 +82,8 @@ iGmIdentity * newIdentity_GmCerts (iGmCerts *, int flags, iDate validU
81 const iString *userId, const iString *domain, 82 const iString *userId, const iString *domain,
82 const iString *org, const iString *country); 83 const iString *org, const iString *country);
83 84
84void importIdentity_GmCerts (iGmCerts *, iTlsCertificate *cert, const iString *notes); /* takes ownership */ 85void importIdentity_GmCerts (iGmCerts *, iTlsCertificate *cert,
86 const iString *notes); /* takes ownership */
85void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity); 87void deleteIdentity_GmCerts (iGmCerts *, iGmIdentity *identity);
86void saveIdentities_GmCerts (const iGmCerts *); 88void saveIdentities_GmCerts (const iGmCerts *);
87 89