LCOV - code coverage report
Current view: top level - gcr - gcr-certificate-section.h (source / functions) Hit Total Coverage
Test: Code coverage Lines: 1 1 100.0 %
Date: 2022-09-04 10:20:22 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3 6 50.0 %

           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_SECTION_H__
       8                 :            : #define __GCR_CERTIFICATE_SECTION_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-enum-types.h>
      15                 :            : 
      16                 :            : #include <glib-object.h>
      17                 :            : #include <gio/gio.h>
      18                 :            : 
      19                 :            : G_BEGIN_DECLS
      20                 :            : 
      21                 :            : #define GCR_TYPE_CERTIFICATE_SECTION (gcr_certificate_section_get_type())
      22                 :            : 
      23   [ -  +  +  -  :        126 : G_DECLARE_FINAL_TYPE (GcrCertificateSection, gcr_certificate_section, GCR, CERTIFICATE_SECTION, GObject)
                   +  - ]
      24                 :            : 
      25                 :            : typedef enum {
      26                 :            :         GCR_CERTIFICATE_SECTION_NONE = 0,
      27                 :            :         GCR_CERTIFICATE_SECTION_IMPORTANT = 1 << 0,
      28                 :            : } GcrCertificateSectionFlags;
      29                 :            : 
      30                 :            : const char                 *gcr_certificate_section_get_label  (GcrCertificateSection *self);
      31                 :            : GListModel                 *gcr_certificate_section_get_fields (GcrCertificateSection *self);
      32                 :            : GcrCertificateSectionFlags  gcr_certificate_section_get_flags  (GcrCertificateSection *self);
      33                 :            : 
      34                 :            : G_END_DECLS
      35                 :            : 
      36                 :            : #endif /* __GCR_CERTIFICATE_SECTION_H__ */

Generated by: LCOV version 1.14