summaryrefslogtreecommitdiff
path: root/gcr/gcr-certificate.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2010-12-06 21:45:04 +0000
committerStef Walter <stefw@collabora.co.uk>2010-12-06 21:45:04 +0000
commitd3b11cbaf14481432ef807c6de9587e1e7eb6d19 (patch)
treef97cd15fd22d0a6d40fa58cf49f0758a18578e82 /gcr/gcr-certificate.h
parent463fa78333200c369b05956040407f17665b76ad (diff)
downloadgcr-d3b11cbaf14481432ef807c6de9587e1e7eb6d19.tar.gz
[gcr] Use void pointers instead of unsigned char for data.
Use void pointers to make like simpler and clearer.
Diffstat (limited to 'gcr/gcr-certificate.h')
-rw-r--r--gcr/gcr-certificate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcr/gcr-certificate.h b/gcr/gcr-certificate.h
index cf3ac86..afb3ff0 100644
--- a/gcr/gcr-certificate.h
+++ b/gcr/gcr-certificate.h
@@ -39,7 +39,7 @@ typedef struct _GcrCertificateIface GcrCertificateIface;
struct _GcrCertificateIface {
GTypeInterface parent;
- const guchar* (*get_der_data) (GcrCertificate *self, gsize *n_data);
+ gconstpointer (*get_der_data) (GcrCertificate *self, gsize *n_data);
gpointer dummy1;
gpointer dummy2;
@@ -52,7 +52,7 @@ struct _GcrCertificateIface {
GType gcr_certificate_get_type (void);
-const guchar* gcr_certificate_get_der_data (GcrCertificate *self,
+gconstpointer gcr_certificate_get_der_data (GcrCertificate *self,
gsize *n_data);
gchar* gcr_certificate_get_issuer_cn (GcrCertificate *self);