26#ifndef __G_SOCKET_CONNECTION_H__
27#define __G_SOCKET_CONNECTION_H__
29#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
30#error "Only <gio/gio.h> can be included directly."
39#define G_TYPE_SOCKET_CONNECTION (g_socket_connection_get_type ())
40#define G_SOCKET_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
41 G_TYPE_SOCKET_CONNECTION, GSocketConnection))
42#define G_SOCKET_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
43 G_TYPE_SOCKET_CONNECTION, GSocketConnectionClass))
44#define G_IS_SOCKET_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
45 G_TYPE_SOCKET_CONNECTION))
46#define G_IS_SOCKET_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
47 G_TYPE_SOCKET_CONNECTION))
48#define G_SOCKET_CONNECTION_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
49 G_TYPE_SOCKET_CONNECTION, GSocketConnectionClass))
#define GIO_AVAILABLE_IN_ALL
#define GIO_AVAILABLE_IN_2_32
struct _GAsyncResult GAsyncResult
void(* GAsyncReadyCallback)(GObject *source_object, GAsyncResult *res, gpointer data)
GIO_AVAILABLE_IN_ALL GSocketConnection * g_socket_connection_factory_create_connection(GSocket *socket)
GIO_AVAILABLE_IN_ALL void g_socket_connection_factory_register_type(GType g_type, GSocketFamily family, GSocketType type, gint protocol)
GIO_AVAILABLE_IN_2_32 void g_socket_connection_connect_async(GSocketConnection *connection, GSocketAddress *address, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
GIO_AVAILABLE_IN_ALL GType g_socket_connection_get_type(void) G_GNUC_CONST
GIO_AVAILABLE_IN_ALL GSocketAddress * g_socket_connection_get_remote_address(GSocketConnection *connection, GError **error)
GIO_AVAILABLE_IN_ALL GSocket * g_socket_connection_get_socket(GSocketConnection *connection)
GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_connect_finish(GSocketConnection *connection, GAsyncResult *result, GError **error)
GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_connect(GSocketConnection *connection, GSocketAddress *address, GCancellable *cancellable, GError **error)
GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_is_connected(GSocketConnection *connection)
struct _GSocketConnectionPrivate GSocketConnectionPrivate
GIO_AVAILABLE_IN_ALL GSocketAddress * g_socket_connection_get_local_address(GSocketConnection *connection, GError **error)
GIO_AVAILABLE_IN_ALL GType g_socket_connection_factory_lookup_type(GSocketFamily family, GSocketType type, gint protocol_id)
static void error(LoadState *S, const char *why)
void(* _g_reserved5)(void)
void(* _g_reserved6)(void)
GIOStreamClass parent_class
void(* _g_reserved3)(void)
void(* _g_reserved2)(void)
void(* _g_reserved4)(void)
void(* _g_reserved1)(void)
GIOStream parent_instance
GSocketConnectionPrivate * priv