Add some more cases to the app-id unit tests
[glib.git] / gio / tests / gtesttlsbackend.h
blob0c62d70c7989eda81384519bbe9d46acd32bd30b
1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright (C) 2011 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General
16 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
19 #ifndef __G_TEST_TLS_BACKEND_H__
20 #define __G_TEST_TLS_BACKEND_H__
22 #include <gio/gio.h>
24 G_BEGIN_DECLS
26 #define G_TYPE_TEST_TLS_BACKEND (_g_test_tls_backend_get_type ())
27 #define G_TEST_TLS_BACKEND(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_TEST_TLS_BACKEND, GTestTlsBackend))
28 #define G_TEST_TLS_BACKEND_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_TEST_TLS_BACKEND, GTestTlsBackendClass))
29 #define G_IS_TEST_TLS_BACKEND(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_TEST_TLS_BACKEND))
30 #define G_IS_TEST_TLS_BACKEND_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_TEST_TLS_BACKEND))
31 #define G_TEST_TLS_BACKEND_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_TEST_TLS_BACKEND, GTestTlsBackendClass))
33 typedef struct _GTestTlsBackend GTestTlsBackend;
34 typedef struct _GTestTlsBackendClass GTestTlsBackendClass;
36 struct _GTestTlsBackendClass {
37 GObjectClass parent_class;
40 GType _g_test_tls_backend_get_type (void);
42 const gchar *g_test_tls_connection_get_private_key_pem (GTlsCertificate *cert);
45 G_END_DECLS
47 #endif /* __G_TEST_TLS_BACKEND_H__ */