summaryrefslogtreecommitdiff
path: root/gcr/gcr-types.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-09-18 17:20:23 +0000
committerStef Walter <stef@memberwebs.com>2010-09-18 17:26:03 +0000
commit7017bb01721566ab524a9326eedd617bc93ffc9d (patch)
treeae9267534c88758f109a29078af038c56c8da061 /gcr/gcr-types.h
parent940843d773e60c6941b3ccef60ec9ee8263fae11 (diff)
downloadgcr-7017bb01721566ab524a9326eedd617bc93ffc9d.tar.gz
[gcr] Implement gcr_trust_xxx() functions.
For looking up certificate trust exceptions and trust roots. We do not do trust chains or verification. We provide access to trust storage.
Diffstat (limited to 'gcr/gcr-types.h')
-rw-r--r--gcr/gcr-types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcr/gcr-types.h b/gcr/gcr-types.h
index c593286..73aa059 100644
--- a/gcr/gcr-types.h
+++ b/gcr/gcr-types.h
@@ -20,6 +20,10 @@ enum {
GCR_ERROR_LOCKED = 3
};
+#define GCR_ERROR (gcr_error_get_domain ())
+
+GQuark gcr_error_get_domain (void) G_GNUC_CONST;
+
enum {
GCR_FORMAT_INVALID = 0,