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

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * gnome-keyring
       3                 :            :  *
       4                 :            :  * Copyright (C) 2011 Collabora Ltd.
       5                 :            :  *
       6                 :            :  * This program is free software; you can redistribute it and/or modify
       7                 :            :  * it under the terms of the GNU Lesser General Public License as
       8                 :            :  * published by the Free Software Foundation; either version 2.1 of
       9                 :            :  * the License, or (at your option) any later version.
      10                 :            :  *
      11                 :            :  * This program is distributed in the hope that it will be useful, but
      12                 :            :  * WITHOUT ANY WARRANTY; without even the implied warranty of
      13                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      14                 :            :  * Lesser General Public License for more details.
      15                 :            :  *
      16                 :            :  * You should have received a copy of the GNU Lesser General Public
      17                 :            :  * License along with this program; if not, see <http://www.gnu.org/licenses/>.
      18                 :            :  *
      19                 :            :  * Author: Stef Walter <stefw@collabora.co.uk>
      20                 :            :  */
      21                 :            : 
      22                 :            : #ifndef __GCR_IMPORT_INTERACTION_H__
      23                 :            : #define __GCR_IMPORT_INTERACTION_H__
      24                 :            : 
      25                 :            : #if !defined (__GCR_INSIDE_HEADER__) && !defined (GCR_COMPILATION)
      26                 :            : #error "Only <gcr/gcr.h> can be included directly."
      27                 :            : #endif
      28                 :            : 
      29                 :            : #include "gcr-importer.h"
      30                 :            : 
      31                 :            : #include <glib-object.h>
      32                 :            : 
      33                 :            : #include <gio/gio.h>
      34                 :            : 
      35                 :            : G_BEGIN_DECLS
      36                 :            : 
      37                 :            : #define GCR_TYPE_IMPORT_INTERACTION gcr_import_interaction_get_type ()
      38   [ #  #  #  #  :          0 : G_DECLARE_INTERFACE(GcrImportInteraction, gcr_import_interaction, GCR, IMPORT_INTERACTION, GTlsInteraction)
                   #  # ]
      39                 :            : 
      40                 :            : struct _GcrImportInteractionInterface {
      41                 :            :         GTypeInterface parent;
      42                 :            : 
      43                 :            :         void                    (*supplement_prep)   (GcrImportInteraction *interaction,
      44                 :            :                                                       GckBuilder *builder);
      45                 :            : 
      46                 :            :         GTlsInteractionResult   (*supplement)        (GcrImportInteraction *interaction,
      47                 :            :                                                       GckBuilder *builder,
      48                 :            :                                                       GCancellable *cancellable,
      49                 :            :                                                       GError **error);
      50                 :            : 
      51                 :            :         void                    (*supplement_async)  (GcrImportInteraction *interaction,
      52                 :            :                                                       GckBuilder *builder,
      53                 :            :                                                       GCancellable *cancellable,
      54                 :            :                                                       GAsyncReadyCallback callback,
      55                 :            :                                                       gpointer user_data);
      56                 :            : 
      57                 :            :         GTlsInteractionResult   (*supplement_finish) (GcrImportInteraction *interaction,
      58                 :            :                                                       GAsyncResult *result,
      59                 :            :                                                       GError **error);
      60                 :            : 
      61                 :            :         /*< private >*/
      62                 :            :         gpointer reserved[6];
      63                 :            : };
      64                 :            : 
      65                 :            : void                   gcr_import_interaction_supplement_prep      (GcrImportInteraction *interaction,
      66                 :            :                                                                     GckBuilder *builder);
      67                 :            : 
      68                 :            : GTlsInteractionResult  gcr_import_interaction_supplement           (GcrImportInteraction *interaction,
      69                 :            :                                                                     GckBuilder *builder,
      70                 :            :                                                                     GCancellable *cancellable,
      71                 :            :                                                                     GError **error);
      72                 :            : 
      73                 :            : void                   gcr_import_interaction_supplement_async     (GcrImportInteraction *interaction,
      74                 :            :                                                                     GckBuilder *builder,
      75                 :            :                                                                     GCancellable *cancellable,
      76                 :            :                                                                     GAsyncReadyCallback callback,
      77                 :            :                                                                     gpointer user_data);
      78                 :            : 
      79                 :            : GTlsInteractionResult  gcr_import_interaction_supplement_finish    (GcrImportInteraction *interaction,
      80                 :            :                                                                     GAsyncResult *result,
      81                 :            :                                                                     GError **error);
      82                 :            : 
      83                 :            : G_END_DECLS
      84                 :            : 
      85                 :            : #endif /* __GCR_IMPORT_INTERACTION_H__ */

Generated by: LCOV version 1.14