mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Added proxy_enumerate method to GSocketConnectable
Reviewed-by: Dan Winship <danw@gnome.org>
This commit is contained in:
@@ -45,8 +45,10 @@ typedef struct _GSocketConnectableIface GSocketConnectableIface;
|
||||
* GSocketConnectableIface:
|
||||
* @g_iface: The parent interface.
|
||||
* @enumerate: Creates a #GSocketAddressEnumerator
|
||||
* @proxy_enumerate: Creates a #GProxyAddressEnumerator
|
||||
*
|
||||
* Provides an interface for returning a #GSocketAddressEnumerator
|
||||
* and #GProxyAddressEnumerator
|
||||
*/
|
||||
struct _GSocketConnectableIface
|
||||
{
|
||||
@@ -54,7 +56,9 @@ struct _GSocketConnectableIface
|
||||
|
||||
/* Virtual Table */
|
||||
|
||||
GSocketAddressEnumerator * (* enumerate) (GSocketConnectable *connectable);
|
||||
GSocketAddressEnumerator * (* enumerate) (GSocketConnectable *connectable);
|
||||
|
||||
GSocketAddressEnumerator * (* proxy_enumerate) (GSocketConnectable *connectable);
|
||||
|
||||
};
|
||||
|
||||
@@ -62,6 +66,8 @@ GType g_socket_connectable_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GSocketAddressEnumerator *g_socket_connectable_enumerate (GSocketConnectable *connectable);
|
||||
|
||||
GSocketAddressEnumerator *g_socket_connectable_proxy_enumerate (GSocketConnectable *connectable);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user