1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright © 2010 Collabora, Ltd.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation; either version 2 of the licence or (at
8 * your option) any later version.
10 * See the included COPYING file for more information.
12 * Author: Stef Walter <stefw@collabora.co.uk>
15 #ifndef __G_TLS_FILE_DATABASE_H__
16 #define __G_TLS_FILE_DATABASE_H__
18 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
19 #error "Only <gio/gio.h> can be included directly."
22 #include <gio/giotypes.h>
26 #define G_TYPE_TLS_FILE_DATABASE (g_tls_file_database_get_type ())
27 #define G_TLS_FILE_DATABASE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TLS_FILE_DATABASE, GTlsFileDatabase))
28 #define G_IS_TLS_FILE_DATABASE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TLS_FILE_DATABASE))
29 #define G_TLS_FILE_DATABASE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_TLS_FILE_DATABASE, GTlsFileDatabaseInterface))
31 typedef struct _GTlsFileDatabaseInterface GTlsFileDatabaseInterface;
34 * GTlsFileDatabaseInterface:
35 * @g_iface: The parent interface.
37 * Provides an interface for #GTlsFileDatabase implementations.
40 struct _GTlsFileDatabaseInterface
42 GTypeInterface g_iface;
45 /* Padding for future expansion */
50 GType g_tls_file_database_get_type (void) G_GNUC_CONST;
53 GTlsDatabase* g_tls_file_database_new (const gchar *anchors,
58 #endif /* __G_TLS_FILE_DATABASE_H___ */