ekg2  GIT master
Definicje | Definicje typów | Wyliczenia | Funkcje
Dokumentacja pliku connections.h
Ten wykres pokazuje, które pliki bezpośrednio lub pośrednio załączają ten plik:

Idź do kodu źródłowego tego pliku.

Definicje

#define EKG_CONNECTION_ERROR   ekg_connection_error_quark()
 

Definicje typów

typedef void(* ekg_input_callback_t) (GDataInputStream *instream, gpointer data)
 
typedef void(* ekg_failure_callback_t) (GDataInputStream *instream, GError *err, gpointer data)
 
typedef void(* ekg_connection_callback_t) (GSocketConnection *conn, GInputStream *instream, GOutputStream *outstream, gpointer data)
 
typedef void(* ekg_connection_failure_callback_t) (GError *err, gpointer data)
 
typedef typedefvoid struct ekg_connection_starterekg_connection_starter_t
 

Wyliczenia

enum  ekg_connection_error { EKG_CONNECTION_ERROR_EOF }
 

Funkcje

G_GNUC_CONST GQuark ekg_connection_error_quark ()
 
GDataOutputStream * ekg_connection_add (GSocketConnection *conn, GInputStream *rawinstream, GOutputStream *rawoutstream, ekg_input_callback_t callback, ekg_failure_callback_t failure_callback, gpointer priv_data)
 
void ekg_disconnect_by_outstream (GDataOutputStream *f)
 
void ekg_connection_write_buf (GDataOutputStream *f, gconstpointer buf, gsize len)
 
void ekg_connection_write (GDataOutputStream *f, const gchar *format,...) G_GNUC_PRINTF(2
 
ekg_connection_starter_t ekg_connection_starter_new (guint16 defport)
 
void ekg_connection_starter_free (ekg_connection_starter_t cs)
 
void ekg_connection_starter_bind (ekg_connection_starter_t cs, const gchar *hostname)
 
void ekg_connection_starter_set_srv_resolver (ekg_connection_starter_t cs, const gchar *service, const gchar *domain)
 
void ekg_connection_starter_set_servers (ekg_connection_starter_t cs, const gchar *servers)
 
void ekg_connection_starter_set_use_tls (ekg_connection_starter_t cs, gboolean use_tls)
 
GCancellable * ekg_connection_starter_run (ekg_connection_starter_t cs, GSocketClient *sock, ekg_connection_callback_t callback, ekg_connection_failure_callback_t failure_callback, gpointer priv_data)
 

Dokumentacja definicji

◆ EKG_CONNECTION_ERROR

#define EKG_CONNECTION_ERROR   ekg_connection_error_quark()

Dokumentacja definicji typów

◆ ekg_connection_callback_t

typedef void(* ekg_connection_callback_t) (GSocketConnection *conn, GInputStream *instream, GOutputStream *outstream, gpointer data)

◆ ekg_connection_failure_callback_t

typedef void(* ekg_connection_failure_callback_t) (GError *err, gpointer data)

◆ ekg_connection_starter_t

typedef typedefvoid struct ekg_connection_starter* ekg_connection_starter_t

◆ ekg_failure_callback_t

typedef void(* ekg_failure_callback_t) (GDataInputStream *instream, GError *err, gpointer data)

◆ ekg_input_callback_t

typedef void(* ekg_input_callback_t) (GDataInputStream *instream, gpointer data)

Dokumentacja typów wyliczanych

◆ ekg_connection_error

Wartości wyliczeń
EKG_CONNECTION_ERROR_EOF 

Dokumentacja funkcji

◆ ekg_connection_add()

GDataOutputStream* ekg_connection_add ( GSocketConnection *  conn,
GInputStream *  rawinstream,
GOutputStream *  rawoutstream,
ekg_input_callback_t  callback,
ekg_failure_callback_t  failure_callback,
gpointer  priv_data 
)

◆ ekg_connection_error_quark()

G_GNUC_CONST GQuark ekg_connection_error_quark ( )

◆ ekg_connection_starter_bind()

void ekg_connection_starter_bind ( ekg_connection_starter_t  cs,
const gchar *  hostname 
)

◆ ekg_connection_starter_free()

void ekg_connection_starter_free ( ekg_connection_starter_t  cs)

◆ ekg_connection_starter_new()

ekg_connection_starter_t ekg_connection_starter_new ( guint16  defport)

◆ ekg_connection_starter_run()

GCancellable* ekg_connection_starter_run ( ekg_connection_starter_t  cs,
GSocketClient *  sock,
ekg_connection_callback_t  callback,
ekg_connection_failure_callback_t  failure_callback,
gpointer  priv_data 
)

◆ ekg_connection_starter_set_servers()

void ekg_connection_starter_set_servers ( ekg_connection_starter_t  cs,
const gchar *  servers 
)

◆ ekg_connection_starter_set_srv_resolver()

void ekg_connection_starter_set_srv_resolver ( ekg_connection_starter_t  cs,
const gchar *  service,
const gchar *  domain 
)

◆ ekg_connection_starter_set_use_tls()

void ekg_connection_starter_set_use_tls ( ekg_connection_starter_t  cs,
gboolean  use_tls 
)

◆ ekg_connection_write()

void ekg_connection_write ( GDataOutputStream *  f,
const gchar *  format,
  ... 
)

◆ ekg_connection_write_buf()

void ekg_connection_write_buf ( GDataOutputStream *  f,
gconstpointer  buf,
gsize  len 
)

◆ ekg_disconnect_by_outstream()

void ekg_disconnect_by_outstream ( GDataOutputStream *  f)