* 02111-1307, USA.
*/
-#if !defined (__GCR_H_INSIDE__) && !defined (GCR_COMPILATION)
-#error "Only <gcr/gcr.h> can be included directly."
+#if !defined (__GCR_INSIDE_HEADER__) && !defined (GCR_COMPILATION)
+#error "Only <gcr/gcr.h> or <gcr/gcr-base.h> can be included directly."
#endif
#ifndef __GCR_SIMPLE_CERTIFICATE_H__
#define __GCR_SIMPLE_CERTIFICATE_H__
-#include "gcr.h"
-
#include <glib-object.h>
+#include "gcr-certificate.h"
+
G_BEGIN_DECLS
#define GCR_TYPE_SIMPLE_CERTIFICATE (gcr_simple_certificate_get_type ())
struct _GcrSimpleCertificate {
GObject parent;
+
+ /*< private >*/
GcrSimpleCertificatePrivate *pv;
};
GType gcr_simple_certificate_get_type (void);
-GcrCertificate* gcr_simple_certificate_new (gconstpointer data,
+GcrCertificate * gcr_simple_certificate_new (const guchar *data,
gsize n_data);
-GcrCertificate* gcr_simple_certificate_new_static (gconstpointer data,
+GcrCertificate * gcr_simple_certificate_new_static (const guchar *data,
gsize n_data);
G_END_DECLS