Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gsocketconnection.h File Reference
#include <glib-object.h>
#include <gio/gsocket.h>
#include <gio/giostream.h>

Go to the source code of this file.

Data Structures

struct  _GSocketConnectionClass
 
struct  _GSocketConnection
 

Macros

#define G_TYPE_SOCKET_CONNECTION   (g_socket_connection_get_type ())
 
#define G_SOCKET_CONNECTION(inst)
 
#define G_SOCKET_CONNECTION_CLASS(class)
 
#define G_IS_SOCKET_CONNECTION(inst)
 
#define G_IS_SOCKET_CONNECTION_CLASS(class)
 
#define G_SOCKET_CONNECTION_GET_CLASS(inst)
 

Typedefs

typedef struct _GSocketConnectionPrivate GSocketConnectionPrivate
 
typedef struct _GSocketConnectionClass GSocketConnectionClass
 

Functions

GIO_AVAILABLE_IN_ALL GType g_socket_connection_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_is_connected (GSocketConnection *connection)
 
GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_connect (GSocketConnection *connection, GSocketAddress *address, GCancellable *cancellable, GError **error)
 
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_2_32 gboolean g_socket_connection_connect_finish (GSocketConnection *connection, GAsyncResult *result, GError **error)
 
GIO_AVAILABLE_IN_ALL GSocketg_socket_connection_get_socket (GSocketConnection *connection)
 
GIO_AVAILABLE_IN_ALL GSocketAddressg_socket_connection_get_local_address (GSocketConnection *connection, GError **error)
 
GIO_AVAILABLE_IN_ALL GSocketAddressg_socket_connection_get_remote_address (GSocketConnection *connection, GError **error)
 
GIO_AVAILABLE_IN_ALL void g_socket_connection_factory_register_type (GType g_type, GSocketFamily family, GSocketType type, gint protocol)
 
GIO_AVAILABLE_IN_ALL GType g_socket_connection_factory_lookup_type (GSocketFamily family, GSocketType type, gint protocol_id)
 
GIO_AVAILABLE_IN_ALL GSocketConnectiong_socket_connection_factory_create_connection (GSocket *socket)
 

Macro Definition Documentation

◆ G_IS_SOCKET_CONNECTION

#define G_IS_SOCKET_CONNECTION ( inst)
Value:
#define G_TYPE_SOCKET_CONNECTION
#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type)
Definition gtype.h:541

Definition at line 44 of file gsocketconnection.h.

44#define G_IS_SOCKET_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
45 G_TYPE_SOCKET_CONNECTION))

◆ G_IS_SOCKET_CONNECTION_CLASS

#define G_IS_SOCKET_CONNECTION_CLASS ( class)
Value:
#define G_TYPE_CHECK_CLASS_TYPE(g_class, g_type)
Definition gtype.h:610

Definition at line 46 of file gsocketconnection.h.

46#define G_IS_SOCKET_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
47 G_TYPE_SOCKET_CONNECTION))

◆ G_SOCKET_CONNECTION

#define G_SOCKET_CONNECTION ( inst)
Value:
#define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)
Definition gtype.h:528

Definition at line 40 of file gsocketconnection.h.

40#define G_SOCKET_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
41 G_TYPE_SOCKET_CONNECTION, GSocketConnection))

◆ G_SOCKET_CONNECTION_CLASS

#define G_SOCKET_CONNECTION_CLASS ( class)
Value:
#define G_TYPE_CHECK_CLASS_CAST(g_class, g_type, c_type)
Definition gtype.h:597

Definition at line 42 of file gsocketconnection.h.

42#define G_SOCKET_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
43 G_TYPE_SOCKET_CONNECTION, GSocketConnectionClass))

◆ G_SOCKET_CONNECTION_GET_CLASS

#define G_SOCKET_CONNECTION_GET_CLASS ( inst)
Value:
#define G_TYPE_INSTANCE_GET_CLASS(instance, g_type, c_type)
Definition gtype.h:571

Definition at line 48 of file gsocketconnection.h.

48#define G_SOCKET_CONNECTION_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
49 G_TYPE_SOCKET_CONNECTION, GSocketConnectionClass))

◆ G_TYPE_SOCKET_CONNECTION

#define G_TYPE_SOCKET_CONNECTION   (g_socket_connection_get_type ())

Definition at line 39 of file gsocketconnection.h.

Typedef Documentation

◆ GSocketConnectionClass

Definition at line 52 of file gsocketconnection.h.

◆ GSocketConnectionPrivate

typedef struct _GSocketConnectionPrivate GSocketConnectionPrivate

Definition at line 51 of file gsocketconnection.h.

Function Documentation

◆ g_socket_connection_connect()

GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_connect ( GSocketConnection * connection,
GSocketAddress * address,
GCancellable * cancellable,
GError ** error )

◆ g_socket_connection_connect_async()

GIO_AVAILABLE_IN_2_32 void g_socket_connection_connect_async ( GSocketConnection * connection,
GSocketAddress * address,
GCancellable * cancellable,
GAsyncReadyCallback callback,
gpointer user_data )

◆ g_socket_connection_connect_finish()

GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_connect_finish ( GSocketConnection * connection,
GAsyncResult * result,
GError ** error )

◆ g_socket_connection_factory_create_connection()

GIO_AVAILABLE_IN_ALL GSocketConnection * g_socket_connection_factory_create_connection ( GSocket * socket)

◆ g_socket_connection_factory_lookup_type()

GIO_AVAILABLE_IN_ALL GType g_socket_connection_factory_lookup_type ( GSocketFamily family,
GSocketType type,
gint protocol_id )

◆ g_socket_connection_factory_register_type()

GIO_AVAILABLE_IN_ALL void g_socket_connection_factory_register_type ( GType g_type,
GSocketFamily family,
GSocketType type,
gint protocol )

◆ g_socket_connection_get_local_address()

GIO_AVAILABLE_IN_ALL GSocketAddress * g_socket_connection_get_local_address ( GSocketConnection * connection,
GError ** error )

◆ g_socket_connection_get_remote_address()

GIO_AVAILABLE_IN_ALL GSocketAddress * g_socket_connection_get_remote_address ( GSocketConnection * connection,
GError ** error )

◆ g_socket_connection_get_socket()

GIO_AVAILABLE_IN_ALL GSocket * g_socket_connection_get_socket ( GSocketConnection * connection)

◆ g_socket_connection_get_type()

GIO_AVAILABLE_IN_ALL GType g_socket_connection_get_type ( void )

◆ g_socket_connection_is_connected()

GIO_AVAILABLE_IN_2_32 gboolean g_socket_connection_is_connected ( GSocketConnection * connection)