diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-12-06 14:04:59 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-01-13 13:11:57 -0500 |
commit | 0156092a4203d1c40dcd0df7515fc7eeaebba9ac (patch) | |
tree | 6dba99c97911f6d5bcd57b0881e9cc61a721e516 /gio/gunixconnection.h | |
parent | 0dba77d0f4a28671d77222129f219b5961748562 (diff) | |
download | glib-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/gunixconnection.h')
-rw-r--r-- | gio/gunixconnection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gunixconnection.h b/gio/gunixconnection.h index 83f2c983b..bd873744c 100644 --- a/gio/gunixconnection.h +++ b/gio/gunixconnection.h @@ -54,16 +54,20 @@ struct _GUnixConnection GUnixConnectionPrivate *priv; }; +GLIB_AVAILABLE_IN_ALL GType g_unix_connection_get_type (void); +GLIB_AVAILABLE_IN_ALL gboolean g_unix_connection_send_fd (GUnixConnection *connection, gint fd, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL gint g_unix_connection_receive_fd (GUnixConnection *connection, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL gboolean g_unix_connection_send_credentials (GUnixConnection *connection, GCancellable *cancellable, GError **error); @@ -86,6 +90,7 @@ void g_unix_connection_receive_credentials_async (GUnixCo GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); +GLIB_AVAILABLE_IN_ALL GCredentials *g_unix_connection_receive_credentials_finish (GUnixConnection *connection, GAsyncResult *result, GError **error); |