File indexing completed on 2025-01-18 09:59:55
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef __G_DTLS_SERVER_CONNECTION_H__
0023 #define __G_DTLS_SERVER_CONNECTION_H__
0024
0025 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
0026 #error "Only <gio/gio.h> can be included directly."
0027 #endif
0028
0029 #include <gio/gdtlsconnection.h>
0030
0031 G_BEGIN_DECLS
0032
0033 #define G_TYPE_DTLS_SERVER_CONNECTION (g_dtls_server_connection_get_type ())
0034 #define G_DTLS_SERVER_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_DTLS_SERVER_CONNECTION, GDtlsServerConnection))
0035 #define G_IS_DTLS_SERVER_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_DTLS_SERVER_CONNECTION))
0036 #define G_DTLS_SERVER_CONNECTION_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_DTLS_SERVER_CONNECTION, GDtlsServerConnectionInterface))
0037
0038 typedef struct _GDtlsServerConnectionInterface GDtlsServerConnectionInterface;
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048 struct _GDtlsServerConnectionInterface
0049 {
0050 GTypeInterface g_iface;
0051 };
0052
0053 GIO_AVAILABLE_IN_2_48
0054 GType g_dtls_server_connection_get_type (void) G_GNUC_CONST;
0055
0056 GIO_AVAILABLE_IN_2_48
0057 GDatagramBased *g_dtls_server_connection_new (GDatagramBased *base_socket,
0058 GTlsCertificate *certificate,
0059 GError **error);
0060
0061 G_END_DECLS
0062
0063 #endif