diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-07 23:06:07 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-07 23:06:07 +0300 |
commit | 6145c27ad68f3f49bdc8e5c621ef7209edf81545 (patch) | |
tree | f721ccb1377209e0b4525521338ad3244380790b /src/gmcerts.h | |
parent | 320791c629e988f4634590aadf1bee5ee53d1785 (diff) |
LookupWidget: Finding identities
Diffstat (limited to 'src/gmcerts.h')
-rw-r--r-- | src/gmcerts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmcerts.h b/src/gmcerts.h index 92a12a6a..2ab4396e 100644 --- a/src/gmcerts.h +++ b/src/gmcerts.h | |||
@@ -57,6 +57,8 @@ const iString *name_GmIdentity(const iGmIdentity *); | |||
57 | iDeclareType(GmCerts) | 57 | iDeclareType(GmCerts) |
58 | iDeclareTypeConstructionArgs(GmCerts, const char *saveDir) | 58 | iDeclareTypeConstructionArgs(GmCerts, const char *saveDir) |
59 | 59 | ||
60 | typedef iBool (*iGmCertsIdentityFilterFunc)(void *context, const iGmIdentity *); | ||
61 | |||
60 | iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, const iTlsCertificate *cert); | 62 | iBool checkTrust_GmCerts (iGmCerts *, iRangecc domain, const iTlsCertificate *cert); |
61 | 63 | ||
62 | /** | 64 | /** |
@@ -83,6 +85,7 @@ iGmIdentity * identity_GmCerts (iGmCerts *, unsigned int id); | |||
83 | const iGmIdentity * constIdentity_GmCerts (const iGmCerts *, unsigned int id); | 85 | const iGmIdentity * constIdentity_GmCerts (const iGmCerts *, unsigned int id); |
84 | const iGmIdentity * identityForUrl_GmCerts (const iGmCerts *, const iString *url); | 86 | const iGmIdentity * identityForUrl_GmCerts (const iGmCerts *, const iString *url); |
85 | const iPtrArray * identities_GmCerts (const iGmCerts *); | 87 | const iPtrArray * identities_GmCerts (const iGmCerts *); |
88 | const iPtrArray * listIdentities_GmCerts (const iGmCerts *, iGmCertsIdentityFilterFunc filter, void *context); | ||
86 | 89 | ||
87 | void signIn_GmCerts (iGmCerts *, iGmIdentity *identity, const iString *url); | 90 | void signIn_GmCerts (iGmCerts *, iGmIdentity *identity, const iString *url); |
88 | void signOut_GmCerts (iGmCerts *, const iString *url); | 91 | void signOut_GmCerts (iGmCerts *, const iString *url); |