Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:00:00

0001 /* GIO - GLib Input, Output and Streaming Library
0002  *
0003  * Copyright © 2010 Collabora, Ltd.
0004  *
0005  * SPDX-License-Identifier: LGPL-2.1-or-later
0006  *
0007  * This library is free software; you can redistribute it and/or
0008  * modify it under the terms of the GNU Lesser General Public
0009  * License as published by the Free Software Foundation; either
0010  * version 2.1 of the License, or (at your option) any later version.
0011  *
0012  * See the included COPYING file for more information.
0013  *
0014  * Author: Stef Walter <stefw@collabora.co.uk>
0015  */
0016 
0017 #ifndef __G_TLS_FILE_DATABASE_H__
0018 #define __G_TLS_FILE_DATABASE_H__
0019 
0020 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
0021 #error "Only <gio/gio.h> can be included directly."
0022 #endif
0023 
0024 #include <gio/giotypes.h>
0025 
0026 G_BEGIN_DECLS
0027 
0028 #define G_TYPE_TLS_FILE_DATABASE                (g_tls_file_database_get_type ())
0029 #define G_TLS_FILE_DATABASE(inst)               (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TLS_FILE_DATABASE, GTlsFileDatabase))
0030 #define G_IS_TLS_FILE_DATABASE(inst)            (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TLS_FILE_DATABASE))
0031 #define G_TLS_FILE_DATABASE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_TLS_FILE_DATABASE, GTlsFileDatabaseInterface))
0032 
0033 typedef struct _GTlsFileDatabaseInterface GTlsFileDatabaseInterface;
0034 
0035 /**
0036  * GTlsFileDatabaseInterface:
0037  * @g_iface: The parent interface.
0038  *
0039  * Provides an interface for #GTlsFileDatabase implementations.
0040  *
0041  */
0042 struct _GTlsFileDatabaseInterface
0043 {
0044   GTypeInterface g_iface;
0045 
0046   /*< private >*/
0047   /* Padding for future expansion */
0048   gpointer padding[8];
0049 };
0050 
0051 GIO_AVAILABLE_IN_ALL
0052 GType                        g_tls_file_database_get_type              (void) G_GNUC_CONST;
0053 
0054 GIO_AVAILABLE_IN_ALL
0055 GTlsDatabase*                g_tls_file_database_new                   (const gchar  *anchors,
0056                                                                         GError      **error);
0057 
0058 G_END_DECLS
0059 
0060 #endif /* __G_TLS_FILE_DATABASE_H___ */