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

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * gnome-keyring
       3                 :            :  *
       4                 :            :  * Copyright (C) 2014 Stef Walter
       5                 :            :  * Copyright (C) 2018 Red Hat, Inc.
       6                 :            :  *
       7                 :            :  * This program is free software; you can redistribute it and/or modify
       8                 :            :  * it under the terms of the GNU Lesser General Public License as
       9                 :            :  * published by the Free Software Foundation; either version 2.1 of
      10                 :            :  * the License, or (at your option) any later version.
      11                 :            :  *
      12                 :            :  * This program is distributed in the hope that it will be useful, but
      13                 :            :  * WITHOUT ANY WARRANTY; without even the implied warranty of
      14                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      15                 :            :  * Lesser General Public License for more details.
      16                 :            :  *
      17                 :            :  * You should have received a copy of the GNU Lesser General Public
      18                 :            :  * License along with this program; if not, see
      19                 :            :  * <http://www.gnu.org/licenses/>.
      20                 :            :  *
      21                 :            :  * Author: Stef Walter <stef@thewalter.net>, Daiki Ueno
      22                 :            :  */
      23                 :            : 
      24                 :            : #ifndef GCR_SSH_AGENT_PRELOAD_H
      25                 :            : #define GCR_SSH_AGENT_PRELOAD_H
      26                 :            : 
      27                 :            : #include <glib-object.h>
      28                 :            : 
      29                 :            : typedef struct {
      30                 :            :         gchar *filename;
      31                 :            :         GBytes *public_key;
      32                 :            :         gchar *comment;
      33                 :            : } GcrSshAgentKeyInfo;
      34                 :            : 
      35                 :            : void                gcr_ssh_agent_key_info_free    (gpointer boxed);
      36                 :            : gpointer            gcr_ssh_agent_key_info_copy    (gpointer boxed);
      37                 :            : 
      38                 :            : #define GCR_TYPE_SSH_AGENT_PRELOAD gcr_ssh_agent_preload_get_type ()
      39                 :         86 : G_DECLARE_FINAL_TYPE (GcrSshAgentPreload, gcr_ssh_agent_preload, GCR, SSH_AGENT_PRELOAD, GObject)
      40                 :            : 
      41                 :            : GcrSshAgentPreload *gcr_ssh_agent_preload_new      (const gchar *path);
      42                 :            : 
      43                 :            : GList              *gcr_ssh_agent_preload_get_keys (GcrSshAgentPreload *self);
      44                 :            : 
      45                 :            : GcrSshAgentKeyInfo *gcr_ssh_agent_preload_lookup_by_public_key
      46                 :            :                                                    (GcrSshAgentPreload *self,
      47                 :            :                                                     GBytes *public_key);
      48                 :            : 
      49                 :            : #endif /* GCR_SSH_AGENT_PRELOAD_H */
      50                 :            : 

Generated by: LCOV version 1.14