LCOV - code coverage report
Current view: top level - gcr - gcr-callback-output-stream.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) 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_CALLBACK_OUTPUT_STREAM_H
      23                 :            : #define GCR_CALLBACK_OUTPUT_STREAM_H
      24                 :            : 
      25                 :            : #include <glib-object.h>
      26                 :            : #include <gio/gio.h>
      27                 :            : 
      28                 :            : G_BEGIN_DECLS
      29                 :            : 
      30                 :            : #define GCR_TYPE_CALLBACK_OUTPUT_STREAM (_gcr_callback_output_stream_get_type ())
      31                 :         18 : G_DECLARE_FINAL_TYPE (GcrCallbackOutputStream, _gcr_callback_output_stream,
      32                 :            :                       GCR, CALLBACK_OUTPUT_STREAM,
      33                 :            :                       GOutputStream)
      34                 :            : 
      35                 :            : typedef gssize      (*GcrCallbackOutputFunc)               (gconstpointer buffer,
      36                 :            :                                                             gsize count,
      37                 :            :                                                             GCancellable *cancellable,
      38                 :            :                                                             gpointer user_data,
      39                 :            :                                                             GError **error);
      40                 :            : 
      41                 :            : GOutputStream *     _gcr_callback_output_stream_new        (GcrCallbackOutputFunc callback,
      42                 :            :                                                             gpointer user_data,
      43                 :            :                                                             GDestroyNotify destroy_func);
      44                 :            : 
      45                 :            : G_END_DECLS
      46                 :            : 
      47                 :            : #endif /* GCR_CALLBACK_OUTPUT_STREAM_H */

Generated by: LCOV version 1.14