-
if WITH_TESTS
TESTS_DIR = tests
TESTABLE_LIB = libgcr-testable.la
# ------------------------------------------------------------------
# HEADERS
-HEADER_FILES = \
- gcr.h \
+HEADER_BASE_FILES = \
+ gcr-base.h \
gcr-certificate.h \
- gcr-certificate-basics-widget.h \
gcr-certificate-chain.h \
+ gcr-collection.h \
+ gcr-comparable.h \
+ gcr-deprecated-base.h \
+ gcr-library.h \
+ gcr-parser.h \
+ gcr-pkcs11-certificate.h \
+ gcr-simple-certificate.h \
+ gcr-trust.h \
+ gcr-types.h \
+ gcr-union-collection.h \
+ gcr-unlock-options.h
+
+HEADER_UI_FILES = \
+ gcr.h \
+ gcr-certificate-basics-widget.h \
gcr-certificate-details-widget.h \
gcr-certificate-renderer.h \
gcr-certificate-widget.h \
- gcr-collection.h \
gcr-collection-model.h \
gcr-column.h \
gcr-combo-selector.h \
- gcr-comparable.h \
gcr-deprecated.h \
gcr-key-renderer.h \
gcr-key-widget.h \
gcr-importer.h \
- gcr-library.h \
gcr-list-selector.h \
- gcr-parser.h \
- gcr-pkcs11-certificate.h \
gcr-renderer.h \
- gcr-simple-certificate.h \
gcr-simple-collection.h \
gcr-tree-selector.h \
- gcr-trust.h \
- gcr-types.h \
- gcr-union-collection.h \
- gcr-unlock-options.h \
gcr-unlock-options-widget.h \
gcr-viewer.h \
gcr-viewer-window.h
incdir = $(includedir)/gcr-@GCR_MAJOR@/gcr
inc_HEADERS = \
- $(HEADER_FILES) \
+ $(HEADER_BASE_FILES) \
+ $(HEADER_UI_FILES) \
+ gcr-enum-types-base.h \
gcr-enum-types.h
# ------------------------------------------------------------------
INCLUDES = \
-I$(top_builddir) \
-I$(top_srcdir) \
- $(GTK_CFLAGS) \
$(GOBJECT_CFLAGS) \
$(GLIB_CFLAGS) \
$(LIBGCRYPT_CFLAGS) \
- $(LIBTASN1_CFLAGS) \
$(P11_KIT_CFLAGS) \
-DG_LOG_DOMAIN=\"Gcr\"
-BUILT_SOURCES = \
+lib_LTLIBRARIES = \
+ libgcr-base-@GCR_MAJOR@.la \
+ libgcr-@GCR_MAJOR@.la
+
+BUILT_BASE_FILES = \
+ gcr-marshal.c gcr-marshal.h \
+ gcr-enum-types-base.c gcr-enum-types-base.h \
+ gcr-oids.c gcr-oids.h
+
+BUILT_UI_FILES = \
gcr-marshal.c gcr-marshal.h \
gcr-enum-types.c gcr-enum-types.h \
gcr-oids.c gcr-oids.h
-lib_LTLIBRARIES = libgcr-@GCR_MAJOR@.la
+BUILT_SOURCES = \
+ $(BUILT_BASE_FILES) \
+ $(BUILT_UI_FILES)
-libgcr_@GCR_MAJOR@_la_SOURCES = \
+libgcr_base_@GCR_MAJOR@_la_SOURCES = \
gcr-certificate.c gcr-certificate.h \
- gcr-certificate-basics-widget.h gcr-certificate-basics-widget.c \
gcr-certificate-chain.c gcr-certificate-chain.h \
- gcr-certificate-details-widget.h gcr-certificate-details-widget.c \
- gcr-certificate-renderer.c gcr-certificate-renderer.h \
+ gcr-collection.c gcr-collection.h \
+ gcr-comparable.c gcr-comparable.h \
+ gcr-debug.c gcr-debug.h \
+ gcr-gnupg-collection.c gcr-gnupg-collection.h \
+ gcr-gnupg-key.c gcr-gnupg-key.h \
+ gcr-gnupg-process.c gcr-gnupg-process.h \
+ gcr-gnupg-util.c gcr-gnupg-util.h \
+ gcr-library.c gcr-library.h \
+ gcr-internal.h \
+ gcr-memory.c \
+ gcr-memory-icon.c gcr-memory-icon.h \
+ gcr-parser.c gcr-parser.h \
+ gcr-pkcs11-certificate.c gcr-pkcs11-certificate.h \
+ gcr-record.c gcr-record.h \
+ gcr-simple-certificate.c gcr-simple-certificate.h \
+ gcr-simple-collection.c gcr-simple-collection.h \
+ gcr-trust.c gcr-trust.h \
+ gcr-types.h \
+ gcr-union-collection.c gcr-union-collection.h \
+ gcr-util.c gcr-util.h \
+ $(BUILT_BASE_FILES)
+
+libgcr_@GCR_MAJOR@_la_SOURCES = \
+ gcr-certificate-basics-widget.c gcr-certificate-basics-widget.h \
+ gcr-certificate-details-widget.c gcr-certificate-details-widget.h \
gcr-certificate-exporter.c gcr-certificate-exporter.h \
gcr-certificate-extensions.c gcr-certificate-extensions.h \
+ gcr-certificate-renderer.c gcr-certificate-renderer.h \
gcr-certificate-widget.c gcr-certificate-widget.h \
- gcr-collection.c gcr-collection.h \
gcr-collection-model.c gcr-collection-model.h \
gcr-combo-selector.c gcr-combo-selector.h \
- gcr-comparable.c gcr-comparable.h \
- gcr-debug.c gcr-debug.h \
gcr-display-scrolled.c gcr-display-scrolled.h \
gcr-display-view.c gcr-display-view.h \
- gcr-gnupg-collection.c gcr-gnupg-collection.h \
- gcr-gnupg-key.c gcr-gnupg-key.h \
gcr-failure-renderer.c gcr-failure-renderer.h \
gcr-fingerprint.c gcr-fingerprint.h \
- gcr-gnupg-process.c gcr-gnupg-process.h \
- gcr-gnupg-util.c gcr-gnupg-util.h \
gcr-icons.c gcr-icons.h \
gcr-import-dialog.c gcr-import-dialog.h \
gcr-importer.c gcr-importer.h \
- gcr-internal.h \
gcr-key-renderer.c gcr-key-renderer.h \
gcr-key-widget.c gcr-key-widget.h \
- gcr-library.c gcr-library.h \
gcr-list-selector.c gcr-list-selector.h gcr-list-selector-private.h \
gcr-live-search.c gcr-live-search.h \
- gcr-memory-icon.c gcr-memory-icon.h \
- gcr-parser.c gcr-parser.h \
- gcr-pkcs11-certificate.c gcr-pkcs11-certificate.h \
- gcr-record.c gcr-record.h \
+ gcr-memory.c \
gcr-renderer.c gcr-renderer.h \
- gcr-simple-certificate.c gcr-simple-certificate.h \
- gcr-simple-collection.c gcr-simple-collection.h \
gcr-tree-selector.c gcr-tree-selector.h \
- gcr-trust.c gcr-trust.h \
- gcr-types.h \
- gcr-union-collection.c \
gcr-unlock-options.h \
gcr-unlock-options-widget.c gcr-unlock-options-widget.h \
gcr-unlock-renderer.c gcr-unlock-renderer.h \
- gcr-util.c gcr-util.h \
gcr-viewer.c gcr-viewer.h \
gcr-viewer-window.c \
- $(BUILT_SOURCES)
+ $(BUILT_UI_FILES)
-libgcr_@GCR_MAJOR@_la_CFLAGS = \
+libgcr_base_@GCR_MAJOR@_la_CFLAGS = \
-DGCK_API_SUBJECT_TO_CHANGE \
-DGCR_API_SUBJECT_TO_CHANGE \
-DP11_KIT_API_SUBJECT_TO_CHANGE \
- -DGCR_COMPILATION \
- -DUIDIR=\""$(uidir)"\"
+ -DGCR_COMPILATION
-libgcr_@GCR_MAJOR@_la_LDFLAGS = \
+libgcr_@GCR_MAJOR@_la_CFLAGS = \
+ $(GTK_CFLAGS) \
+ -DUIDIR=\""$(uidir)"\" \
+ $(libgcr_base_@GCR_MAJOR@_la_CFLAGS)
+
+libgcr_base_@GCR_MAJOR@_la_LDFLAGS = \
-version-info $(GCR_LT_RELEASE) \
-no-undefined \
-export-symbols-regex '^gcr_*'
-libgcr_@GCR_MAJOR@_la_LIBADD = \
+libgcr_@GCR_MAJOR@_la_LDFLAGS = \
+ $(libgcr_base_@GCR_MAJOR@_la_LDFLAGS)
+
+libgcr_base_@GCR_MAJOR@_la_LIBADD = \
$(top_builddir)/egg/libegg.la \
$(top_builddir)/egg/libegg-entry-buffer.la \
$(top_builddir)/gck/libgck-@GCK_MAJOR@.la \
$(GOBJECT_LIBS) \
$(GLIB_LIBS) \
$(LIBGCRYPT_LIBS) \
- $(GTK_LIBS) \
$(P11_KIT_LIBS)
+libgcr_@GCR_MAJOR@_la_LIBADD = \
+ $(GTK_LIBS) \
+ $(libgcr_base_@GCR_MAJOR@_la_LIBADD) \
+ $(builddir)/libgcr-base-$(GCR_MAJOR).la
+
noinst_LTLIBRARIES = $(TESTABLE_LIB)
libgcr_testable_la_SOURCES =
-libgcr_testable_la_LIBADD = $(libgcr_@GCR_MAJOR@_la_OBJECTS) \
+libgcr_testable_la_LIBADD = \
+ $(libgcr_base_@GCR_MAJOR@_la_OBJECTS) \
+ $(libgcr_@GCR_MAJOR@_la_OBJECTS) \
$(libgcr_@GCR_MAJOR@_la_LIBADD)
-libgcr_testable_la_DEPENDENCIES = $(libgcr_@GCR_MAJOR@_la_OBJECTS)
+libgcr_testable_la_DEPENDENCIES = \
+ $(libgcr_base_@GCR_MAJOR@_la_OBJECTS) \
+ $(libgcr_@GCR_MAJOR@_la_OBJECTS)
gcr-marshal.h: gcr-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=_gcr_marshal > $@
$(AM_V_GEN) ( echo "#include \"gcr-marshal.h\"" > $@ && \
$(GLIB_GENMARSHAL) $< --body --prefix=_gcr_marshal >> $@ )
-gcr-enum-types.h: $(HEADER_FILES) gcr-enum-types.h.template
+gcr-enum-types.h: $(HEADER_UI_FILES) gcr-enum-types.h.template
+ $(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gcr-enum-types.h.template \
+ $(HEADER_UI_FILES) > $@
+
+gcr-enum-types.c: $(HEADER_UI_FILES) gcr-enum-types.c.template
+ $(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gcr-enum-types.c.template \
+ $(HEADER_UI_FILES) > $@
+
+gcr-enum-types-base.h: $(HEADER_BASE_FILES) gcr-enum-types.h.template
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gcr-enum-types.h.template \
- $(HEADER_FILES) > $@
+ $(HEADER_BASE_FILES) > $@
-gcr-enum-types.c: $(HEADER_FILES) gcr-enum-types.c.template
+gcr-enum-types-base.c: $(HEADER_BASE_FILES) gcr-enum-types.c.template
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/gcr-enum-types.c.template \
- $(HEADER_FILES) > $@
+ $(HEADER_BASE_FILES) > $@
gcr-oids.c: gcr-oids.list gcr-mkoids
$(AM_V_GEN) sh gcr-mkoids -p GCR -c gcr-oids.c -h gcr-oids.h gcr-oids.list
gcr-oids.h: gcr-oids.c
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gcr-$(GCR_MAJOR).pc
+pkgconfig_DATA = gcr-$(GCR_MAJOR).pc gcr-base-$(GCR_MAJOR).pc
gcr-$(GCR_MAJOR).pc: gcr.pc
cp gcr.pc gcr-$(GCR_MAJOR).pc
+gcr-base-$(GCR_MAJOR).pc: gcr-base.pc
+ cp gcr-base.pc gcr-base-$(GCR_MAJOR).pc
# ----------------------------------------------------------------
# SYSTEM INTEGRATION
# ----------------------------------------------------------------
+gcr-expected-base.abi: gcr-base.symbols
+ $(AM_V_GEN) cpp -P $< | sort > $@
gcr-expected.abi: gcr.symbols
$(AM_V_GEN) cpp -P $< | sort > $@
+gcr-actual-base.abi: $(builddir)/.libs/libgcr-base-@GCR_MAJOR@.so
+ $(AM_V_GEN) $(NM) -D -g --defined-only $< | \
+ cut -d ' ' -f 3 | grep -Ev '^(__bss_start|_edata|_end)' | sort > $@
gcr-actual.abi: $(builddir)/.libs/libgcr-@GCR_MAJOR@.so
$(AM_V_GEN) $(NM) -D -g --defined-only $< | \
cut -d ' ' -f 3 | grep -Ev '^(__bss_start|_edata|_end)' | sort > $@
-check-symbols: gcr-expected.abi gcr-actual.abi
+check-symbols: gcr-expected.abi gcr-actual.abi gcr-expected-base.abi gcr-actual-base.abi
+ $(AM_V_GEN) diff -U0 --ignore-blank-lines gcr-expected-base.abi gcr-actual-base.abi || \
+ (echo "check-symbols: Symbols have CHANGED. Fix gcr-base.symbols"; exit 1)
$(AM_V_GEN) diff -U0 --ignore-blank-lines gcr-expected.abi gcr-actual.abi || \
(echo "check-symbols: Symbols have CHANGED. Fix gcr.symbols"; exit 1)
EXTRA_DIST = \
gcr.pc.in \
+ gcr-base.pc.in \
gcr-marshal.list \
gcr-oids.list \
gcr-mkoids \
gcr-enum-types.h.template \
gcr-enum-types.c.template \
gcr.symbols \
+ gcr-base.symbols \
$(desktop_in_in_files) \
$(desktop_in_files) \
$(desktop_DATA) \
$(BUILT_SOURCES) \
$(pkgconfig_DATA) \
gcr-actual.abi \
- gcr-expected.abi
+ gcr-actual-base.abi \
+ gcr-expected.abi \
+ gcr-expected-base.abi
DISTCLEANFILES = \
$(desktop_in_files) \
$(desktop_DATA) \
$(pkgconfig_DATA)
-
-symbols: libgcr-$(VERSION).symbols
-
-libgcr-$(VERSION).symbols: .libs/libgcr-@GCR_MAJOR@.so
- nm -D .libs/libgcr-@GCR_MAJOR@.so | grep -F ' T ' | \
- cut -d ' ' -f 3 | sort > $@
--- /dev/null
+/*
+ * gnome-keyring
+ *
+ * Copyright (C) 2010 Collabora Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * Author: Stef Walter <stefw@collabora.co.uk>
+ */
+
+#ifndef GCR_API_SUBJECT_TO_CHANGE
+#error "This API has not yet reached stability."
+#endif
+
+#ifndef __GCR_BASE_H__
+#define __GCR_BASE_H__
+
+#include <glib.h>
+
+#define __GCR_INSIDE_HEADER__
+
+#include "gcr-types.h"
+
+#include "gcr-certificate.h"
+#include "gcr-certificate-chain.h"
+#include "gcr-deprecated-base.h"
+#include "gcr-enum-types-base.h"
+#include "gcr-library.h"
+#include "gcr-parser.h"
+#include "gcr-pkcs11-certificate.h"
+#include "gcr-simple-certificate.h"
+#include "gcr-trust.h"
+#include "gcr-union-collection.h"
+#include "gcr-unlock-options.h"
+
+#undef __GCR_INSIDE_HEADER__
+
+#endif /* __GCR_BASE_H__ */
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+datarootdir=@datarootdir@
+datadir=@datadir@
+sysconfdir=@sysconfdir@
+pkcs11dir=@P11_MODULE_PATH@
+pkcs11standalonedir=@pkcs11standalonedir@
+
+Name: gcr-base-@GCR_MAJOR@
+Description: GObject library for high level crypto parsing
+Version: @VERSION@
+Requires: glib-2.0 gck-@GCK_MAJOR@ p11-kit-1
+Libs: -L${libdir} -lgcr-base-@GCR_MAJOR@
+Cflags: -I${includedir}/gcr-@GCR_MAJOR@
--- /dev/null
+/* This file lists all exported symbols. It is used to guarantee that we
+ * only consciously change our ABI.
+ */
+
+gcr_certificate_compare
+gcr_certificate_chain_add
+gcr_certificate_chain_build
+gcr_certificate_chain_build_async
+gcr_certificate_chain_build_finish
+gcr_certificate_chain_flags_get_type
+gcr_certificate_chain_get_anchor
+gcr_certificate_chain_get_certificate
+gcr_certificate_chain_get_endpoint
+gcr_certificate_chain_get_length
+gcr_certificate_chain_get_status
+gcr_certificate_chain_get_type
+gcr_certificate_chain_new
+gcr_certificate_chain_status_get_type
+gcr_certificate_get_columns
+gcr_certificate_get_der_data
+gcr_certificate_get_expiry_date
+gcr_certificate_get_fingerprint
+gcr_certificate_get_fingerprint_hex
+gcr_certificate_get_icon
+gcr_certificate_get_issued_date
+gcr_certificate_get_issuer_cn
+gcr_certificate_get_issuer_dn
+gcr_certificate_get_issuer_part
+gcr_certificate_get_issuer_raw
+gcr_certificate_get_key_size
+gcr_certificate_get_serial_number
+gcr_certificate_get_serial_number_hex
+gcr_certificate_get_subject_cn
+gcr_certificate_get_subject_dn
+gcr_certificate_get_subject_part
+gcr_certificate_get_subject_raw
+gcr_certificate_get_type
+gcr_certificate_mixin_class_init
+gcr_certificate_mixin_comparable_init
+gcr_certificate_mixin_get_property
+gcr_certificate_is_issuer
+gcr_collection_contains
+gcr_collection_emit_added
+gcr_collection_emit_removed
+gcr_collection_get_length
+gcr_collection_get_objects
+gcr_collection_get_type
+gcr_comparable_compare
+gcr_comparable_get_type
+gcr_comparable_memcmp
+gcr_data_error_get_domain
+gcr_data_error_get_type
+gcr_data_format_get_type
+gcr_error_get_domain
+gcr_parser_add_password
+gcr_parser_format_disable
+gcr_parser_format_enable
+gcr_parser_format_supported
+gcr_parser_get_parsed_attributes
+gcr_parser_get_parsed_block
+gcr_parser_get_parsed_description
+gcr_parser_get_parsed_label
+gcr_parser_get_type
+gcr_parser_new
+gcr_parser_parse_data
+gcr_parser_parse_stream
+gcr_parser_parse_stream_async
+gcr_parser_parse_stream_finish
+gcr_pkcs11_add_module
+gcr_pkcs11_add_module_from_file
+gcr_pkcs11_certificate_get_attributes
+gcr_pkcs11_certificate_get_type
+gcr_pkcs11_certificate_lookup_issuer
+gcr_pkcs11_certificate_lookup_issuer_async
+gcr_pkcs11_certificate_lookup_issuer_finish
+gcr_pkcs11_get_modules
+gcr_pkcs11_get_trust_lookup_slots
+gcr_pkcs11_get_trust_lookup_uris
+gcr_pkcs11_get_trust_store_slot
+gcr_pkcs11_get_trust_store_uri
+gcr_pkcs11_set_modules
+gcr_pkcs11_set_trust_lookup_uris
+gcr_pkcs11_set_trust_store_uri
+gcr_simple_certificate_get_type
+gcr_simple_certificate_new
+gcr_simple_certificate_new_static
+gcr_simple_collection_add
+gcr_simple_collection_contains
+gcr_simple_collection_get_type
+gcr_simple_collection_new
+gcr_simple_collection_remove
+gcr_trust_add_pinned_certificate
+gcr_trust_add_pinned_certificate_async
+gcr_trust_add_pinned_certificate_finish
+gcr_trust_is_certificate_anchored
+gcr_trust_is_certificate_anchored_async
+gcr_trust_is_certificate_anchored_finish
+gcr_trust_is_certificate_pinned
+gcr_trust_is_certificate_pinned_async
+gcr_trust_is_certificate_pinned_finish
+gcr_trust_remove_pinned_certificate
+gcr_trust_remove_pinned_certificate_async
+gcr_trust_remove_pinned_certificate_finish
+gcr_union_collection_add
+gcr_union_collection_get_type
+gcr_union_collection_have
+gcr_union_collection_new
+gcr_union_collection_remove
+gcr_union_collection_size
+gcr_union_collection_take
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_CERTIFICATE_CHAIN_H__
#define __GCR_CERTIFICATE_CHAIN_H__
#include <glib-object.h>
-#include <gtk/gtk.h>
#include "gcr-certificate.h"
#include "gcr-types.h"
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_CERTIFICATE_EXPORTER_H__
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_CERTIFICATE_EXTENSIONS_H
* 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_CERTIFICATE_RENDERER_H__
* 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_CERTIFICATE_WIDGET_H__
* 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_CERTIFICATE_H__
g_object_class_install_property (gobject_class, PROP_COLLECTION,
g_param_spec_object ("collection", "Collection", "Collection to select from",
GCR_TYPE_COLLECTION, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
-
- _gcr_initialize_library ();
}
/* -----------------------------------------------------------------------------
--- /dev/null
+/*
+ * gnome-keyring
+ *
+ * Copyright (C) 2011 Collabora Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * Author: Stef Walter <stefw@collabora.co.uk>
+ */
+
+#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_BASE_DEPRECATED_H_
+#define GCR_BASE_DEPRECATED_H_
+#ifndef GCR_DISABLE_DEPRECATED
+
+#include <glib.h>
+
+#include "gcr-parser.h"
+#include "gcr-simple-collection.h"
+
+G_BEGIN_DECLS
+
+#define GCR_ERROR (gcr_error_get_domain ())
+
+GQuark gcr_error_get_domain (void) G_GNUC_CONST;
+
+gboolean gcr_simple_collection_contains (GcrSimpleCollection *self,
+ GObject *object);
+
+G_END_DECLS
+
+#endif /* GCR_DISABLE_DEPRECATED */
+#endif /* GCRTYPES_H_ */
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_DEPRECATED_H_
#define GCR_DEPRECATED_H_
+#ifndef GCR_DISABLE_DEPRECATED
#include <glib.h>
-#include <gck/gck.h>
-
+#include "gcr-certificate-basics-widget.h"
+#include "gcr-certificate-details-widget.h"
#include "gcr-importer.h"
-#include "gcr-parser.h"
-#include "gcr-simple-collection.h"
#include "gcr-viewer.h"
-#ifndef GCR_DISABLE_DEPRECATED
-
-#include "gcr-certificate-basics-widget.h"
-#include "gcr-certificate-details-widget.h"
+G_BEGIN_DECLS
void gcr_renderer_render (GcrRenderer *self,
GcrViewer *viewer);
void gcr_importer_set_parser (GcrImporter *self,
GcrParser *parser);
-#define GCR_ERROR (gcr_error_get_domain ())
-
-GQuark gcr_error_get_domain (void) G_GNUC_CONST;
-
-gboolean gcr_simple_collection_contains (GcrSimpleCollection *self,
- GObject *object);
-
-#endif /* GCR_DISABLE_DEPRECATED */
-
G_END_DECLS
+#endif /* GCR_DISABLE_DEPRECATED */
#endif /* GCRTYPES_H_ */
/*** BEGIN file-header ***/
-#include "gcr.h"
+
+#include <glib-object.h>
+
+#ifndef GCR_COMPILATION
+#define GCR_COMPILATION
+#endif
/*** END file-header ***/
/*** BEGIN file-production ***/
+#include "@filename@"
/* enumerations from "@filename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
+GType @enum_name@_get_type (void) G_GNUC_CONST;
+
GType
@enum_name@_get_type (void)
{
/*** BEGIN file-header ***/
-#if !defined (__GCR_H_INSIDE__) && !defined (GCR_COMPILATION)
+#if !defined (__GCR_INSIDE_HEADER__) && !defined (GCR_COMPILATION)
#error "Only <gcr/gcr.h> can be included directly."
#endif
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_FAILURE_RENDERER_H__
#ifndef GCR_GNUPG_COLLECTION_H
#define GCR_GNUPG_COLLECTION_H
-#include "gcr.h"
+#include "gcr-base.h"
#include "gcr-collection.h"
#include <glib-object.h>
#include "gck/gck.h"
-#include <gdk/gdk.h>
#include <glib/gi18n-lib.h>
enum {
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_GNUPG_KEY_H
#define GCR_GNUPG_KEY_H
#include <glib-object.h>
-#include <gtk/gtk.h>
#include "gcr-column.h"
#include "gcr-types.h"
#ifndef GCR_GNUPG_PROCESS_H
#define GCR_GNUPG_PROCESS_H
-#include "gcr.h"
+#include "gcr-base.h"
#include "gcr-record.h"
#include <glib-object.h>
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_GNUPG_UTIL_H
g_object_class_install_property (gobject_class, PROP_SECONDARY_TEXT,
g_param_spec_string ("secondary-text", "Secondary Text", "Dialog secondary text",
NULL, G_PARAM_READWRITE));
-
- _gcr_initialize_library ();
}
/* -----------------------------------------------------------------------------
G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GcrImporterClass, imported),
NULL, NULL, g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE, 1, GCK_TYPE_OBJECT);
-
- _gcr_initialize_library ();
}
static gpointer
* 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_IMPORTER_H__
* 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_KEY_RENDERER_H__
* 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_KEY_WIDGET_H__
#include "config.h"
-#include "gcr.h"
-#include "gcr-certificate-renderer.h"
+#include "gcr-base.h"
#define DEBUG_FLAG GCR_DEBUG_LIBRARY
#include "gcr-debug.h"
#include "gcr-internal.h"
#include "gcr-library.h"
-#include "gcr-key-renderer.h"
#include "gcr-types.h"
#include "egg/egg-error.h"
}
/* -----------------------------------------------------------------------------
- * MEMORY
- */
-
-static gboolean do_warning = TRUE;
-#define WARNING "couldn't allocate secure memory to keep passwords " \
- "and or keys from being written to the disk"
-
-#define ABORTMSG "The GNOME_KEYRING_PARANOID environment variable was set. " \
- "Exiting..."
-
-static G_LOCK_DEFINE (memory_lock);
-
-/*
- * These are called from egg-secure-memory.c to provide appropriate
- * locking for memory between threads
- */
-
-void
-egg_memory_lock (void)
-{
- G_LOCK (memory_lock);
-}
-
-void
-egg_memory_unlock (void)
-{
- G_UNLOCK (memory_lock);
-}
-
-void*
-egg_memory_fallback (void *p, size_t sz)
-{
- const gchar *env;
-
- /* We were asked to free memory */
- if (!sz) {
- g_free (p);
- return NULL;
- }
-
- /* We were asked to allocate */
- if (!p) {
- if (do_warning) {
- g_message (WARNING);
- do_warning = FALSE;
- }
-
- env = g_getenv ("GNOME_KEYRING_PARANOID");
- if (env && *env)
- g_error (ABORTMSG);
-
- return g_malloc0 (sz);
- }
-
- /*
- * Reallocation is a bit of a gray area, as we can be asked
- * by external libraries (like libgcrypt) to reallocate a
- * non-secure block into secure memory. We cannot satisfy
- * this request (as we don't know the size of the original
- * block) so we just try our best here.
- */
-
- return g_realloc (p, sz);
-}
-
-/* -----------------------------------------------------------------------------
* INITIALIZATION
*/
/* Initialize the libgcrypt library if needed */
egg_libgcrypt_initialize ();
- g_type_class_unref (g_type_class_ref (GCR_TYPE_CERTIFICATE_RENDERER));
- g_type_class_unref (g_type_class_ref (GCR_TYPE_KEY_RENDERER));
-
_gcr_debug ("initialized library");
}
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_LIBRARY_H_
g_object_class_install_property (gobject_class, PROP_COLLECTION,
g_param_spec_object ("collection", "Collection", "Collection to select from",
GCR_TYPE_COLLECTION, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
-
- _gcr_initialize_library ();
}
/* -----------------------------------------------------------------------------
--- /dev/null
+/*
+ * gnome-keyring
+ *
+ * Copyright (C) 2008 Stefan Walter
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#include "config.h"
+
+#include "egg/egg-secure-memory.h"
+
+#include <glib.h>
+
+/* -----------------------------------------------------------------------------
+ * MEMORY
+ */
+
+static gboolean do_warning = TRUE;
+#define WARNING "couldn't allocate secure memory to keep passwords " \
+ "and or keys from being written to the disk"
+
+#define ABORTMSG "The GNOME_KEYRING_PARANOID environment variable was set. " \
+ "Exiting..."
+
+static G_LOCK_DEFINE (memory_lock);
+
+/*
+ * These are called from egg-secure-memory.c to provide appropriate
+ * locking for memory between threads
+ */
+
+void
+egg_memory_lock (void)
+{
+ G_LOCK (memory_lock);
+}
+
+void
+egg_memory_unlock (void)
+{
+ G_UNLOCK (memory_lock);
+}
+
+void*
+egg_memory_fallback (void *p, size_t sz)
+{
+ const gchar *env;
+
+ /* We were asked to free memory */
+ if (!sz) {
+ g_free (p);
+ return NULL;
+ }
+
+ /* We were asked to allocate */
+ if (!p) {
+ if (do_warning) {
+ g_message (WARNING);
+ do_warning = FALSE;
+ }
+
+ env = g_getenv ("GNOME_KEYRING_PARANOID");
+ if (env && *env)
+ g_error (ABORTMSG);
+
+ return g_malloc0 (sz);
+ }
+
+ /*
+ * Reallocation is a bit of a gray area, as we can be asked
+ * by external libraries (like libgcrypt) to reallocate a
+ * non-secure block into secure memory. We cannot satisfy
+ * this request (as we don't know the size of the original
+ * block) so we just try our best here.
+ */
+
+ return g_realloc (p, sz);
+}
* 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_PARSER_H__
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_PKCS11_CERTIFICATE_H__
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_RECORD_H
* 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 "gcr-base.h"
#include <glib-object.h>
#include "config.h"
#include "gcr-collection.h"
-#include "gcr-deprecated.h"
+#include "gcr-deprecated-base.h"
#include "gcr-internal.h"
#include "gcr-simple-collection.h"
gobject_class->dispose = gcr_simple_collection_dispose;
gobject_class->finalize = gcr_simple_collection_finalize;
g_type_class_add_private (gobject_class, sizeof (GcrSimpleCollectionPrivate));
- _gcr_initialize_library ();
}
static guint
#ifndef __GCR_SIMPLE_COLLECTION_H__
#define __GCR_SIMPLE_COLLECTION_H__
-#include "gcr.h"
+#include "gcr-base.h"
#include "gcr-collection.h"
#include <glib-object.h>
g_object_class_install_property (gobject_class, PROP_COLUMNS,
g_param_spec_pointer ("columns", "Columns", "Columns to display in selector",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
-
- _gcr_initialize_library ();
}
/* -----------------------------------------------------------------------------
#include "config.h"
-#include "gcr.h"
+#include "gcr-base.h"
#define DEBUG_FLAG GCR_DEBUG_TRUST
#include "gcr-debug.h"
#include "gcr-types.h"
* 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_TRUST_H__
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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 GCRTYPES_H_
#ifndef __GCR_UNION_COLLECTION_H__
#define __GCR_UNION_COLLECTION_H__
-#include "gcr.h"
+#include "gcr-base.h"
#include "gcr-collection.h"
#include <glib-object.h>
* 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_UNLOCK_OPTIONS_WIDGET_H__
* Author: Stef Walter <stefw@collabora.co.uk>
*/
-#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_UNLOCK_RENDERER_H__
#include <glib.h>
-#define __GCR_H_INSIDE__
+#include "gcr-base.h"
-#include "gcr-types.h"
+#define __GCR_INSIDE_HEADER__
-#include "gcr-certificate.h"
-#include "gcr-certificate-chain.h"
#include "gcr-certificate-renderer.h"
#include "gcr-certificate-widget.h"
#include "gcr-collection-model.h"
#include "gcr-column.h"
#include "gcr-combo-selector.h"
#include "gcr-deprecated.h"
-#include "gcr-enum-types.h"
#include "gcr-key-renderer.h"
#include "gcr-key-widget.h"
#include "gcr-importer.h"
-#include "gcr-library.h"
#include "gcr-list-selector.h"
-#include "gcr-parser.h"
#include "gcr-renderer.h"
-#include "gcr-pkcs11-certificate.h"
-#include "gcr-simple-certificate.h"
-#include "gcr-simple-collection.h"
#include "gcr-tree-selector.h"
-#include "gcr-trust.h"
#include "gcr-union-collection.h"
-#include "gcr-unlock-options.h"
#include "gcr-unlock-options-widget.h"
#include "gcr-viewer.h"
#include "gcr-viewer-window.h"
-#undef __GCR_H_INSIDE__
+#undef __GCR_INSIDE_HEADER__
#endif /* __GCR_H__ */
Name: gcr-@GCR_MAJOR@
Description: GObject and GUI library for high level crypto parsing and display
Version: @VERSION@
-Requires: glib-2.0 gtk+-3.0 libtasn1 gck-@GCK_MAJOR@ p11-kit-1
+Requires: glib-2.0 gtk+-3.0 gcr-base-@GCR_MAJOR@ gck-@GCK_MAJOR@ p11-kit-1
Libs: -L${libdir} -lgcr-@GCR_MAJOR@
Cflags: -I${includedir}/gcr-@GCR_MAJOR@
gcr_certificate_basics_widget_get_type
gcr_certificate_basics_widget_new
gcr_certificate_basics_widget_set_certificate
-gcr_certificate_compare
-gcr_certificate_chain_add
-gcr_certificate_chain_build
-gcr_certificate_chain_build_async
-gcr_certificate_chain_build_finish
-gcr_certificate_chain_flags_get_type
-gcr_certificate_chain_get_anchor
-gcr_certificate_chain_get_certificate
-gcr_certificate_chain_get_endpoint
-gcr_certificate_chain_get_length
-gcr_certificate_chain_get_status
-gcr_certificate_chain_get_type
-gcr_certificate_chain_new
-gcr_certificate_chain_status_get_type
gcr_certificate_details_widget_get_certificate
gcr_certificate_details_widget_get_type
gcr_certificate_details_widget_new
gcr_certificate_details_widget_set_certificate
-gcr_certificate_get_columns
-gcr_certificate_get_der_data
-gcr_certificate_get_expiry_date
-gcr_certificate_get_fingerprint
-gcr_certificate_get_fingerprint_hex
-gcr_certificate_get_icon
-gcr_certificate_get_issued_date
-gcr_certificate_get_issuer_cn
-gcr_certificate_get_issuer_dn
-gcr_certificate_get_issuer_part
-gcr_certificate_get_issuer_raw
-gcr_certificate_get_key_size
-gcr_certificate_get_serial_number
-gcr_certificate_get_serial_number_hex
-gcr_certificate_get_subject_cn
-gcr_certificate_get_subject_dn
-gcr_certificate_get_subject_part
-gcr_certificate_get_subject_raw
-gcr_certificate_get_type
-gcr_certificate_mixin_class_init
-gcr_certificate_mixin_comparable_init
-gcr_certificate_mixin_get_property
-gcr_certificate_is_issuer
gcr_certificate_renderer_get_attributes
gcr_certificate_renderer_get_certificate
gcr_certificate_renderer_get_type
gcr_certificate_widget_new
gcr_certificate_widget_set_attributes
gcr_certificate_widget_set_certificate
-gcr_collection_contains
-gcr_collection_emit_added
-gcr_collection_emit_removed
-gcr_collection_get_length
-gcr_collection_get_objects
-gcr_collection_get_type
gcr_collection_model_change_selected
gcr_collection_model_column_for_selected
gcr_collection_model_get_collection
gcr_combo_selector_get_type
gcr_combo_selector_new
gcr_combo_selector_set_selected
-gcr_comparable_compare
-gcr_comparable_get_type
-gcr_comparable_memcmp
-gcr_data_error_get_domain
-gcr_data_error_get_type
-gcr_data_format_get_type
-gcr_error_get_domain
gcr_importer_get_parser
gcr_importer_get_prompt_behavior
gcr_importer_get_slot
gcr_list_selector_get_type
gcr_list_selector_new
gcr_list_selector_set_selected
-gcr_parser_add_password
-gcr_parser_format_disable
-gcr_parser_format_enable
-gcr_parser_format_supported
-gcr_parser_get_parsed_attributes
-gcr_parser_get_parsed_block
-gcr_parser_get_parsed_description
-gcr_parser_get_parsed_label
-gcr_parser_get_type
-gcr_parser_new
-gcr_parser_parse_data
-gcr_parser_parse_stream
-gcr_parser_parse_stream_async
-gcr_parser_parse_stream_finish
-gcr_pkcs11_add_module
-gcr_pkcs11_add_module_from_file
-gcr_pkcs11_certificate_get_attributes
-gcr_pkcs11_certificate_get_type
-gcr_pkcs11_certificate_lookup_issuer
-gcr_pkcs11_certificate_lookup_issuer_async
-gcr_pkcs11_certificate_lookup_issuer_finish
-gcr_pkcs11_get_modules
-gcr_pkcs11_get_trust_lookup_slots
-gcr_pkcs11_get_trust_lookup_uris
-gcr_pkcs11_get_trust_store_slot
-gcr_pkcs11_get_trust_store_uri
-gcr_pkcs11_set_modules
-gcr_pkcs11_set_trust_lookup_uris
-gcr_pkcs11_set_trust_store_uri
gcr_renderer_create
gcr_renderer_emit_data_changed
gcr_renderer_get_type
gcr_renderer_register_well_known
gcr_renderer_render
gcr_renderer_render_view
-gcr_simple_certificate_get_type
-gcr_simple_certificate_new
-gcr_simple_certificate_new_static
-gcr_simple_collection_add
-gcr_simple_collection_contains
-gcr_simple_collection_get_type
-gcr_simple_collection_new
-gcr_simple_collection_remove
gcr_tree_selector_get_collection
gcr_tree_selector_get_columns
gcr_tree_selector_get_selected
gcr_tree_selector_get_type
gcr_tree_selector_new
gcr_tree_selector_set_selected
-gcr_trust_add_pinned_certificate
-gcr_trust_add_pinned_certificate_async
-gcr_trust_add_pinned_certificate_finish
-gcr_trust_is_certificate_anchored
-gcr_trust_is_certificate_anchored_async
-gcr_trust_is_certificate_anchored_finish
-gcr_trust_is_certificate_pinned
-gcr_trust_is_certificate_pinned_async
-gcr_trust_is_certificate_pinned_finish
-gcr_trust_remove_pinned_certificate
-gcr_trust_remove_pinned_certificate_async
-gcr_trust_remove_pinned_certificate_finish
-gcr_union_collection_add
-gcr_union_collection_get_type
-gcr_union_collection_have
-gcr_union_collection_new
-gcr_union_collection_remove
-gcr_union_collection_size
-gcr_union_collection_take
gcr_unlock_options_widget_get_choice
gcr_unlock_options_widget_get_label
gcr_unlock_options_widget_get_sensitive
#include "config.h"
-#include "gcr/gcr.h"
-
-#include <gtk/gtk.h>
+#include "gcr/gcr-base.h"
#include <unistd.h>
#include <string.h>
const gchar *filename;
gchar *path;
- gtk_init (&argc, &argv);
+ g_type_init ();
g_set_prgname ("frob-parser");
if (argc != 2) {
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "egg/egg-asn1x.h"
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "egg/egg-testing.h"
#include "config.h"
#define GCR_COMPILATION 1
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "gcr/gcr-fingerprint.h"
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-gnupg-collection.h"
#include "gcr/gcr-gnupg-key.h"
#include "gcr/gcr-record.h"
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-gnupg-process.h"
#include "egg/egg-testing.h"
#include "egg/egg-error.h"
#include "egg/egg-secure-memory.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "gck/gck.h"
#include "egg/egg-asn1x.h"
#include "egg/egg-asn1-defs.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "egg/egg-testing.h"
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "gck/gck-test.h"
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-internal.h"
#include "gck/gck-mock.h"
#include "config.h"
-#include "gcr/gcr.h"
+#include "gcr/gcr-base.h"
#include "gcr/gcr-util.h"
#include <errno.h>