Add GNativeSocketAddress for handling "other" addresses

Instead of just dropping address types that we're not specifically
handling we return a GNativeSocketAddress which is just a dummy
container for the stuct sockaddr.

https://bugzilla.gnome.org/show_bug.cgi?id=750203
This commit is contained in:
Alexander Larsson
2015-06-01 10:01:26 +02:00
parent f7b13e05f9
commit f8273f39a1
6 changed files with 250 additions and 1 deletions

View File

@@ -1825,6 +1825,26 @@ G_TYPE_UNIX_SOCKET_ADDRESS_TYPE
g_unix_socket_address_get_type
</SECTION>
<SECTION>
<FILE>gnativesocketaddress</FILE>
<TITLE>GNativeSocketAddress</TITLE>
GNativeSocketAddress
GNativeSocketAddressType
g_native_socket_address_new
<SUBSECTION Standard>
GNativeSocketAddressClass
GNativeSocketAddressPrivate
G_IS_NATIVE_SOCKET_ADDRESS
G_IS_NATIVE_SOCKET_ADDRESS_CLASS
G_TYPE_NATIVE_SOCKET_ADDRESS
G_NATIVE_SOCKET_ADDRESS
G_NATIVE_SOCKET_ADDRESS_CLASS
G_NATIVE_SOCKET_ADDRESS_GET_CLASS
G_TYPE_NATIVE_SOCKET_ADDRESS_TYPE
<SUBSECTION Private>
g_native_socket_address_get_type
</SECTION>
<SECTION>
<FILE>gresolver</FILE>
<TITLE>GResolver</TITLE>