1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright 2010 Red Hat, Inc.
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 * In addition, when the library is used with OpenSSL, a special
13 * exception applies. Refer to the LICENSE_EXCEPTION file for details.
16 #ifndef __G_TLS_SERVER_CONNECTION_GNUTLS_H__
17 #define __G_TLS_SERVER_CONNECTION_GNUTLS_H__
20 #include "gtlsconnection-gnutls.h"
24 #define G_TYPE_TLS_SERVER_CONNECTION_GNUTLS (g_tls_server_connection_gnutls_get_type ())
25 #define G_TLS_SERVER_CONNECTION_GNUTLS(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TLS_SERVER_CONNECTION_GNUTLS, GTlsServerConnectionGnutls))
26 #define G_TLS_SERVER_CONNECTION_GNUTLS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_TLS_SERVER_CONNECTION_GNUTLS, GTlsServerConnectionGnutlsClass))
27 #define G_IS_TLS_SERVER_CONNECTION_GNUTLS(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TLS_SERVER_CONNECTION_GNUTLS))
28 #define G_IS_TLS_SERVER_CONNECTION_GNUTLS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_TLS_SERVER_CONNECTION_GNUTLS))
29 #define G_TLS_SERVER_CONNECTION_GNUTLS_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), G_TYPE_TLS_SERVER_CONNECTION_GNUTLS, GTlsServerConnectionGnutlsClass))
31 typedef struct _GTlsServerConnectionGnutlsPrivate GTlsServerConnectionGnutlsPrivate;
32 typedef struct _GTlsServerConnectionGnutlsClass GTlsServerConnectionGnutlsClass;
33 typedef struct _GTlsServerConnectionGnutls GTlsServerConnectionGnutls;
35 struct _GTlsServerConnectionGnutlsClass
37 GTlsConnectionGnutlsClass parent_class;
40 struct _GTlsServerConnectionGnutls
42 GTlsConnectionGnutls parent_instance;
43 GTlsServerConnectionGnutlsPrivate *priv;
46 GType g_tls_server_connection_gnutls_get_type (void) G_GNUC_CONST;
50 #endif /* __G_TLS_SERVER_CONNECTION_GNUTLS_H___ */