diff options
author | Dan Winship <danw@gnome.org> | 2011-12-29 09:42:25 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-01-16 13:37:02 -0500 |
commit | bf7408c30bac5b0a20202be5aaa850dd0ca1e671 (patch) | |
tree | 0fad950761920f4c082a59f33377471ec21c0887 /gio/ginetsocketaddress.h | |
parent | c71fc7477ed3ebe513432cba21d69ca99d7eb81c (diff) |
GInetSocketAddress: add IPv6 flowinfo and scope_id fields
struct sin6_addr has two additional fields that struct sin_addr
doesn't. Add support for those to GInetSocketAddress, and make sure
they don't get lost when converting between glib and native types.
https://bugzilla.gnome.org/show_bug.cgi?id=635554
Diffstat (limited to 'gio/ginetsocketaddress.h')
-rw-r--r-- | gio/ginetsocketaddress.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gio/ginetsocketaddress.h b/gio/ginetsocketaddress.h index b455ac57d..94caec8b5 100644 --- a/gio/ginetsocketaddress.h +++ b/gio/ginetsocketaddress.h @@ -55,14 +55,16 @@ struct _GInetSocketAddressClass GSocketAddressClass parent_class; }; -GType g_inet_socket_address_get_type (void) G_GNUC_CONST; +GType g_inet_socket_address_get_type (void) G_GNUC_CONST; -GSocketAddress *g_inet_socket_address_new (GInetAddress *address, - guint16 port); +GSocketAddress *g_inet_socket_address_new (GInetAddress *address, + guint16 port); -GInetAddress * g_inet_socket_address_get_address (GInetSocketAddress *address); +GInetAddress * g_inet_socket_address_get_address (GInetSocketAddress *address); +guint16 g_inet_socket_address_get_port (GInetSocketAddress *address); -guint16 g_inet_socket_address_get_port (GInetSocketAddress *address); +guint32 g_inet_socket_address_get_flowinfo (GInetSocketAddress *address); +guint32 g_inet_socket_address_get_scope_id (GInetSocketAddress *address); G_END_DECLS |