summaryrefslogtreecommitdiff
path: root/gio/gsocketaddress.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-12-06 14:04:59 -0500
committerRyan Lortie <desrt@desrt.ca>2013-01-13 13:11:57 -0500
commit0156092a4203d1c40dcd0df7515fc7eeaebba9ac (patch)
tree6dba99c97911f6d5bcd57b0881e9cc61a721e516 /gio/gsocketaddress.h
parent0dba77d0f4a28671d77222129f219b5961748562 (diff)
downloadglib-0156092a4203d1c40dcd0df7515fc7eeaebba9ac.tar.gz
various: add GLIB_AVAILABLE_IN_ALL everywhere else
Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681
Diffstat (limited to 'gio/gsocketaddress.h')
-rw-r--r--gio/gsocketaddress.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gsocketaddress.h b/gio/gsocketaddress.h
index f6119a105..dce3139a0 100644
--- a/gio/gsocketaddress.h
+++ b/gio/gsocketaddress.h
@@ -60,18 +60,23 @@ struct _GSocketAddressClass
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketFamily g_socket_address_get_family (GSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress * g_socket_address_new_from_native (gpointer native,
gsize len);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_address_to_native (GSocketAddress *address,
gpointer dest,
gsize destlen,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_address_get_native_size (GSocketAddress *address);
G_END_DECLS