Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GProxyInterface Struct Reference

#include <gproxy.h>

Data Fields

GTypeInterface g_iface
 
GIOStream *(* connect )(GProxy *proxy, GIOStream *connection, GProxyAddress *proxy_address, GCancellable *cancellable, GError **error)
 
void(* connect_async )(GProxy *proxy, GIOStream *connection, GProxyAddress *proxy_address, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
GIOStream *(* connect_finish )(GProxy *proxy, GAsyncResult *result, GError **error)
 
gboolean(* supports_hostname )(GProxy *proxy)
 

Detailed Description

GProxyInterface: @g_iface: The parent interface. @connect: Connect to proxy server and wrap (if required) the #connection to handle payload. @connect_async: Same as connect() but asynchronous. @connect_finish: Returns the result of connect_async() @supports_hostname: Returns whether the proxy supports hostname lookups.

Provides an interface for handling proxy connection and payload.

Since: 2.26

Definition at line 66 of file gproxy.h.

Field Documentation

◆ connect

GIOStream *(* _GProxyInterface::connect) (GProxy *proxy, GIOStream *connection, GProxyAddress *proxy_address, GCancellable *cancellable, GError **error)

Definition at line 72 of file gproxy.h.

◆ connect_async

void(* _GProxyInterface::connect_async) (GProxy *proxy, GIOStream *connection, GProxyAddress *proxy_address, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)

Definition at line 78 of file gproxy.h.

◆ connect_finish

GIOStream *(* _GProxyInterface::connect_finish) (GProxy *proxy, GAsyncResult *result, GError **error)

Definition at line 85 of file gproxy.h.

◆ g_iface

GTypeInterface _GProxyInterface::g_iface

Definition at line 68 of file gproxy.h.

◆ supports_hostname

gboolean(* _GProxyInterface::supports_hostname) (GProxy *proxy)

Definition at line 89 of file gproxy.h.


The documentation for this struct was generated from the following file: