Branch data Line data Source code
1 : : /* 2 : : * Copyright 2022 Collabora Ltd. 3 : : * Copyright Corentin Noël <corentin.noel@collabora.com> 4 : : * SPDX-License-Identifier: LGPL-2.1-or-later 5 : : */ 6 : : 7 : : #ifndef __GCR_CERTIFICATE_FIELD_H__ 8 : : #define __GCR_CERTIFICATE_FIELD_H__ 9 : : 10 : : #if !defined (__GCR_INSIDE_HEADER__) && !defined (GCR_COMPILATION) 11 : : #error "Only <gcr/gcr.h> can be included directly." 12 : : #endif 13 : : 14 : : #include <gcr/gcr-certificate-section.h> 15 : : 16 : : #include <glib-object.h> 17 : : 18 : : G_BEGIN_DECLS 19 : : 20 : : #define GCR_TYPE_CERTIFICATE_FIELD (gcr_certificate_field_get_type ()) 21 : : 22 [ - + + - : 329 : G_DECLARE_FINAL_TYPE (GcrCertificateField, gcr_certificate_field, GCR, CERTIFICATE_FIELD, GObject) + - ] 23 : : 24 : : const char *gcr_certificate_field_get_label (GcrCertificateField *self); 25 : : gboolean gcr_certificate_field_get_value (GcrCertificateField *self, 26 : : GValue *value); 27 : : GType gcr_certificate_field_get_value_type (GcrCertificateField *self); 28 : : GcrCertificateSection *gcr_certificate_field_get_section (GcrCertificateField *self); 29 : : 30 : : G_END_DECLS 31 : : 32 : : #endif /* __GCR_CERTIFICATE_FIELD_H__ */