2 * gtlsbackend-openssl.h
4 * Copyright (C) 2015 NICE s.r.l.
6 * This file is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This file is distributed in the hope that it will be useful,
12 * but 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.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 * In addition, when the library is used with OpenSSL, a special
20 * exception applies. Refer to the LICENSE_EXCEPTION file for details.
22 * Authors: Ignacio Casal Quinteiro
25 #ifndef __G_TLS_BACKEND_OPENSSL_H__
26 #define __G_TLS_BACKEND_OPENSSL_H__
32 #define G_TYPE_TLS_BACKEND_OPENSSL (g_tls_backend_openssl_get_type ())
33 G_DECLARE_DERIVABLE_TYPE (GTlsBackendOpenssl, g_tls_backend_openssl,
34 G, TLS_BACKEND_OPENSSL, GObject)
36 struct _GTlsBackendOpensslClass
38 GObjectClass parent_class;
40 GTlsDatabase* (*create_database) (GTlsBackendOpenssl *backend,
44 void g_tls_backend_openssl_register (GIOModule *module);
48 #endif /* __G_TLS_BACKEND_OPENSSL_H___ */