Add g_inet_address_get_native_size (#583205)

This can be used to get the size of g_inet_address_to_bytes().
This commit is contained in:
Alexander Larsson
2009-05-25 11:33:56 +02:00
parent fb70c6420b
commit ce171195d9
4 changed files with 25 additions and 1 deletions

View File

@@ -73,6 +73,8 @@ gchar * g_inet_address_to_string (GInetAddress
const guint8 * g_inet_address_to_bytes (GInetAddress *address);
gsize g_inet_address_get_native_size (GInetAddress *address);
GSocketFamily g_inet_address_get_family (GInetAddress *address);
gboolean g_inet_address_get_is_any (GInetAddress *address);