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