summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
Diffstat (limited to 'gio')
-rw-r--r--gio/gaction.h8
-rw-r--r--gio/gactiongroup.h14
-rw-r--r--gio/gappinfo.h37
-rw-r--r--gio/gapplication.h17
-rw-r--r--gio/gapplicationcommandline.h11
-rw-r--r--gio/gasyncinitable.h7
-rw-r--r--gio/gasyncresult.h3
-rw-r--r--gio/gbufferedinputstream.h12
-rw-r--r--gio/gbufferedoutputstream.h7
-rw-r--r--gio/gcancellable.h15
-rw-r--r--gio/gcharsetconverter.h5
-rw-r--r--gio/gcontenttype.h11
-rw-r--r--gio/gconverter.h3
-rw-r--r--gio/gconverterinputstream.h3
-rw-r--r--gio/gconverteroutputstream.h3
-rw-r--r--gio/gcredentials.h8
-rw-r--r--gio/gdatainputstream.h22
-rw-r--r--gio/gdataoutputstream.h12
-rw-r--r--gio/gdbusactiongroup.h1
-rw-r--r--gio/gdbusaddress.h6
-rw-r--r--gio/gdbusauthobserver.h3
-rw-r--r--gio/gdbusconnection.h41
-rw-r--r--gio/gdbuserror.h11
-rw-r--r--gio/gdbusinterface.h4
-rw-r--r--gio/gdbusinterfaceskeleton.h14
-rw-r--r--gio/gdbusintrospection.h31
-rw-r--r--gio/gdbusmenumodel.h2
-rw-r--r--gio/gdbusmessage.h50
-rw-r--r--gio/gdbusmethodinvocation.h18
-rw-r--r--gio/gdbusnameowning.h5
-rw-r--r--gio/gdbusnamewatching.h5
-rw-r--r--gio/gdbusobject.h4
-rw-r--r--gio/gdbusobjectmanager.h5
-rw-r--r--gio/gdbusobjectmanagerclient.h11
-rw-r--r--gio/gdbusobjectmanagerserver.h8
-rw-r--r--gio/gdbusobjectproxy.h3
-rw-r--r--gio/gdbusobjectskeleton.h7
-rw-r--r--gio/gdbusproxy.h26
-rw-r--r--gio/gdbusserver.h8
-rw-r--r--gio/gdbusutils.h8
-rw-r--r--gio/gdesktopappinfo.h7
-rw-r--r--gio/gdrive.h25
-rw-r--r--gio/gemblem.h5
-rw-r--r--gio/gemblemedicon.h6
-rw-r--r--gio/gfile.h109
-rw-r--r--gio/gfileattribute.h7
-rw-r--r--gio/gfiledescriptorbased.h2
-rw-r--r--gio/gfileenumerator.h11
-rw-r--r--gio/gfileicon.h3
-rw-r--r--gio/gfileinfo.h72
-rw-r--r--gio/gfileinputstream.h4
-rw-r--r--gio/gfileiostream.h5
-rw-r--r--gio/gfilemonitor.h5
-rw-r--r--gio/gfilenamecompleter.h5
-rw-r--r--gio/gfileoutputstream.h5
-rw-r--r--gio/gfilterinputstream.h4
-rw-r--r--gio/gfilteroutputstream.h4
-rw-r--r--gio/gicon.h5
-rw-r--r--gio/ginetaddress.h20
-rw-r--r--gio/ginetsocketaddress.h4
-rw-r--r--gio/ginitable.h5
-rw-r--r--gio/ginputstream.h15
-rw-r--r--gio/gioerror.h3
-rw-r--r--gio/giomodule.h18
-rw-r--r--gio/giostream.h12
-rw-r--r--gio/gloadableicon.h4
-rw-r--r--gio/glocaldirectorymonitor.h1
-rw-r--r--gio/glocalfileinputstream.h3
-rw-r--r--gio/glocalfileiostream.h2
-rw-r--r--gio/glocalfilemonitor.h1
-rw-r--r--gio/gmemoryinputstream.h4
-rw-r--r--gio/gmemoryoutputstream.h6
-rw-r--r--gio/gmount.h24
-rw-r--r--gio/gmountoperation.h15
-rw-r--r--gio/gnativevolumemonitor.h1
-rw-r--r--gio/gnetworkaddress.h7
-rw-r--r--gio/gnetworkmonitor.h4
-rw-r--r--gio/gnetworkmonitorbase.h2
-rw-r--r--gio/gnetworkservice.h7
-rw-r--r--gio/goutputstream.h19
-rw-r--r--gio/gpermission.h11
-rw-r--r--gio/gpollableinputstream.h5
-rw-r--r--gio/gpollableoutputstream.h5
-rw-r--r--gio/gpollableutils.h1
-rw-r--r--gio/gproxy.h6
-rw-r--r--gio/gproxyaddress.h7
-rw-r--r--gio/gproxyaddressenumerator.h1
-rw-r--r--gio/gproxyresolver.h6
-rw-r--r--gio/gresolver.h15
-rw-r--r--gio/gseekable.h6
-rw-r--r--gio/gsettings.h44
-rw-r--r--gio/gsettingsbackend.h12
-rw-r--r--gio/gsimpleaction.h4
-rw-r--r--gio/gsimpleactiongroup.h5
-rw-r--r--gio/gsimpleasyncresult.h25
-rw-r--r--gio/gsimplepermission.h2
-rw-r--r--gio/gsocket.h40
-rw-r--r--gio/gsocketaddress.h5
-rw-r--r--gio/gsocketaddressenumerator.h4
-rw-r--r--gio/gsocketclient.h31
-rw-r--r--gio/gsocketconnectable.h3
-rw-r--r--gio/gsocketconnection.h7
-rw-r--r--gio/gsocketcontrolmessage.h6
-rw-r--r--gio/gsocketlistener.h14
-rw-r--r--gio/gsocketservice.h5
-rw-r--r--gio/gsrvtarget.h9
-rw-r--r--gio/gtcpconnection.h3
-rw-r--r--gio/gtcpwrapperconnection.h3
-rw-r--r--gio/gthemedicon.h7
-rw-r--r--gio/gthreadedresolver.h1
-rw-r--r--gio/gthreadedsocketservice.h2
-rw-r--r--gio/gtlsbackend.h8
-rw-r--r--gio/gtlscertificate.h7
-rw-r--r--gio/gtlsclientconnection.h9
-rw-r--r--gio/gtlsconnection.h18
-rw-r--r--gio/gtlsdatabase.h14
-rw-r--r--gio/gtlsfiledatabase.h2
-rw-r--r--gio/gtlsinteraction.h5
-rw-r--r--gio/gtlspassword.h11
-rw-r--r--gio/gtlsserverconnection.h2
-rw-r--r--gio/gunixconnection.h5
-rw-r--r--gio/gunixcredentialsmessage.h5
-rw-r--r--gio/gunixfdlist.h8
-rw-r--r--gio/gunixfdmessage.h6
-rw-r--r--gio/gunixinputstream.h5
-rw-r--r--gio/gunixmounts.h33
-rw-r--r--gio/gunixoutputstream.h5
-rw-r--r--gio/gunixsocketaddress.h7
-rw-r--r--gio/gvfs.h8
-rw-r--r--gio/gvolume.h17
-rw-r--r--gio/gvolumemonitor.h7
-rw-r--r--gio/gwin32appinfo.h1
-rw-r--r--gio/gwin32inputstream.h5
-rw-r--r--gio/gwin32outputstream.h5
-rw-r--r--gio/gzlibcompressor.h4
-rw-r--r--gio/gzlibdecompressor.h3
136 files changed, 1425 insertions, 0 deletions
diff --git a/gio/gaction.h b/gio/gaction.h
index 305ff27b0..5f846ca76 100644
--- a/gio/gaction.h
+++ b/gio/gaction.h
@@ -61,16 +61,24 @@ struct _GActionInterface
GLIB_AVAILABLE_IN_2_30
GType g_action_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
const gchar * g_action_get_name (GAction *action);
+GLIB_AVAILABLE_IN_ALL
const GVariantType * g_action_get_parameter_type (GAction *action);
+GLIB_AVAILABLE_IN_ALL
const GVariantType * g_action_get_state_type (GAction *action);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_action_get_state_hint (GAction *action);
+GLIB_AVAILABLE_IN_ALL
gboolean g_action_get_enabled (GAction *action);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_action_get_state (GAction *action);
+GLIB_AVAILABLE_IN_ALL
void g_action_change_state (GAction *action,
GVariant *value);
+GLIB_AVAILABLE_IN_ALL
void g_action_activate (GAction *action,
GVariant *parameter);
G_END_DECLS
diff --git a/gio/gactiongroup.h b/gio/gactiongroup.h
index f93dc4f6f..9fc3b2bc8 100644
--- a/gio/gactiongroup.h
+++ b/gio/gactiongroup.h
@@ -96,41 +96,55 @@ struct _GActionGroupInterface
GVariant **state);
};
+GLIB_AVAILABLE_IN_ALL
GType g_action_group_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_action_group_has_action (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_action_group_list_actions (GActionGroup *action_group);
+GLIB_AVAILABLE_IN_ALL
const GVariantType * g_action_group_get_action_parameter_type (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
const GVariantType * g_action_group_get_action_state_type (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_action_group_get_action_state_hint (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
gboolean g_action_group_get_action_enabled (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_action_group_get_action_state (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
void g_action_group_change_action_state (GActionGroup *action_group,
const gchar *action_name,
GVariant *value);
+GLIB_AVAILABLE_IN_ALL
void g_action_group_activate_action (GActionGroup *action_group,
const gchar *action_name,
GVariant *parameter);
/* signals */
+GLIB_AVAILABLE_IN_ALL
void g_action_group_action_added (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
void g_action_group_action_removed (GActionGroup *action_group,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
void g_action_group_action_enabled_changed (GActionGroup *action_group,
const gchar *action_name,
gboolean enabled);
+GLIB_AVAILABLE_IN_ALL
void g_action_group_action_state_changed (GActionGroup *action_group,
const gchar *action_name,
GVariant *state);
diff --git a/gio/gappinfo.h b/gio/gappinfo.h
index 7ebf14824..baed4c405 100644
--- a/gio/gappinfo.h
+++ b/gio/gappinfo.h
@@ -135,66 +135,98 @@ struct _GAppInfoIface
const char ** (* get_supported_types) (GAppInfo *appinfo);
};
+GLIB_AVAILABLE_IN_ALL
GType g_app_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GAppInfo * g_app_info_create_from_commandline (const char *commandline,
const char *application_name,
GAppInfoCreateFlags flags,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GAppInfo * g_app_info_dup (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_equal (GAppInfo *appinfo1,
GAppInfo *appinfo2);
+GLIB_AVAILABLE_IN_ALL
const char *g_app_info_get_id (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
const char *g_app_info_get_name (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
const char *g_app_info_get_display_name (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
const char *g_app_info_get_description (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
const char *g_app_info_get_executable (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
const char *g_app_info_get_commandline (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_app_info_get_icon (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_launch (GAppInfo *appinfo,
GList *files,
GAppLaunchContext *launch_context,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_supports_uris (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_supports_files (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_launch_uris (GAppInfo *appinfo,
GList *uris,
GAppLaunchContext *launch_context,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_should_show (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_set_as_default_for_type (GAppInfo *appinfo,
const char *content_type,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_set_as_default_for_extension (GAppInfo *appinfo,
const char *extension,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_add_supports_type (GAppInfo *appinfo,
const char *content_type,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_can_remove_supports_type (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_remove_supports_type (GAppInfo *appinfo,
const char *content_type,
GError **error);
GLIB_AVAILABLE_IN_2_34
const char **g_app_info_get_supported_types (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_can_delete (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_delete (GAppInfo *appinfo);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_set_as_last_used_for_type (GAppInfo *appinfo,
const char *content_type,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GList * g_app_info_get_all (void);
+GLIB_AVAILABLE_IN_ALL
GList * g_app_info_get_all_for_type (const char *content_type);
+GLIB_AVAILABLE_IN_ALL
GList * g_app_info_get_recommended_for_type (const gchar *content_type);
+GLIB_AVAILABLE_IN_ALL
GList * g_app_info_get_fallback_for_type (const gchar *content_type);
+GLIB_AVAILABLE_IN_ALL
void g_app_info_reset_type_associations (const char *content_type);
+GLIB_AVAILABLE_IN_ALL
GAppInfo *g_app_info_get_default_for_type (const char *content_type,
gboolean must_support_uris);
+GLIB_AVAILABLE_IN_ALL
GAppInfo *g_app_info_get_default_for_uri_scheme (const char *uri_scheme);
+GLIB_AVAILABLE_IN_ALL
gboolean g_app_info_launch_default_for_uri (const char *uri,
GAppLaunchContext *launch_context,
GError **error);
@@ -237,7 +269,9 @@ struct _GAppLaunchContextClass
void (*_g_reserved4) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_app_launch_context_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GAppLaunchContext *g_app_launch_context_new (void);
GLIB_AVAILABLE_IN_2_32
@@ -250,12 +284,15 @@ void g_app_launch_context_unsetenv (GAppLaunchContext
GLIB_AVAILABLE_IN_2_32
char ** g_app_launch_context_get_environment (GAppLaunchContext *context);
+GLIB_AVAILABLE_IN_ALL
char * g_app_launch_context_get_display (GAppLaunchContext *context,
GAppInfo *info,
GList *files);
+GLIB_AVAILABLE_IN_ALL
char * g_app_launch_context_get_startup_notify_id (GAppLaunchContext *context,
GAppInfo *info,
GList *files);
+GLIB_AVAILABLE_IN_ALL
void g_app_launch_context_launch_failed (GAppLaunchContext *context,
const char * startup_notify_id);
diff --git a/gio/gapplication.h b/gio/gapplication.h
index 06625d18f..7829892c7 100644
--- a/gio/gapplication.h
+++ b/gio/gapplication.h
@@ -122,14 +122,19 @@ struct _GApplicationClass
gpointer padding[9];
};
+GLIB_AVAILABLE_IN_ALL
GType g_application_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_application_id_is_valid (const gchar *application_id);
+GLIB_AVAILABLE_IN_ALL
GApplication * g_application_new (const gchar *application_id,
GApplicationFlags flags);
+GLIB_AVAILABLE_IN_ALL
const gchar * g_application_get_application_id (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
void g_application_set_application_id (GApplication *application,
const gchar *application_id);
@@ -138,11 +143,15 @@ GDBusConnection * g_application_get_dbus_connection (GApplic
GLIB_AVAILABLE_IN_2_34
const gchar * g_application_get_dbus_object_path (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
guint g_application_get_inactivity_timeout (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
void g_application_set_inactivity_timeout (GApplication *application,
guint inactivity_timeout);
+GLIB_AVAILABLE_IN_ALL
GApplicationFlags g_application_get_flags (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
void g_application_set_flags (GApplication *application,
GApplicationFlags flags);
@@ -150,23 +159,31 @@ GLIB_DEPRECATED
void g_application_set_action_group (GApplication *application,
GActionGroup *action_group);
+GLIB_AVAILABLE_IN_ALL
gboolean g_application_get_is_registered (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
gboolean g_application_get_is_remote (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
gboolean g_application_register (GApplication *application,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_application_hold (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
void g_application_release (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
void g_application_activate (GApplication *application);
+GLIB_AVAILABLE_IN_ALL
void g_application_open (GApplication *application,
GFile **files,
gint n_files,
const gchar *hint);
+GLIB_AVAILABLE_IN_ALL
int g_application_run (GApplication *application,
int argc,
char **argv);
diff --git a/gio/gapplicationcommandline.h b/gio/gapplicationcommandline.h
index d0f6135af..334ae1c12 100644
--- a/gio/gapplicationcommandline.h
+++ b/gio/gapplicationcommandline.h
@@ -71,33 +71,44 @@ struct _GApplicationCommandLineClass
gpointer padding[11];
};
+GLIB_AVAILABLE_IN_ALL
GType g_application_command_line_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gchar ** g_application_command_line_get_arguments (GApplicationCommandLine *cmdline,
int *argc);
GInputStream * g_application_command_line_get_stdin (GApplicationCommandLine *cmdline);
+GLIB_AVAILABLE_IN_ALL
const gchar * const * g_application_command_line_get_environ (GApplicationCommandLine *cmdline);
+GLIB_AVAILABLE_IN_ALL
const gchar * g_application_command_line_getenv (GApplicationCommandLine *cmdline,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
const gchar * g_application_command_line_get_cwd (GApplicationCommandLine *cmdline);
+GLIB_AVAILABLE_IN_ALL
gboolean g_application_command_line_get_is_remote (GApplicationCommandLine *cmdline);
+GLIB_AVAILABLE_IN_ALL
void g_application_command_line_print (GApplicationCommandLine *cmdline,
const gchar *format,
...) G_GNUC_PRINTF(2, 3);
+GLIB_AVAILABLE_IN_ALL
void g_application_command_line_printerr (GApplicationCommandLine *cmdline,
const gchar *format,
...) G_GNUC_PRINTF(2, 3);
+GLIB_AVAILABLE_IN_ALL
int g_application_command_line_get_exit_status (GApplicationCommandLine *cmdline);
+GLIB_AVAILABLE_IN_ALL
void g_application_command_line_set_exit_status (GApplicationCommandLine *cmdline,
int exit_status);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_application_command_line_get_platform_data (GApplicationCommandLine *cmdline);
GLIB_AVAILABLE_IN_2_36
diff --git a/gio/gasyncinitable.h b/gio/gasyncinitable.h
index 1b1004df7..af5cfb1be 100644
--- a/gio/gasyncinitable.h
+++ b/gio/gasyncinitable.h
@@ -74,18 +74,22 @@ struct _GAsyncInitableIface
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_async_initable_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
void g_async_initable_init_async (GAsyncInitable *initable,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_async_initable_init_finish (GAsyncInitable *initable,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_async_initable_new_async (GType object_type,
int io_priority,
GCancellable *cancellable,
@@ -93,6 +97,7 @@ void g_async_initable_new_async (GType object_type,
gpointer user_data,
const gchar *first_property_name,
...);
+GLIB_AVAILABLE_IN_ALL
void g_async_initable_newv_async (GType object_type,
guint n_parameters,
GParameter *parameters,
@@ -100,6 +105,7 @@ void g_async_initable_newv_async (GType object_type,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
void g_async_initable_new_valist_async (GType object_type,
const gchar *first_property_name,
va_list var_args,
@@ -107,6 +113,7 @@ void g_async_initable_new_valist_async (GType object_type,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GObject *g_async_initable_new_finish (GAsyncInitable *initable,
GAsyncResult *res,
GError **error);
diff --git a/gio/gasyncresult.h b/gio/gasyncresult.h
index cb3f967d9..a073655b5 100644
--- a/gio/gasyncresult.h
+++ b/gio/gasyncresult.h
@@ -67,9 +67,12 @@ struct _GAsyncResultIface
gpointer tag);
};
+GLIB_AVAILABLE_IN_ALL
GType g_async_result_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gpointer g_async_result_get_user_data (GAsyncResult *res);
+GLIB_AVAILABLE_IN_ALL
GObject *g_async_result_get_source_object (GAsyncResult *res);
GLIB_AVAILABLE_IN_2_34
diff --git a/gio/gbufferedinputstream.h b/gio/gbufferedinputstream.h
index f5dfe50b9..a4f8ef047 100644
--- a/gio/gbufferedinputstream.h
+++ b/gio/gbufferedinputstream.h
@@ -84,36 +84,48 @@ struct _GBufferedInputStreamClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_buffered_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream* g_buffered_input_stream_new (GInputStream *base_stream);
+GLIB_AVAILABLE_IN_ALL
GInputStream* g_buffered_input_stream_new_sized (GInputStream *base_stream,
gsize size);
+GLIB_AVAILABLE_IN_ALL
gsize g_buffered_input_stream_get_buffer_size (GBufferedInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_buffered_input_stream_set_buffer_size (GBufferedInputStream *stream,
gsize size);
+GLIB_AVAILABLE_IN_ALL
gsize g_buffered_input_stream_get_available (GBufferedInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gsize g_buffered_input_stream_peek (GBufferedInputStream *stream,
void *buffer,
gsize offset,
gsize count);
+GLIB_AVAILABLE_IN_ALL
const void* g_buffered_input_stream_peek_buffer (GBufferedInputStream *stream,
gsize *count);
+GLIB_AVAILABLE_IN_ALL
gssize g_buffered_input_stream_fill (GBufferedInputStream *stream,
gssize count,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_buffered_input_stream_fill_async (GBufferedInputStream *stream,
gssize count,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gssize g_buffered_input_stream_fill_finish (GBufferedInputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
int g_buffered_input_stream_read_byte (GBufferedInputStream *stream,
GCancellable *cancellable,
GError **error);
diff --git a/gio/gbufferedoutputstream.h b/gio/gbufferedoutputstream.h
index d000331f1..49c0fa976 100644
--- a/gio/gbufferedoutputstream.h
+++ b/gio/gbufferedoutputstream.h
@@ -65,14 +65,21 @@ struct _GBufferedOutputStreamClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_buffered_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream);
+GLIB_AVAILABLE_IN_ALL
GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream,
gsize size);
+GLIB_AVAILABLE_IN_ALL
gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream,
gsize size);
+GLIB_AVAILABLE_IN_ALL
gboolean g_buffered_output_stream_get_auto_grow (GBufferedOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_buffered_output_stream_set_auto_grow (GBufferedOutputStream *stream,
gboolean auto_grow);
diff --git a/gio/gcancellable.h b/gio/gcancellable.h
index a2b751da1..e44bbadf9 100644
--- a/gio/gcancellable.h
+++ b/gio/gcancellable.h
@@ -69,35 +69,50 @@ struct _GCancellableClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_cancellable_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GCancellable *g_cancellable_new (void);
/* These are only safe to call inside a cancellable op */
+GLIB_AVAILABLE_IN_ALL
gboolean g_cancellable_is_cancelled (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_cancellable_set_error_if_cancelled (GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
int g_cancellable_get_fd (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_cancellable_make_pollfd (GCancellable *cancellable,
GPollFD *pollfd);
+GLIB_AVAILABLE_IN_ALL
void g_cancellable_release_fd (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
GSource * g_cancellable_source_new (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
GCancellable *g_cancellable_get_current (void);
+GLIB_AVAILABLE_IN_ALL
void g_cancellable_push_current (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
void g_cancellable_pop_current (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
void g_cancellable_reset (GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
gulong g_cancellable_connect (GCancellable *cancellable,
GCallback callback,
gpointer data,
GDestroyNotify data_destroy_func);
+GLIB_AVAILABLE_IN_ALL
void g_cancellable_disconnect (GCancellable *cancellable,
gulong handler_id);
/* This is safe to call from another thread */
+GLIB_AVAILABLE_IN_ALL
void g_cancellable_cancel (GCancellable *cancellable);
G_END_DECLS
diff --git a/gio/gcharsetconverter.h b/gio/gcharsetconverter.h
index 4e7254d0e..af9b98963 100644
--- a/gio/gcharsetconverter.h
+++ b/gio/gcharsetconverter.h
@@ -45,14 +45,19 @@ struct _GCharsetConverterClass
GObjectClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_charset_converter_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GCharsetConverter *g_charset_converter_new (const gchar *to_charset,
const gchar *from_charset,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_charset_converter_set_use_fallback (GCharsetConverter *converter,
gboolean use_fallback);
+GLIB_AVAILABLE_IN_ALL
gboolean g_charset_converter_get_use_fallback (GCharsetConverter *converter);
+GLIB_AVAILABLE_IN_ALL
guint g_charset_converter_get_num_fallbacks (GCharsetConverter *converter);
G_END_DECLS
diff --git a/gio/gcontenttype.h b/gio/gcontenttype.h
index 04af8374b..9ffbdeba6 100644
--- a/gio/gcontenttype.h
+++ b/gio/gcontenttype.h
@@ -31,30 +31,41 @@
G_BEGIN_DECLS
+GLIB_AVAILABLE_IN_ALL
gboolean g_content_type_equals (const gchar *type1,
const gchar *type2);
+GLIB_AVAILABLE_IN_ALL
gboolean g_content_type_is_a (const gchar *type,
const gchar *supertype);
+GLIB_AVAILABLE_IN_ALL
gboolean g_content_type_is_unknown (const gchar *type);
+GLIB_AVAILABLE_IN_ALL
gchar * g_content_type_get_description (const gchar *type);
+GLIB_AVAILABLE_IN_ALL
gchar * g_content_type_get_mime_type (const gchar *type);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_content_type_get_icon (const gchar *type);
GLIB_AVAILABLE_IN_2_34
GIcon * g_content_type_get_symbolic_icon (const gchar *type);
GLIB_AVAILABLE_IN_2_34
gchar * g_content_type_get_generic_icon_name (const gchar *type);
+GLIB_AVAILABLE_IN_ALL
gboolean g_content_type_can_be_executable (const gchar *type);
+GLIB_AVAILABLE_IN_ALL
gchar * g_content_type_from_mime_type (const gchar *mime_type);
+GLIB_AVAILABLE_IN_ALL
gchar * g_content_type_guess (const gchar *filename,
const guchar *data,
gsize data_size,
gboolean *result_uncertain);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_content_type_guess_for_tree (GFile *root);
+GLIB_AVAILABLE_IN_ALL
GList * g_content_types_get_registered (void);
G_END_DECLS
diff --git a/gio/gconverter.h b/gio/gconverter.h
index d98b92cf0..4fea64d46 100644
--- a/gio/gconverter.h
+++ b/gio/gconverter.h
@@ -75,8 +75,10 @@ struct _GConverterIface
void (* reset) (GConverter *converter);
};
+GLIB_AVAILABLE_IN_ALL
GType g_converter_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GConverterResult g_converter_convert (GConverter *converter,
const void *inbuf,
gsize inbuf_size,
@@ -86,6 +88,7 @@ GConverterResult g_converter_convert (GConverter *converter,
gsize *bytes_read,
gsize *bytes_written,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_converter_reset (GConverter *converter);
diff --git a/gio/gconverterinputstream.h b/gio/gconverterinputstream.h
index 1f534ccd9..3a8f8458e 100644
--- a/gio/gconverterinputstream.h
+++ b/gio/gconverterinputstream.h
@@ -69,9 +69,12 @@ struct _GConverterInputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_converter_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream *g_converter_input_stream_new (GInputStream *base_stream,
GConverter *converter);
+GLIB_AVAILABLE_IN_ALL
GConverter *g_converter_input_stream_get_converter (GConverterInputStream *converter_stream);
G_END_DECLS
diff --git a/gio/gconverteroutputstream.h b/gio/gconverteroutputstream.h
index 3b6495733..1f9100129 100644
--- a/gio/gconverteroutputstream.h
+++ b/gio/gconverteroutputstream.h
@@ -69,9 +69,12 @@ struct _GConverterOutputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_converter_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GOutputStream *g_converter_output_stream_new (GOutputStream *base_stream,
GConverter *converter);
+GLIB_AVAILABLE_IN_ALL
GConverter *g_converter_output_stream_get_converter (GConverterOutputStream *converter_stream);
G_END_DECLS
diff --git a/gio/gcredentials.h b/gio/gcredentials.h
index 6c9565786..ff1ae4df0 100644
--- a/gio/gcredentials.h
+++ b/gio/gcredentials.h
@@ -46,19 +46,25 @@ G_BEGIN_DECLS
typedef struct _GCredentialsClass GCredentialsClass;
+GLIB_AVAILABLE_IN_ALL
GType g_credentials_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GCredentials *g_credentials_new (void);
+GLIB_AVAILABLE_IN_ALL
gchar *g_credentials_to_string (GCredentials *credentials);
+GLIB_AVAILABLE_IN_ALL
gpointer g_credentials_get_native (GCredentials *credentials,
GCredentialsType native_type);
+GLIB_AVAILABLE_IN_ALL
void g_credentials_set_native (GCredentials *credentials,
GCredentialsType native_type,
gpointer native);
+GLIB_AVAILABLE_IN_ALL
gboolean g_credentials_is_same_user (GCredentials *credentials,
GCredentials *other_credentials,
GError **error);
@@ -67,8 +73,10 @@ gboolean g_credentials_is_same_user (GCredentials *credentials,
GLIB_AVAILABLE_IN_2_36
pid_t g_credentials_get_unix_pid (GCredentials *credentials,
GError **error);
+GLIB_AVAILABLE_IN_ALL
uid_t g_credentials_get_unix_user (GCredentials *credentials,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_credentials_set_unix_user (GCredentials *credentials,
uid_t uid,
GError **error);
diff --git a/gio/gdatainputstream.h b/gio/gdatainputstream.h
index 9612f1864..3ebf67ab0 100644
--- a/gio/gdatainputstream.h
+++ b/gio/gdatainputstream.h
@@ -68,36 +68,50 @@ struct _GDataInputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_data_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDataInputStream * g_data_input_stream_new (GInputStream *base_stream);
+GLIB_AVAILABLE_IN_ALL
void g_data_input_stream_set_byte_order (GDataInputStream *stream,
GDataStreamByteOrder order);
+GLIB_AVAILABLE_IN_ALL
GDataStreamByteOrder g_data_input_stream_get_byte_order (GDataInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_data_input_stream_set_newline_type (GDataInputStream *stream,
GDataStreamNewlineType type);
+GLIB_AVAILABLE_IN_ALL
GDataStreamNewlineType g_data_input_stream_get_newline_type (GDataInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
guchar g_data_input_stream_read_byte (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gint16 g_data_input_stream_read_int16 (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
guint16 g_data_input_stream_read_uint16 (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gint32 g_data_input_stream_read_int32 (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
guint32 g_data_input_stream_read_uint32 (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gint64 g_data_input_stream_read_int64 (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
guint64 g_data_input_stream_read_uint64 (GDataInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_data_input_stream_read_line (GDataInputStream *stream,
gsize *length,
GCancellable *cancellable,
@@ -107,11 +121,13 @@ char * g_data_input_stream_read_line_utf8 (GDataInputStrea
gsize *length,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_data_input_stream_read_line_async (GDataInputStream *stream,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
char * g_data_input_stream_read_line_finish (GDataInputStream *stream,
GAsyncResult *result,
gsize *length,
@@ -121,28 +137,33 @@ char * g_data_input_stream_read_line_finish_utf8(GDataInputStrea
GAsyncResult *result,
gsize *length,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_data_input_stream_read_until (GDataInputStream *stream,
const gchar *stop_chars,
gsize *length,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_data_input_stream_read_until_async (GDataInputStream *stream,
const gchar *stop_chars,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
char * g_data_input_stream_read_until_finish (GDataInputStream *stream,
GAsyncResult *result,
gsize *length,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_data_input_stream_read_upto (GDataInputStream *stream,
const gchar *stop_chars,
gssize stop_chars_len,
gsize *length,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_data_input_stream_read_upto_async (GDataInputStream *stream,
const gchar *stop_chars,
gssize stop_chars_len,
@@ -150,6 +171,7 @@ void g_data_input_stream_read_upto_async (GDataInputStrea
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
char * g_data_input_stream_read_upto_finish (GDataInputStream *stream,
GAsyncResult *result,
gsize *length,
diff --git a/gio/gdataoutputstream.h b/gio/gdataoutputstream.h
index fda076734..12db6846e 100644
--- a/gio/gdataoutputstream.h
+++ b/gio/gdataoutputstream.h
@@ -70,41 +70,53 @@ struct _GDataOutputStreamClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_data_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDataOutputStream * g_data_output_stream_new (GOutputStream *base_stream);
+GLIB_AVAILABLE_IN_ALL
void g_data_output_stream_set_byte_order (GDataOutputStream *stream,
GDataStreamByteOrder order);
+GLIB_AVAILABLE_IN_ALL
GDataStreamByteOrder g_data_output_stream_get_byte_order (GDataOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_byte (GDataOutputStream *stream,
guchar data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_int16 (GDataOutputStream *stream,
gint16 data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_uint16 (GDataOutputStream *stream,
guint16 data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_int32 (GDataOutputStream *stream,
gint32 data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_uint32 (GDataOutputStream *stream,
guint32 data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_int64 (GDataOutputStream *stream,
gint64 data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_uint64 (GDataOutputStream *stream,
guint64 data,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_data_output_stream_put_string (GDataOutputStream *stream,
const char *str,
GCancellable *cancellable,
diff --git a/gio/gdbusactiongroup.h b/gio/gdbusactiongroup.h
index ed215a4cd..4d8e16800 100644
--- a/gio/gdbusactiongroup.h
+++ b/gio/gdbusactiongroup.h
@@ -43,6 +43,7 @@ G_BEGIN_DECLS
#define G_DBUS_ACTION_GROUP_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
G_TYPE_DBUS_ACTION_GROUP, GDBusActionGroupClass))
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_action_group_get_type (void) G_GNUC_CONST;
GLIB_AVAILABLE_IN_2_32
diff --git a/gio/gdbusaddress.h b/gio/gdbusaddress.h
index abd2c2e31..55896b8f2 100644
--- a/gio/gdbusaddress.h
+++ b/gio/gdbusaddress.h
@@ -31,24 +31,30 @@
G_BEGIN_DECLS
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_address (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_supported_address (const gchar *string,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_address_get_stream (const gchar *address,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GIOStream *g_dbus_address_get_stream_finish (GAsyncResult *res,
gchar **out_guid,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GIOStream *g_dbus_address_get_stream_sync (const gchar *address,
gchar **out_guid,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_address_get_for_bus_sync (GBusType bus_type,
GCancellable *cancellable,
GError **error);
diff --git a/gio/gdbusauthobserver.h b/gio/gdbusauthobserver.h
index 184e25a87..bc61c5342 100644
--- a/gio/gdbusauthobserver.h
+++ b/gio/gdbusauthobserver.h
@@ -35,8 +35,11 @@ G_BEGIN_DECLS
#define G_DBUS_AUTH_OBSERVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_AUTH_OBSERVER, GDBusAuthObserver))
#define G_IS_DBUS_AUTH_OBSERVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_AUTH_OBSERVER))
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_auth_observer_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusAuthObserver *g_dbus_auth_observer_new (void);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_auth_observer_authorize_authenticated_peer (GDBusAuthObserver *observer,
GIOStream *stream,
GCredentials *credentials);
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h
index 4ffdd9329..1325e3714 100644
--- a/gio/gdbusconnection.h
+++ b/gio/gdbusconnection.h
@@ -35,22 +35,27 @@ G_BEGIN_DECLS
#define G_DBUS_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_CONNECTION, GDBusConnection))
#define G_IS_DBUS_CONNECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_CONNECTION))
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_connection_get_type (void) G_GNUC_CONST;
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
void g_bus_get (GBusType bus_type,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_bus_get_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_bus_get_sync (GBusType bus_type,
GCancellable *cancellable,
GError **error);
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_new (GIOStream *stream,
const gchar *guid,
GDBusConnectionFlags flags,
@@ -58,8 +63,10 @@ void g_dbus_connection_new (GIOStream
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_sync (GIOStream *stream,
const gchar *guid,
GDBusConnectionFlags flags,
@@ -67,14 +74,17 @@ GDBusConnection *g_dbus_connection_new_sync (GIOStream
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_new_for_address (const gchar *address,
GDBusConnectionFlags flags,
GDBusAuthObserver *observer,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_for_address_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_for_address_sync (const gchar *address,
GDBusConnectionFlags flags,
GDBusAuthObserver *observer,
@@ -83,54 +93,71 @@ GDBusConnection *g_dbus_connection_new_for_address_sync (const gchar
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_start_message_processing (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_is_closed (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
GIOStream *g_dbus_connection_get_stream (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_connection_get_guid (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_connection_get_unique_name (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
GCredentials *g_dbus_connection_get_peer_credentials (GDBusConnection *connection);
GLIB_AVAILABLE_IN_2_34
guint32 g_dbus_connection_get_last_serial (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_get_exit_on_close (GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_set_exit_on_close (GDBusConnection *connection,
gboolean exit_on_close);
+GLIB_AVAILABLE_IN_ALL
GDBusCapabilityFlags g_dbus_connection_get_capabilities (GDBusConnection *connection);
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_close (GDBusConnection *connection,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_close_finish (GDBusConnection *connection,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_close_sync (GDBusConnection *connection,
GCancellable *cancellable,
GError **error);
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_flush (GDBusConnection *connection,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_flush_finish (GDBusConnection *connection,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_flush_sync (GDBusConnection *connection,
GCancellable *cancellable,
GError **error);
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_send_message (GDBusConnection *connection,
GDBusMessage *message,
GDBusSendMessageFlags flags,
volatile guint32 *out_serial,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_send_message_with_reply (GDBusConnection *connection,
GDBusMessage *message,
GDBusSendMessageFlags flags,
@@ -139,9 +166,11 @@ void g_dbus_connection_send_message_with_reply (GDBusConnecti
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_connection_send_message_with_reply_finish (GDBusConnection *connection,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_connection_send_message_with_reply_sync (GDBusConnection *connection,
GDBusMessage *message,
GDBusSendMessageFlags flags,
@@ -152,6 +181,7 @@ GDBusMessage *g_dbus_connection_send_message_with_reply_sync (GDBusConnecti
/* ---------------------------------------------------------------------------------------------------- */
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_emit_signal (GDBusConnection *connection,
const gchar *destination_bus_name,
const gchar *object_path,
@@ -159,6 +189,7 @@ gboolean g_dbus_connection_emit_signal (GDBusConnection
const gchar *signal_name,
GVariant *parameters,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_call (GDBusConnection *connection,
const gchar *bus_name,
const gchar *object_path,
@@ -171,9 +202,11 @@ void g_dbus_connection_call (GDBusConnection
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_connection_call_finish (GDBusConnection *connection,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_connection_call_sync (GDBusConnection *connection,
const gchar *bus_name,
const gchar *object_path,
@@ -327,6 +360,7 @@ struct _GDBusInterfaceVTable
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
guint g_dbus_connection_register_object (GDBusConnection *connection,
const gchar *object_path,
GDBusInterfaceInfo *interface_info,
@@ -334,6 +368,7 @@ guint g_dbus_connection_register_object (GDBusConnection
gpointer user_data,
GDestroyNotify user_data_free_func,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_unregister_object (GDBusConnection *connection,
guint registration_id);
@@ -455,6 +490,7 @@ struct _GDBusSubtreeVTable
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
guint g_dbus_connection_register_subtree (GDBusConnection *connection,
const gchar *object_path,
const GDBusSubtreeVTable *vtable,
@@ -462,6 +498,7 @@ guint g_dbus_connection_register_subtree (GDBusConnection
gpointer user_data,
GDestroyNotify user_data_free_func,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_connection_unregister_subtree (GDBusConnection *connection,
guint registration_id);
@@ -489,6 +526,7 @@ typedef void (*GDBusSignalCallback) (GDBusConnection *connection,
GVariant *parameters,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
guint g_dbus_connection_signal_subscribe (GDBusConnection *connection,
const gchar *sender,
const gchar *interface_name,
@@ -499,6 +537,7 @@ guint g_dbus_connection_signal_subscribe (GDBusConnection
GDBusSignalCallback callback,
gpointer user_data,
GDestroyNotify user_data_free_func);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_signal_unsubscribe (GDBusConnection *connection,
guint subscription_id);
@@ -583,11 +622,13 @@ typedef GDBusMessage *(*GDBusMessageFilterFunction) (GDBusConnection *connection
gboolean incoming,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
guint g_dbus_connection_add_filter (GDBusConnection *connection,
GDBusMessageFilterFunction filter_function,
gpointer user_data,
GDestroyNotify user_data_free_func);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_connection_remove_filter (GDBusConnection *connection,
guint filter_id);
diff --git a/gio/gdbuserror.h b/gio/gdbuserror.h
index c1d3e9c5e..cc90a9e6a 100644
--- a/gio/gdbuserror.h
+++ b/gio/gdbuserror.h
@@ -47,11 +47,15 @@ G_BEGIN_DECLS
*/
#define G_DBUS_ERROR g_dbus_error_quark()
+GLIB_AVAILABLE_IN_ALL
GQuark g_dbus_error_quark (void);
/* Used by applications to check, get and strip the D-Bus error name */
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_error_is_remote_error (const GError *error);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_error_get_remote_error (const GError *error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_error_strip_remote_error (GError *error);
/**
@@ -69,30 +73,37 @@ struct _GDBusErrorEntry
const gchar *dbus_error_name;
};
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_error_register_error (GQuark error_domain,
gint error_code,
const gchar *dbus_error_name);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_error_unregister_error (GQuark error_domain,
gint error_code,
const gchar *dbus_error_name);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_error_register_error_domain (const gchar *error_domain_quark_name,
volatile gsize *quark_volatile,
const GDBusErrorEntry *entries,
guint num_entries);
/* Only used by object mappings to map back and forth to GError */
+GLIB_AVAILABLE_IN_ALL
GError *g_dbus_error_new_for_dbus_error (const gchar *dbus_error_name,
const gchar *dbus_error_message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_error_set_dbus_error (GError **error,
const gchar *dbus_error_name,
const gchar *dbus_error_message,
const gchar *format,
...) G_GNUC_PRINTF(4, 5);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_error_set_dbus_error_valist (GError **error,
const gchar *dbus_error_name,
const gchar *dbus_error_message,
const gchar *format,
va_list var_args) G_GNUC_PRINTF(4, 0);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_error_encode_gerror (const GError *error);
G_END_DECLS
diff --git a/gio/gdbusinterface.h b/gio/gdbusinterface.h
index 9536e6270..a82a7572c 100644
--- a/gio/gdbusinterface.h
+++ b/gio/gdbusinterface.h
@@ -66,9 +66,13 @@ struct _GDBusInterfaceIface
GDBusObject *(*dup_object) (GDBusInterface *interface_);
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_interface_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceInfo *g_dbus_interface_get_info (GDBusInterface *interface_);
+GLIB_AVAILABLE_IN_ALL
GDBusObject *g_dbus_interface_get_object (GDBusInterface *interface_);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_set_object (GDBusInterface *interface_,
GDBusObject *object);
GLIB_AVAILABLE_IN_2_32
diff --git a/gio/gdbusinterfaceskeleton.h b/gio/gdbusinterfaceskeleton.h
index 5f1c16638..ca79c5338 100644
--- a/gio/gdbusinterfaceskeleton.h
+++ b/gio/gdbusinterfaceskeleton.h
@@ -87,27 +87,41 @@ struct _GDBusInterfaceSkeletonClass
gpointer signal_padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_interface_skeleton_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceSkeletonFlags g_dbus_interface_skeleton_get_flags (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_skeleton_set_flags (GDBusInterfaceSkeleton *interface_,
GDBusInterfaceSkeletonFlags flags);
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceInfo *g_dbus_interface_skeleton_get_info (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceVTable *g_dbus_interface_skeleton_get_vtable (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_interface_skeleton_get_properties (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_skeleton_flush (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_interface_skeleton_export (GDBusInterfaceSkeleton *interface_,
GDBusConnection *connection,
const gchar *object_path,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_skeleton_unexport (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_skeleton_unexport_from_connection (GDBusInterfaceSkeleton *interface_,
GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_interface_skeleton_get_connection (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
GList *g_dbus_interface_skeleton_get_connections (GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_interface_skeleton_has_connection (GDBusInterfaceSkeleton *interface_,
GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_interface_skeleton_get_object_path (GDBusInterfaceSkeleton *interface_);
G_END_DECLS
diff --git a/gio/gdbusintrospection.h b/gio/gdbusintrospection.h
index 239638d02..32ee78420 100644
--- a/gio/gdbusintrospection.h
+++ b/gio/gdbusintrospection.h
@@ -181,43 +181,67 @@ struct _GDBusNodeInfo
GDBusAnnotationInfo **annotations;
};
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_annotation_info_lookup (GDBusAnnotationInfo **annotations,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
GDBusMethodInfo *g_dbus_interface_info_lookup_method (GDBusInterfaceInfo *info,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
GDBusSignalInfo *g_dbus_interface_info_lookup_signal (GDBusInterfaceInfo *info,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
GDBusPropertyInfo *g_dbus_interface_info_lookup_property (GDBusInterfaceInfo *info,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_info_cache_build (GDBusInterfaceInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_info_cache_release (GDBusInterfaceInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_info_generate_xml (GDBusInterfaceInfo *info,
guint indent,
GString *string_builder);
+GLIB_AVAILABLE_IN_ALL
GDBusNodeInfo *g_dbus_node_info_new_for_xml (const gchar *xml_data,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceInfo *g_dbus_node_info_lookup_interface (GDBusNodeInfo *info,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_node_info_generate_xml (GDBusNodeInfo *info,
guint indent,
GString *string_builder);
+GLIB_AVAILABLE_IN_ALL
GDBusNodeInfo *g_dbus_node_info_ref (GDBusNodeInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceInfo *g_dbus_interface_info_ref (GDBusInterfaceInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDBusMethodInfo *g_dbus_method_info_ref (GDBusMethodInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDBusSignalInfo *g_dbus_signal_info_ref (GDBusSignalInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDBusPropertyInfo *g_dbus_property_info_ref (GDBusPropertyInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDBusArgInfo *g_dbus_arg_info_ref (GDBusArgInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDBusAnnotationInfo *g_dbus_annotation_info_ref (GDBusAnnotationInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_node_info_unref (GDBusNodeInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_interface_info_unref (GDBusInterfaceInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_info_unref (GDBusMethodInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_signal_info_unref (GDBusSignalInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_property_info_unref (GDBusPropertyInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_arg_info_unref (GDBusArgInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_annotation_info_unref (GDBusAnnotationInfo *info);
/**
@@ -283,12 +307,19 @@ void g_dbus_annotation_info_unref (GDBusAnnotationInfo
*/
#define G_TYPE_DBUS_ANNOTATION_INFO (g_dbus_annotation_info_get_type ())
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_node_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_interface_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_method_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_signal_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_property_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_arg_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_annotation_info_get_type (void) G_GNUC_CONST;
G_END_DECLS
diff --git a/gio/gdbusmenumodel.h b/gio/gdbusmenumodel.h
index 4cbdf2d6e..e0ec52095 100644
--- a/gio/gdbusmenumodel.h
+++ b/gio/gdbusmenumodel.h
@@ -34,8 +34,10 @@ G_BEGIN_DECLS
typedef struct _GDBusMenuModel GDBusMenuModel;
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_menu_model_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusMenuModel * g_dbus_menu_model_get (GDBusConnection *connection,
const gchar *bus_name,
const gchar *object_path);
diff --git a/gio/gdbusmessage.h b/gio/gdbusmessage.h
index f8328aa7f..bf27f7a89 100644
--- a/gio/gdbusmessage.h
+++ b/gio/gdbusmessage.h
@@ -35,112 +35,162 @@ G_BEGIN_DECLS
#define G_DBUS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_MESSAGE, GDBusMessage))
#define G_IS_DBUS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_MESSAGE))
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_message_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new (void);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_signal (const gchar *path,
const gchar *interface_,
const gchar *signal);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_call (const gchar *name,
const gchar *path,
const gchar *interface_,
const gchar *method);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_reply (GDBusMessage *method_call_message);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_error (GDBusMessage *method_call_message,
const gchar *error_name,
const gchar *error_message_format,
...);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_error_valist (GDBusMessage *method_call_message,
const gchar *error_name,
const gchar *error_message_format,
va_list var_args);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_error_literal (GDBusMessage *method_call_message,
const gchar *error_name,
const gchar *error_message);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_message_print (GDBusMessage *message,
guint indent);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_message_get_locked (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_lock (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_copy (GDBusMessage *message,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusMessageByteOrder g_dbus_message_get_byte_order (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_byte_order (GDBusMessage *message,
GDBusMessageByteOrder byte_order);
+GLIB_AVAILABLE_IN_ALL
GDBusMessageType g_dbus_message_get_message_type (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_message_type (GDBusMessage *message,
GDBusMessageType type);
+GLIB_AVAILABLE_IN_ALL
GDBusMessageFlags g_dbus_message_get_flags (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_flags (GDBusMessage *message,
GDBusMessageFlags flags);
+GLIB_AVAILABLE_IN_ALL
guint32 g_dbus_message_get_serial (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_serial (GDBusMessage *message,
guint32 serial);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_message_get_header (GDBusMessage *message,
GDBusMessageHeaderField header_field);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_header (GDBusMessage *message,
GDBusMessageHeaderField header_field,
GVariant *value);
+GLIB_AVAILABLE_IN_ALL
guchar *g_dbus_message_get_header_fields (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_message_get_body (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_body (GDBusMessage *message,
GVariant *body);
+GLIB_AVAILABLE_IN_ALL
GUnixFDList *g_dbus_message_get_unix_fd_list (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_unix_fd_list (GDBusMessage *message,
GUnixFDList *fd_list);
+GLIB_AVAILABLE_IN_ALL
guint32 g_dbus_message_get_reply_serial (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_reply_serial (GDBusMessage *message,
guint32 value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_interface (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_interface (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_member (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_member (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_path (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_path (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_sender (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_sender (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_destination (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_destination (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_error_name (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_error_name (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_signature (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_signature (GDBusMessage *message,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
guint32 g_dbus_message_get_num_unix_fds (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_message_set_num_unix_fds (GDBusMessage *message,
guint32 value);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_message_get_arg0 (GDBusMessage *message);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_from_blob (guchar *blob,
gsize blob_len,
GDBusCapabilityFlags capabilities,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_dbus_message_bytes_needed (guchar *blob,
gsize blob_len,
GError **error);
+GLIB_AVAILABLE_IN_ALL
guchar *g_dbus_message_to_blob (GDBusMessage *message,
gsize *out_size,
GDBusCapabilityFlags capabilities,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_message_to_gerror (GDBusMessage *message,
GError **error);
diff --git a/gio/gdbusmethodinvocation.h b/gio/gdbusmethodinvocation.h
index 29cfe63a1..5f139c74b 100644
--- a/gio/gdbusmethodinvocation.h
+++ b/gio/gdbusmethodinvocation.h
@@ -35,41 +35,59 @@ G_BEGIN_DECLS
#define G_DBUS_METHOD_INVOCATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocation))
#define G_IS_DBUS_METHOD_INVOCATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_METHOD_INVOCATION))
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_method_invocation_get_sender (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_method_invocation_get_object_path (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_method_invocation_get_interface_name (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_method_invocation_get_method_name (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
const GDBusMethodInfo *g_dbus_method_invocation_get_method_info (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_method_invocation_get_connection (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_method_invocation_get_message (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_method_invocation_get_parameters (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
gpointer g_dbus_method_invocation_get_user_data (GDBusMethodInvocation *invocation);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
GVariant *parameters);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation *invocation,
GVariant *parameters,
GUnixFDList *fd_list);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_error (GDBusMethodInvocation *invocation,
GQuark domain,
gint code,
const gchar *format,
...) G_GNUC_PRINTF(4, 5);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_error_valist (GDBusMethodInvocation *invocation,
GQuark domain,
gint code,
const gchar *format,
va_list var_args)
G_GNUC_PRINTF(4, 0);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_error_literal (GDBusMethodInvocation *invocation,
GQuark domain,
gint code,
const gchar *message);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_gerror (GDBusMethodInvocation *invocation,
const GError *error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_take_error (GDBusMethodInvocation *invocation,
GError *error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_dbus_error (GDBusMethodInvocation *invocation,
const gchar *error_name,
const gchar *error_message);
diff --git a/gio/gdbusnameowning.h b/gio/gdbusnameowning.h
index 9cef19d8f..6e69bff5f 100644
--- a/gio/gdbusnameowning.h
+++ b/gio/gdbusnameowning.h
@@ -74,6 +74,7 @@ typedef void (*GBusNameLostCallback) (GDBusConnection *connection,
const gchar *name,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_own_name (GBusType bus_type,
const gchar *name,
GBusNameOwnerFlags flags,
@@ -83,6 +84,7 @@ guint g_bus_own_name (GBusType bus_type,
gpointer user_data,
GDestroyNotify user_data_free_func);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_own_name_on_connection (GDBusConnection *connection,
const gchar *name,
GBusNameOwnerFlags flags,
@@ -91,6 +93,7 @@ guint g_bus_own_name_on_connection (GDBusConnection *connection,
gpointer user_data,
GDestroyNotify user_data_free_func);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_own_name_with_closures (GBusType bus_type,
const gchar *name,
GBusNameOwnerFlags flags,
@@ -98,6 +101,7 @@ guint g_bus_own_name_with_closures (GBusType bus_type,
GClosure *name_acquired_closure,
GClosure *name_lost_closure);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_own_name_on_connection_with_closures (
GDBusConnection *connection,
const gchar *name,
@@ -105,6 +109,7 @@ guint g_bus_own_name_on_connection_with_closures (
GClosure *name_acquired_closure,
GClosure *name_lost_closure);
+GLIB_AVAILABLE_IN_ALL
void g_bus_unown_name (guint owner_id);
G_END_DECLS
diff --git a/gio/gdbusnamewatching.h b/gio/gdbusnamewatching.h
index 785072aab..85607bf08 100644
--- a/gio/gdbusnamewatching.h
+++ b/gio/gdbusnamewatching.h
@@ -67,6 +67,7 @@ typedef void (*GBusNameVanishedCallback) (GDBusConnection *connection,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_watch_name (GBusType bus_type,
const gchar *name,
GBusNameWatcherFlags flags,
@@ -74,6 +75,7 @@ guint g_bus_watch_name (GBusType bus_type,
GBusNameVanishedCallback name_vanished_handler,
gpointer user_data,
GDestroyNotify user_data_free_func);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_watch_name_on_connection (GDBusConnection *connection,
const gchar *name,
GBusNameWatcherFlags flags,
@@ -81,17 +83,20 @@ guint g_bus_watch_name_on_connection (GDBusConnection *connection,
GBusNameVanishedCallback name_vanished_handler,
gpointer user_data,
GDestroyNotify user_data_free_func);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_watch_name_with_closures (GBusType bus_type,
const gchar *name,
GBusNameWatcherFlags flags,
GClosure *name_appeared_closure,
GClosure *name_vanished_closure);
+GLIB_AVAILABLE_IN_ALL
guint g_bus_watch_name_on_connection_with_closures (
GDBusConnection *connection,
const gchar *name,
GBusNameWatcherFlags flags,
GClosure *name_appeared_closure,
GClosure *name_vanished_closure);
+GLIB_AVAILABLE_IN_ALL
void g_bus_unwatch_name (guint watcher_id);
G_END_DECLS
diff --git a/gio/gdbusobject.h b/gio/gdbusobject.h
index 30983b11e..ad6c4d81b 100644
--- a/gio/gdbusobject.h
+++ b/gio/gdbusobject.h
@@ -65,9 +65,13 @@ struct _GDBusObjectIface
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_object_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_object_get_object_path (GDBusObject *object);
+GLIB_AVAILABLE_IN_ALL
GList *g_dbus_object_get_interfaces (GDBusObject *object);
+GLIB_AVAILABLE_IN_ALL
GDBusInterface *g_dbus_object_get_interface (GDBusObject *object,
const gchar *interface_name);
diff --git a/gio/gdbusobjectmanager.h b/gio/gdbusobjectmanager.h
index 05cec1a41..bc00c5ec3 100644
--- a/gio/gdbusobjectmanager.h
+++ b/gio/gdbusobjectmanager.h
@@ -77,11 +77,16 @@ struct _GDBusObjectManagerIface
GDBusInterface *interface_);
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_object_manager_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_object_manager_get_object_path (GDBusObjectManager *manager);
+GLIB_AVAILABLE_IN_ALL
GList *g_dbus_object_manager_get_objects (GDBusObjectManager *manager);
+GLIB_AVAILABLE_IN_ALL
GDBusObject *g_dbus_object_manager_get_object (GDBusObjectManager *manager,
const gchar *object_path);
+GLIB_AVAILABLE_IN_ALL
GDBusInterface *g_dbus_object_manager_get_interface (GDBusObjectManager *manager,
const gchar *object_path,
const gchar *interface_name);
diff --git a/gio/gdbusobjectmanagerclient.h b/gio/gdbusobjectmanagerclient.h
index ad41fee62..91d45a8b2 100644
--- a/gio/gdbusobjectmanagerclient.h
+++ b/gio/gdbusobjectmanagerclient.h
@@ -84,7 +84,9 @@ struct _GDBusObjectManagerClientClass
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_object_manager_client_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_manager_client_new (GDBusConnection *connection,
GDBusObjectManagerClientFlags flags,
const gchar *name,
@@ -95,8 +97,10 @@ void g_dbus_object_manager_client_new (G
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_sync (GDBusConnection *connection,
GDBusObjectManagerClientFlags flags,
const gchar *name,
@@ -106,6 +110,7 @@ GDBusObjectManager *g_dbus_object_manager_client_new_sync (G
GDestroyNotify get_proxy_type_destroy_notify,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_manager_client_new_for_bus (GBusType bus_type,
GDBusObjectManagerClientFlags flags,
const gchar *name,
@@ -116,8 +121,10 @@ void g_dbus_object_manager_client_new_for_bus (G
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_for_bus_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_for_bus_sync (GBusType bus_type,
GDBusObjectManagerClientFlags flags,
const gchar *name,
@@ -127,9 +134,13 @@ GDBusObjectManager *g_dbus_object_manager_client_new_for_bus_sync (G
GDestroyNotify get_proxy_type_destroy_notify,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_object_manager_client_get_connection (GDBusObjectManagerClient *manager);
+GLIB_AVAILABLE_IN_ALL
GDBusObjectManagerClientFlags g_dbus_object_manager_client_get_flags (GDBusObjectManagerClient *manager);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_object_manager_client_get_name (GDBusObjectManagerClient *manager);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_object_manager_client_get_name_owner (GDBusObjectManagerClient *manager);
G_END_DECLS
diff --git a/gio/gdbusobjectmanagerserver.h b/gio/gdbusobjectmanagerserver.h
index 90668dd83..cd7bb4be5 100644
--- a/gio/gdbusobjectmanagerserver.h
+++ b/gio/gdbusobjectmanagerserver.h
@@ -68,17 +68,25 @@ struct _GDBusObjectManagerServerClass
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_object_manager_server_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusObjectManagerServer *g_dbus_object_manager_server_new (const gchar *object_path);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_object_manager_server_get_connection (GDBusObjectManagerServer *manager);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_manager_server_set_connection (GDBusObjectManagerServer *manager,
GDBusConnection *connection);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_manager_server_export (GDBusObjectManagerServer *manager,
GDBusObjectSkeleton *object);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_manager_server_export_uniquely (GDBusObjectManagerServer *manager,
GDBusObjectSkeleton *object);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_object_manager_server_is_exported (GDBusObjectManagerServer *manager,
GDBusObjectSkeleton *object);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_object_manager_server_unexport (GDBusObjectManagerServer *manager,
const gchar *object_path);
diff --git a/gio/gdbusobjectproxy.h b/gio/gdbusobjectproxy.h
index 58aef853c..8fe74161c 100644
--- a/gio/gdbusobjectproxy.h
+++ b/gio/gdbusobjectproxy.h
@@ -68,9 +68,12 @@ struct _GDBusObjectProxyClass
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_object_proxy_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusObjectProxy *g_dbus_object_proxy_new (GDBusConnection *connection,
const gchar *object_path);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_object_proxy_get_connection (GDBusObjectProxy *proxy);
G_END_DECLS
diff --git a/gio/gdbusobjectskeleton.h b/gio/gdbusobjectskeleton.h
index 918a3353c..3bce873f3 100644
--- a/gio/gdbusobjectskeleton.h
+++ b/gio/gdbusobjectskeleton.h
@@ -74,15 +74,22 @@ struct _GDBusObjectSkeletonClass
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_object_skeleton_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusObjectSkeleton *g_dbus_object_skeleton_new (const gchar *object_path);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_skeleton_flush (GDBusObjectSkeleton *object);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_skeleton_add_interface (GDBusObjectSkeleton *object,
GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_skeleton_remove_interface (GDBusObjectSkeleton *object,
GDBusInterfaceSkeleton *interface_);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_skeleton_remove_interface_by_name (GDBusObjectSkeleton *object,
const gchar *interface_name);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_object_skeleton_set_object_path (GDBusObjectSkeleton *object,
const gchar *object_path);
diff --git a/gio/gdbusproxy.h b/gio/gdbusproxy.h
index 8df564c4d..18a9138cc 100644
--- a/gio/gdbusproxy.h
+++ b/gio/gdbusproxy.h
@@ -86,7 +86,9 @@ struct _GDBusProxyClass
gpointer padding[32];
};
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_proxy_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_new (GDBusConnection *connection,
GDBusProxyFlags flags,
GDBusInterfaceInfo *info,
@@ -96,8 +98,10 @@ void g_dbus_proxy_new (GDBusConnection *co
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_sync (GDBusConnection *connection,
GDBusProxyFlags flags,
GDBusInterfaceInfo *info,
@@ -106,6 +110,7 @@ GDBusProxy *g_dbus_proxy_new_sync (GDBusConnection *co
const gchar *interface_name,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_new_for_bus (GBusType bus_type,
GDBusProxyFlags flags,
GDBusInterfaceInfo *info,
@@ -115,8 +120,10 @@ void g_dbus_proxy_new_for_bus (GBusType bu
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_for_bus_finish (GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_for_bus_sync (GBusType bus_type,
GDBusProxyFlags flags,
GDBusInterfaceInfo *info,
@@ -125,24 +132,38 @@ GDBusProxy *g_dbus_proxy_new_for_bus_sync (GBusType bu
const gchar *interface_name,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_proxy_get_connection (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
GDBusProxyFlags g_dbus_proxy_get_flags (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_proxy_get_name (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_proxy_get_name_owner (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_proxy_get_object_path (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_proxy_get_interface_name (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
gint g_dbus_proxy_get_default_timeout (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_set_default_timeout (GDBusProxy *proxy,
gint timeout_msec);
+GLIB_AVAILABLE_IN_ALL
GDBusInterfaceInfo *g_dbus_proxy_get_interface_info (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_set_interface_info (GDBusProxy *proxy,
GDBusInterfaceInfo *info);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_get_cached_property (GDBusProxy *proxy,
const gchar *property_name);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_set_cached_property (GDBusProxy *proxy,
const gchar *property_name,
GVariant *value);
+GLIB_AVAILABLE_IN_ALL
gchar **g_dbus_proxy_get_cached_property_names (GDBusProxy *proxy);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_call (GDBusProxy *proxy,
const gchar *method_name,
GVariant *parameters,
@@ -151,9 +172,11 @@ void g_dbus_proxy_call (GDBusProxy *pr
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_finish (GDBusProxy *proxy,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_sync (GDBusProxy *proxy,
const gchar *method_name,
GVariant *parameters,
@@ -162,6 +185,7 @@ GVariant *g_dbus_proxy_call_sync (GDBusProxy *pr
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_proxy_call_with_unix_fd_list (GDBusProxy *proxy,
const gchar *method_name,
GVariant *parameters,
@@ -171,10 +195,12 @@ void g_dbus_proxy_call_with_unix_fd_list (GDBusProxy
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_with_unix_fd_list_finish (GDBusProxy *proxy,
GUnixFDList **out_fd_list,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_with_unix_fd_list_sync (GDBusProxy *proxy,
const gchar *method_name,
GVariant *parameters,
diff --git a/gio/gdbusserver.h b/gio/gdbusserver.h
index 49f949fb4..05557f03f 100644
--- a/gio/gdbusserver.h
+++ b/gio/gdbusserver.h
@@ -35,18 +35,26 @@ G_BEGIN_DECLS
#define G_DBUS_SERVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_SERVER, GDBusServer))
#define G_IS_DBUS_SERVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_SERVER))
+GLIB_AVAILABLE_IN_ALL
GType g_dbus_server_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDBusServer *g_dbus_server_new_sync (const gchar *address,
GDBusServerFlags flags,
const gchar *guid,
GDBusAuthObserver *observer,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_server_get_client_address (GDBusServer *server);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_dbus_server_get_guid (GDBusServer *server);
+GLIB_AVAILABLE_IN_ALL
GDBusServerFlags g_dbus_server_get_flags (GDBusServer *server);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_server_start (GDBusServer *server);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_server_stop (GDBusServer *server);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_server_is_active (GDBusServer *server);
G_END_DECLS
diff --git a/gio/gdbusutils.h b/gio/gdbusutils.h
index 467d15132..6ef2ffdcc 100644
--- a/gio/gdbusutils.h
+++ b/gio/gdbusutils.h
@@ -31,16 +31,24 @@
G_BEGIN_DECLS
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_guid (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
gchar *g_dbus_generate_guid (void);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_name (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_unique_name (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_member_name (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
gboolean g_dbus_is_interface_name (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
void g_dbus_gvariant_to_gvalue (GVariant *value,
GValue *out_gvalue);
+GLIB_AVAILABLE_IN_ALL
GVariant *g_dbus_gvalue_to_gvariant (const GValue *gvalue,
const GVariantType *type);
diff --git a/gio/gdesktopappinfo.h b/gio/gdesktopappinfo.h
index 51d087914..b1be8d540 100644
--- a/gio/gdesktopappinfo.h
+++ b/gio/gdesktopappinfo.h
@@ -43,11 +43,15 @@ struct _GDesktopAppInfoClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_desktop_app_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GDesktopAppInfo *g_desktop_app_info_new_from_filename (const char *filename);
+GLIB_AVAILABLE_IN_ALL
GDesktopAppInfo *g_desktop_app_info_new_from_keyfile (GKeyFile *key_file);
+GLIB_AVAILABLE_IN_ALL
const char * g_desktop_app_info_get_filename (GDesktopAppInfo *info);
GLIB_AVAILABLE_IN_2_30
@@ -64,9 +68,12 @@ gboolean g_desktop_app_info_get_show_in (GDesktopAppInfo *info,
GLIB_AVAILABLE_IN_2_34
const char * g_desktop_app_info_get_startup_wm_class (GDesktopAppInfo *info);
+GLIB_AVAILABLE_IN_ALL
GDesktopAppInfo *g_desktop_app_info_new (const char *desktop_id);
+GLIB_AVAILABLE_IN_ALL
gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_desktop_app_info_set_desktop_env (const char *desktop_env);
GLIB_AVAILABLE_IN_2_36
diff --git a/gio/gdrive.h b/gio/gdrive.h
index c4f9070f6..13c02ae1f 100644
--- a/gio/gdrive.h
+++ b/gio/gdrive.h
@@ -159,17 +159,28 @@ struct _GDriveIface
};
+GLIB_AVAILABLE_IN_ALL
GType g_drive_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
char * g_drive_get_name (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_drive_get_icon (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_drive_get_symbolic_icon (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_has_volumes (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
GList * g_drive_get_volumes (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_is_media_removable (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_has_media (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_is_media_check_automatic (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_can_poll_for_media (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_can_eject (GDrive *drive);
GLIB_DEPRECATED_FOR(g_drive_eject_with_operation)
void g_drive_eject (GDrive *drive,
@@ -182,48 +193,62 @@ GLIB_DEPRECATED_FOR(g_drive_eject_with_operation_finish)
gboolean g_drive_eject_finish (GDrive *drive,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_drive_poll_for_media (GDrive *drive,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_poll_for_media_finish (GDrive *drive,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_drive_get_identifier (GDrive *drive,
const char *kind);
+GLIB_AVAILABLE_IN_ALL
char ** g_drive_enumerate_identifiers (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
GDriveStartStopType g_drive_get_start_stop_type (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_can_start (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_can_start_degraded (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
void g_drive_start (GDrive *drive,
GDriveStartFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_start_finish (GDrive *drive,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_can_stop (GDrive *drive);
+GLIB_AVAILABLE_IN_ALL
void g_drive_stop (GDrive *drive,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_stop_finish (GDrive *drive,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_drive_eject_with_operation (GDrive *drive,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_drive_eject_with_operation_finish (GDrive *drive,
GAsyncResult *result,
GError **error);
diff --git a/gio/gemblem.h b/gio/gemblem.h
index 65587acdc..d581abb0e 100644
--- a/gio/gemblem.h
+++ b/gio/gemblem.h
@@ -45,12 +45,17 @@ G_BEGIN_DECLS
typedef struct _GEmblem GEmblem;
typedef struct _GEmblemClass GEmblemClass;
+GLIB_AVAILABLE_IN_ALL
GType g_emblem_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GEmblem *g_emblem_new (GIcon *icon);
+GLIB_AVAILABLE_IN_ALL
GEmblem *g_emblem_new_with_origin (GIcon *icon,
GEmblemOrigin origin);
+GLIB_AVAILABLE_IN_ALL
GIcon *g_emblem_get_icon (GEmblem *emblem);
+GLIB_AVAILABLE_IN_ALL
GEmblemOrigin g_emblem_get_origin (GEmblem *emblem);
G_END_DECLS
diff --git a/gio/gemblemedicon.h b/gio/gemblemedicon.h
index 20c0c66b6..714fe39a7 100644
--- a/gio/gemblemedicon.h
+++ b/gio/gemblemedicon.h
@@ -62,14 +62,20 @@ struct _GEmblemedIconClass
GObjectClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_emblemed_icon_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GIcon *g_emblemed_icon_new (GIcon *icon,
GEmblem *emblem);
+GLIB_AVAILABLE_IN_ALL
GIcon *g_emblemed_icon_get_icon (GEmblemedIcon *emblemed);
+GLIB_AVAILABLE_IN_ALL
GList *g_emblemed_icon_get_emblems (GEmblemedIcon *emblemed);
+GLIB_AVAILABLE_IN_ALL
void g_emblemed_icon_add_emblem (GEmblemedIcon *emblemed,
GEmblem *emblem);
+GLIB_AVAILABLE_IN_ALL
void g_emblemed_icon_clear_emblems (GEmblemedIcon *emblemed);
G_END_DECLS
diff --git a/gio/gfile.h b/gio/gfile.h
index b1291efc2..66126b6e8 100644
--- a/gio/gfile.h
+++ b/gio/gfile.h
@@ -551,10 +551,14 @@ struct _GFileIface
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_new_for_path (const char *path);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_new_for_uri (const char *uri);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_new_for_commandline_arg (const char *arg);
GLIB_AVAILABLE_IN_2_36
GFile * g_file_new_for_commandline_arg_and_cwd (const gchar *arg,
@@ -563,76 +567,105 @@ GLIB_AVAILABLE_IN_2_32
GFile * g_file_new_tmp (const char *tmpl,
GFileIOStream **iostream,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_parse_name (const char *parse_name);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_dup (GFile *file);
+GLIB_AVAILABLE_IN_ALL
guint g_file_hash (gconstpointer file);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_equal (GFile *file1,
GFile *file2);
+GLIB_AVAILABLE_IN_ALL
char * g_file_get_basename (GFile *file);
+GLIB_AVAILABLE_IN_ALL
char * g_file_get_path (GFile *file);
+GLIB_AVAILABLE_IN_ALL
char * g_file_get_uri (GFile *file);
+GLIB_AVAILABLE_IN_ALL
char * g_file_get_parse_name (GFile *file);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_get_parent (GFile *file);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_has_parent (GFile *file,
GFile *parent);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_get_child (GFile *file,
const char *name);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_get_child_for_display_name (GFile *file,
const char *display_name,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_has_prefix (GFile *file,
GFile *prefix);
+GLIB_AVAILABLE_IN_ALL
char * g_file_get_relative_path (GFile *parent,
GFile *descendant);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_resolve_relative_path (GFile *file,
const char *relative_path);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_is_native (GFile *file);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_has_uri_scheme (GFile *file,
const char *uri_scheme);
+GLIB_AVAILABLE_IN_ALL
char * g_file_get_uri_scheme (GFile *file);
+GLIB_AVAILABLE_IN_ALL
GFileInputStream * g_file_read (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_read_async (GFile *file,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileInputStream * g_file_read_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileOutputStream * g_file_append_to (GFile *file,
GFileCreateFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileOutputStream * g_file_create (GFile *file,
GFileCreateFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileOutputStream * g_file_replace (GFile *file,
const char *etag,
gboolean make_backup,
GFileCreateFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_append_to_async (GFile *file,
GFileCreateFlags flags,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileOutputStream * g_file_append_to_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_create_async (GFile *file,
GFileCreateFlags flags,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileOutputStream * g_file_create_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_replace_async (GFile *file,
const char *etag,
gboolean make_backup,
@@ -641,39 +674,48 @@ void g_file_replace_async (GFile
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileOutputStream * g_file_replace_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * g_file_open_readwrite (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_open_readwrite_async (GFile *file,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * g_file_open_readwrite_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * g_file_create_readwrite (GFile *file,
GFileCreateFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_create_readwrite_async (GFile *file,
GFileCreateFlags flags,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * g_file_create_readwrite_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * g_file_replace_readwrite (GFile *file,
const char *etag,
gboolean make_backup,
GFileCreateFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_replace_readwrite_async (GFile *file,
const char *etag,
gboolean make_backup,
@@ -682,19 +724,24 @@ void g_file_replace_readwrite_async (GFile
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * g_file_replace_readwrite_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_query_exists (GFile *file,
GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
GFileType g_file_query_file_type (GFile *file,
GFileQueryInfoFlags flags,
GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
GFileInfo * g_file_query_info (GFile *file,
const char *attributes,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_query_info_async (GFile *file,
const char *attributes,
GFileQueryInfoFlags flags,
@@ -702,38 +749,47 @@ void g_file_query_info_async (GFile
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileInfo * g_file_query_info_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileInfo * g_file_query_filesystem_info (GFile *file,
const char *attributes,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_query_filesystem_info_async (GFile *file,
const char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileInfo * g_file_query_filesystem_info_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GMount * g_file_find_enclosing_mount (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_find_enclosing_mount_async (GFile *file,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GMount * g_file_find_enclosing_mount_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileEnumerator * g_file_enumerate_children (GFile *file,
const char *attributes,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_enumerate_children_async (GFile *file,
const char *attributes,
GFileQueryInfoFlags flags,
@@ -741,22 +797,27 @@ void g_file_enumerate_children_async (GFile
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileEnumerator * g_file_enumerate_children_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_set_display_name (GFile *file,
const char *display_name,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_set_display_name_async (GFile *file,
const char *display_name,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_set_display_name_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_delete (GFile *file,
GCancellable *cancellable,
GError **error);
@@ -773,9 +834,11 @@ gboolean g_file_delete_finish (GFile
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_trash (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_copy (GFile *source,
GFile *destination,
GFileCopyFlags flags,
@@ -783,6 +846,7 @@ gboolean g_file_copy (GFile
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_copy_async (GFile *source,
GFile *destination,
GFileCopyFlags flags,
@@ -792,9 +856,11 @@ void g_file_copy_async (GFile
gpointer progress_callback_data,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_copy_finish (GFile *file,
GAsyncResult *res,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_move (GFile *source,
GFile *destination,
GFileCopyFlags flags,
@@ -802,22 +868,28 @@ gboolean g_file_move (GFile
GFileProgressCallback progress_callback,
gpointer progress_callback_data,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_make_directory (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_make_directory_with_parents (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_make_symbolic_link (GFile *file,
const char *symlink_value,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeInfoList *g_file_query_settable_attributes (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeInfoList *g_file_query_writable_namespaces (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute (GFile *file,
const char *attribute,
GFileAttributeType type,
@@ -825,11 +897,13 @@ gboolean g_file_set_attribute (GFile
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attributes_from_info (GFile *file,
GFileInfo *info,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_set_attributes_async (GFile *file,
GFileInfo *info,
GFileQueryInfoFlags flags,
@@ -837,61 +911,72 @@ void g_file_set_attributes_async (GFile
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attributes_finish (GFile *file,
GAsyncResult *result,
GFileInfo **info,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute_string (GFile *file,
const char *attribute,
const char *value,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute_byte_string (GFile *file,
const char *attribute,
const char *value,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute_uint32 (GFile *file,
const char *attribute,
guint32 value,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute_int32 (GFile *file,
const char *attribute,
gint32 value,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute_uint64 (GFile *file,
const char *attribute,
guint64 value,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_set_attribute_int64 (GFile *file,
const char *attribute,
gint64 value,
GFileQueryInfoFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_mount_enclosing_volume (GFile *location,
GMountMountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_mount_enclosing_volume_finish (GFile *location,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_mount_mountable (GFile *file,
GMountMountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_mount_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
@@ -906,12 +991,14 @@ GLIB_DEPRECATED_FOR(g_file_unmount_mountable_with_operation_finish)
gboolean g_file_unmount_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_unmount_mountable_with_operation (GFile *file,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_unmount_mountable_with_operation_finish (GFile *file,
GAsyncResult *result,
GError **error);
@@ -926,16 +1013,19 @@ GLIB_DEPRECATED_FOR(g_file_eject_mountable_with_operation_finish)
gboolean g_file_eject_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_eject_mountable_with_operation (GFile *file,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_eject_mountable_with_operation_finish (GFile *file,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_copy_attributes (GFile *source,
GFile *destination,
GFileCopyFlags flags,
@@ -943,78 +1033,94 @@ gboolean g_file_copy_attributes (GFile
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileMonitor* g_file_monitor_directory (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileMonitor* g_file_monitor_file (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GFileMonitor* g_file_monitor (GFile *file,
GFileMonitorFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_start_mountable (GFile *file,
GDriveStartFlags flags,
GMountOperation *start_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_start_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_stop_mountable (GFile *file,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_stop_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_poll_mountable (GFile *file,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_poll_mountable_finish (GFile *file,
GAsyncResult *result,
GError **error);
/* Utilities */
+GLIB_AVAILABLE_IN_ALL
GAppInfo *g_file_query_default_handler (GFile *file,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_load_contents (GFile *file,
GCancellable *cancellable,
char **contents,
gsize *length,
char **etag_out,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_load_contents_async (GFile *file,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_load_contents_finish (GFile *file,
GAsyncResult *res,
char **contents,
gsize *length,
char **etag_out,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_load_partial_contents_async (GFile *file,
GCancellable *cancellable,
GFileReadMoreCallback read_more_callback,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_load_partial_contents_finish (GFile *file,
GAsyncResult *res,
char **contents,
gsize *length,
char **etag_out,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_replace_contents (GFile *file,
const char *contents,
gsize length,
@@ -1024,6 +1130,7 @@ gboolean g_file_replace_contents (GFile *file,
char **new_etag,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_replace_contents_async (GFile *file,
const char *contents,
gsize length,
@@ -1033,11 +1140,13 @@ void g_file_replace_contents_async (GFile *file,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_replace_contents_finish (GFile *file,
GAsyncResult *res,
char **new_etag,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_supports_thread_contexts (GFile *file);
G_END_DECLS
diff --git a/gio/gfileattribute.h b/gio/gfileattribute.h
index 5982e1db4..8ebdcd448 100644
--- a/gio/gfileattribute.h
+++ b/gio/gfileattribute.h
@@ -61,14 +61,21 @@ struct _GFileAttributeInfoList
};
#define G_TYPE_FILE_ATTRIBUTE_INFO_LIST (g_file_attribute_info_list_get_type ())
+GLIB_AVAILABLE_IN_ALL
GType g_file_attribute_info_list_get_type (void);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeInfoList * g_file_attribute_info_list_new (void);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeInfoList * g_file_attribute_info_list_ref (GFileAttributeInfoList *list);
+GLIB_AVAILABLE_IN_ALL
void g_file_attribute_info_list_unref (GFileAttributeInfoList *list);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeInfoList * g_file_attribute_info_list_dup (GFileAttributeInfoList *list);
+GLIB_AVAILABLE_IN_ALL
const GFileAttributeInfo *g_file_attribute_info_list_lookup (GFileAttributeInfoList *list,
const char *name);
+GLIB_AVAILABLE_IN_ALL
void g_file_attribute_info_list_add (GFileAttributeInfoList *list,
const char *name,
GFileAttributeType type,
diff --git a/gio/gfiledescriptorbased.h b/gio/gfiledescriptorbased.h
index 36792860d..cf045b4b9 100644
--- a/gio/gfiledescriptorbased.h
+++ b/gio/gfiledescriptorbased.h
@@ -52,8 +52,10 @@ struct _GFileDescriptorBasedIface
int (*get_fd) (GFileDescriptorBased *fd_based);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_descriptor_based_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
int g_file_descriptor_based_get_fd (GFileDescriptorBased *fd_based);
G_END_DECLS
diff --git a/gio/gfileenumerator.h b/gio/gfileenumerator.h
index 548c5f16e..760700289 100644
--- a/gio/gfileenumerator.h
+++ b/gio/gfileenumerator.h
@@ -96,35 +96,46 @@ struct _GFileEnumeratorClass
void (*_g_reserved7) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_enumerator_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_enumerator_next_file (GFileEnumerator *enumerator,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_enumerator_close (GFileEnumerator *enumerator,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_enumerator_next_files_async (GFileEnumerator *enumerator,
int num_files,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GList * g_file_enumerator_next_files_finish (GFileEnumerator *enumerator,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_enumerator_close_async (GFileEnumerator *enumerator,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_enumerator_close_finish (GFileEnumerator *enumerator,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_enumerator_is_closed (GFileEnumerator *enumerator);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_enumerator_has_pending (GFileEnumerator *enumerator);
+GLIB_AVAILABLE_IN_ALL
void g_file_enumerator_set_pending (GFileEnumerator *enumerator,
gboolean pending);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_enumerator_get_container (GFileEnumerator *enumerator);
GLIB_AVAILABLE_IN_2_36
GFile * g_file_enumerator_get_child (GFileEnumerator *enumerator,
diff --git a/gio/gfileicon.h b/gio/gfileicon.h
index 5ae149174..2e6f3d51f 100644
--- a/gio/gfileicon.h
+++ b/gio/gfileicon.h
@@ -45,10 +45,13 @@ G_BEGIN_DECLS
**/
typedef struct _GFileIconClass GFileIconClass;
+GLIB_AVAILABLE_IN_ALL
GType g_file_icon_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GIcon * g_file_icon_new (GFile *file);
+GLIB_AVAILABLE_IN_ALL
GFile * g_file_icon_get_file (GFileIcon *icon);
G_END_DECLS
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h
index b9f379063..a001b0de7 100644
--- a/gio/gfileinfo.h
+++ b/gio/gfileinfo.h
@@ -829,153 +829,225 @@ typedef struct _GFileInfoClass GFileInfoClass;
**/
#define G_FILE_ATTRIBUTE_TRASH_DELETION_DATE "trash::deletion-date" /* string */
+GLIB_AVAILABLE_IN_ALL
GType g_file_info_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileInfo * g_file_info_new (void);
+GLIB_AVAILABLE_IN_ALL
GFileInfo * g_file_info_dup (GFileInfo *other);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_copy_into (GFileInfo *src_info,
GFileInfo *dest_info);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_has_attribute (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_has_namespace (GFileInfo *info,
const char *name_space);
+GLIB_AVAILABLE_IN_ALL
char ** g_file_info_list_attributes (GFileInfo *info,
const char *name_space);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_get_attribute_data (GFileInfo *info,
const char *attribute,
GFileAttributeType *type,
gpointer *value_pp,
GFileAttributeStatus *status);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeType g_file_info_get_attribute_type (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_remove_attribute (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeStatus g_file_info_get_attribute_status (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_set_attribute_status (GFileInfo *info,
const char *attribute,
GFileAttributeStatus status);
+GLIB_AVAILABLE_IN_ALL
char * g_file_info_get_attribute_as_string (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_attribute_string (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_attribute_byte_string (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_get_attribute_boolean (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
guint32 g_file_info_get_attribute_uint32 (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gint32 g_file_info_get_attribute_int32 (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
guint64 g_file_info_get_attribute_uint64 (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gint64 g_file_info_get_attribute_int64 (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
GObject * g_file_info_get_attribute_object (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
char ** g_file_info_get_attribute_stringv (GFileInfo *info,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute (GFileInfo *info,
const char *attribute,
GFileAttributeType type,
gpointer value_p);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_string (GFileInfo *info,
const char *attribute,
const char *attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_byte_string (GFileInfo *info,
const char *attribute,
const char *attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_boolean (GFileInfo *info,
const char *attribute,
gboolean attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_uint32 (GFileInfo *info,
const char *attribute,
guint32 attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_int32 (GFileInfo *info,
const char *attribute,
gint32 attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_uint64 (GFileInfo *info,
const char *attribute,
guint64 attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_int64 (GFileInfo *info,
const char *attribute,
gint64 attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_object (GFileInfo *info,
const char *attribute,
GObject *attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_stringv (GFileInfo *info,
const char *attribute,
char **attr_value);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_clear_status (GFileInfo *info);
/* Helper getters: */
GLIB_AVAILABLE_IN_2_36
GDateTime * g_file_info_get_deletion_date (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
GFileType g_file_info_get_file_type (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_get_is_hidden (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_get_is_backup (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_info_get_is_symlink (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_name (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_display_name (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_edit_name (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_file_info_get_icon (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_file_info_get_symbolic_icon (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_content_type (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
goffset g_file_info_get_size (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_get_modification_time (GFileInfo *info,
GTimeVal *result);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_symlink_target (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_info_get_etag (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
gint32 g_file_info_get_sort_order (GFileInfo *info);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_attribute_mask (GFileInfo *info,
GFileAttributeMatcher *mask);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_unset_attribute_mask (GFileInfo *info);
/* Helper setters: */
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_file_type (GFileInfo *info,
GFileType type);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_is_hidden (GFileInfo *info,
gboolean is_hidden);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_is_symlink (GFileInfo *info,
gboolean is_symlink);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_name (GFileInfo *info,
const char *name);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_display_name (GFileInfo *info,
const char *display_name);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_edit_name (GFileInfo *info,
const char *edit_name);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_icon (GFileInfo *info,
GIcon *icon);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_symbolic_icon (GFileInfo *info,
GIcon *icon);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_content_type (GFileInfo *info,
const char *content_type);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_size (GFileInfo *info,
goffset size);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_modification_time (GFileInfo *info,
GTimeVal *mtime);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_symlink_target (GFileInfo *info,
const char *symlink_target);
+GLIB_AVAILABLE_IN_ALL
void g_file_info_set_sort_order (GFileInfo *info,
gint32 sort_order);
#define G_TYPE_FILE_ATTRIBUTE_MATCHER (g_file_attribute_matcher_get_type ())
+GLIB_AVAILABLE_IN_ALL
GType g_file_attribute_matcher_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileAttributeMatcher *g_file_attribute_matcher_new (const char *attributes);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeMatcher *g_file_attribute_matcher_ref (GFileAttributeMatcher *matcher);
+GLIB_AVAILABLE_IN_ALL
void g_file_attribute_matcher_unref (GFileAttributeMatcher *matcher);
+GLIB_AVAILABLE_IN_ALL
GFileAttributeMatcher *g_file_attribute_matcher_subtract (GFileAttributeMatcher *matcher,
GFileAttributeMatcher *subtract);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_attribute_matcher_matches (GFileAttributeMatcher *matcher,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_attribute_matcher_matches_only (GFileAttributeMatcher *matcher,
const char *attribute);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_attribute_matcher_enumerate_namespace (GFileAttributeMatcher *matcher,
const char *ns);
+GLIB_AVAILABLE_IN_ALL
const char * g_file_attribute_matcher_enumerate_next (GFileAttributeMatcher *matcher);
GLIB_AVAILABLE_IN_2_32
char * g_file_attribute_matcher_to_string (GFileAttributeMatcher *matcher);
diff --git a/gio/gfileinputstream.h b/gio/gfileinputstream.h
index 380b81363..338ccae6f 100644
--- a/gio/gfileinputstream.h
+++ b/gio/gfileinputstream.h
@@ -91,18 +91,22 @@ struct _GFileInputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_input_stream_query_info (GFileInputStream *stream,
const char *attributes,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_input_stream_query_info_async (GFileInputStream *stream,
const char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_input_stream_query_info_finish (GFileInputStream *stream,
GAsyncResult *result,
GError **error);
diff --git a/gio/gfileiostream.h b/gio/gfileiostream.h
index 70fa8247a..89a553682 100644
--- a/gio/gfileiostream.h
+++ b/gio/gfileiostream.h
@@ -96,21 +96,26 @@ struct _GFileIOStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_io_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_io_stream_query_info (GFileIOStream *stream,
const char *attributes,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_io_stream_query_info_async (GFileIOStream *stream,
const char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_io_stream_query_info_finish (GFileIOStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_file_io_stream_get_etag (GFileIOStream *stream);
G_END_DECLS
diff --git a/gio/gfilemonitor.h b/gio/gfilemonitor.h
index 64a065fe1..e29ad0a30 100644
--- a/gio/gfilemonitor.h
+++ b/gio/gfilemonitor.h
@@ -76,15 +76,20 @@ struct _GFileMonitorClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_monitor_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_monitor_cancel (GFileMonitor *monitor);
+GLIB_AVAILABLE_IN_ALL
gboolean g_file_monitor_is_cancelled (GFileMonitor *monitor);
+GLIB_AVAILABLE_IN_ALL
void g_file_monitor_set_rate_limit (GFileMonitor *monitor,
gint limit_msecs);
/* For implementations */
+GLIB_AVAILABLE_IN_ALL
void g_file_monitor_emit_event (GFileMonitor *monitor,
GFile *child,
GFile *other_file,
diff --git a/gio/gfilenamecompleter.h b/gio/gfilenamecompleter.h
index 0a7b498ad..0745bbb00 100644
--- a/gio/gfilenamecompleter.h
+++ b/gio/gfilenamecompleter.h
@@ -60,14 +60,19 @@ struct _GFilenameCompleterClass
void (*_g_reserved3) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_filename_completer_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFilenameCompleter *g_filename_completer_new (void);
+GLIB_AVAILABLE_IN_ALL
char * g_filename_completer_get_completion_suffix (GFilenameCompleter *completer,
const char *initial_text);
+GLIB_AVAILABLE_IN_ALL
char ** g_filename_completer_get_completions (GFilenameCompleter *completer,
const char *initial_text);
+GLIB_AVAILABLE_IN_ALL
void g_filename_completer_set_dirs_only (GFilenameCompleter *completer,
gboolean dirs_only);
diff --git a/gio/gfileoutputstream.h b/gio/gfileoutputstream.h
index 723e5df5c..5e8a5fe4c 100644
--- a/gio/gfileoutputstream.h
+++ b/gio/gfileoutputstream.h
@@ -96,22 +96,27 @@ struct _GFileOutputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_file_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_output_stream_query_info (GFileOutputStream *stream,
const char *attributes,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_file_output_stream_query_info_async (GFileOutputStream *stream,
const char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_file_output_stream_query_info_finish (GFileOutputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_file_output_stream_get_etag (GFileOutputStream *stream);
G_END_DECLS
diff --git a/gio/gfilterinputstream.h b/gio/gfilterinputstream.h
index 1f1a5ecca..afe15a56f 100644
--- a/gio/gfilterinputstream.h
+++ b/gio/gfilterinputstream.h
@@ -65,9 +65,13 @@ struct _GFilterInputStreamClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_filter_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream * g_filter_input_stream_get_base_stream (GFilterInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_filter_input_stream_get_close_base_stream (GFilterInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_filter_input_stream_set_close_base_stream (GFilterInputStream *stream,
gboolean close_base);
diff --git a/gio/gfilteroutputstream.h b/gio/gfilteroutputstream.h
index 428d5d36d..7e290861d 100644
--- a/gio/gfilteroutputstream.h
+++ b/gio/gfilteroutputstream.h
@@ -65,9 +65,13 @@ struct _GFilterOutputStreamClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_filter_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GOutputStream * g_filter_output_stream_get_base_stream (GFilterOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_filter_output_stream_get_close_base_stream (GFilterOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_filter_output_stream_set_close_base_stream (GFilterOutputStream *stream,
gboolean close_base);
diff --git a/gio/gicon.h b/gio/gicon.h
index d126753e1..81e32accc 100644
--- a/gio/gicon.h
+++ b/gio/gicon.h
@@ -77,12 +77,17 @@ struct _GIconIface
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_icon_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
guint g_icon_hash (gconstpointer icon);
+GLIB_AVAILABLE_IN_ALL
gboolean g_icon_equal (GIcon *icon1,
GIcon *icon2);
+GLIB_AVAILABLE_IN_ALL
gchar *g_icon_to_string (GIcon *icon);
+GLIB_AVAILABLE_IN_ALL
GIcon *g_icon_new_for_string (const gchar *str,
GError **error);
diff --git a/gio/ginetaddress.h b/gio/ginetaddress.h
index b91c71748..940b79828 100644
--- a/gio/ginetaddress.h
+++ b/gio/ginetaddress.h
@@ -58,46 +58,66 @@ struct _GInetAddressClass
const guint8 * (*to_bytes) (GInetAddress *address);
};
+GLIB_AVAILABLE_IN_ALL
GType g_inet_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInetAddress * g_inet_address_new_from_string (const gchar *string);
+GLIB_AVAILABLE_IN_ALL
GInetAddress * g_inet_address_new_from_bytes (const guint8 *bytes,
GSocketFamily family);
+GLIB_AVAILABLE_IN_ALL
GInetAddress * g_inet_address_new_loopback (GSocketFamily family);
+GLIB_AVAILABLE_IN_ALL
GInetAddress * g_inet_address_new_any (GSocketFamily family);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_equal (GInetAddress *address,
GInetAddress *other_address);
+GLIB_AVAILABLE_IN_ALL
gchar * g_inet_address_to_string (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
const guint8 * g_inet_address_to_bytes (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gsize g_inet_address_get_native_size (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
GSocketFamily g_inet_address_get_family (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_any (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_loopback (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_link_local (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_site_local (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_multicast (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_mc_global (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_mc_link_local (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_mc_node_local (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_mc_org_local (GInetAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_inet_address_get_is_mc_site_local (GInetAddress *address);
G_END_DECLS
diff --git a/gio/ginetsocketaddress.h b/gio/ginetsocketaddress.h
index 1d833879a..1865a3bc8 100644
--- a/gio/ginetsocketaddress.h
+++ b/gio/ginetsocketaddress.h
@@ -55,12 +55,16 @@ struct _GInetSocketAddressClass
GSocketAddressClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_inet_socket_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_inet_socket_address_new (GInetAddress *address,
guint16 port);
+GLIB_AVAILABLE_IN_ALL
GInetAddress * g_inet_socket_address_get_address (GInetSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
guint16 g_inet_socket_address_get_port (GInetSocketAddress *address);
GLIB_AVAILABLE_IN_2_32
diff --git a/gio/ginitable.h b/gio/ginitable.h
index 318efbe9c..c1470132c 100644
--- a/gio/ginitable.h
+++ b/gio/ginitable.h
@@ -68,22 +68,27 @@ struct _GInitableIface
};
+GLIB_AVAILABLE_IN_ALL
GType g_initable_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_initable_init (GInitable *initable,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gpointer g_initable_new (GType object_type,
GCancellable *cancellable,
GError **error,
const gchar *first_property_name,
...);
+GLIB_AVAILABLE_IN_ALL
gpointer g_initable_newv (GType object_type,
guint n_parameters,
GParameter *parameters,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GObject* g_initable_new_valist (GType object_type,
const gchar *first_property_name,
va_list var_args,
diff --git a/gio/ginputstream.h b/gio/ginputstream.h
index 5f109c852..bedfba782 100644
--- a/gio/ginputstream.h
+++ b/gio/ginputstream.h
@@ -111,13 +111,16 @@ struct _GInputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gssize g_input_stream_read (GInputStream *stream,
void *buffer,
gsize count,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_input_stream_read_all (GInputStream *stream,
void *buffer,
gsize count,
@@ -129,13 +132,16 @@ GBytes *g_input_stream_read_bytes (GInputStream *stream,
gsize count,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_input_stream_skip (GInputStream *stream,
gsize count,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_input_stream_close (GInputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_input_stream_read_async (GInputStream *stream,
void *buffer,
gsize count,
@@ -143,6 +149,7 @@ void g_input_stream_read_async (GInputStream *stream,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gssize g_input_stream_read_finish (GInputStream *stream,
GAsyncResult *result,
GError **error);
@@ -157,30 +164,38 @@ GLIB_AVAILABLE_IN_2_34
GBytes *g_input_stream_read_bytes_finish (GInputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_input_stream_skip_async (GInputStream *stream,
gsize count,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gssize g_input_stream_skip_finish (GInputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_input_stream_close_async (GInputStream *stream,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_input_stream_close_finish (GInputStream *stream,
GAsyncResult *result,
GError **error);
/* For implementations: */
+GLIB_AVAILABLE_IN_ALL
gboolean g_input_stream_is_closed (GInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_input_stream_has_pending (GInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_input_stream_set_pending (GInputStream *stream,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_input_stream_clear_pending (GInputStream *stream);
G_END_DECLS
diff --git a/gio/gioerror.h b/gio/gioerror.h
index 5c153be2a..ed23df41b 100644
--- a/gio/gioerror.h
+++ b/gio/gioerror.h
@@ -40,10 +40,13 @@ G_BEGIN_DECLS
**/
#define G_IO_ERROR g_io_error_quark()
+GLIB_AVAILABLE_IN_ALL
GQuark g_io_error_quark (void);
+GLIB_AVAILABLE_IN_ALL
GIOErrorEnum g_io_error_from_errno (gint err_no);
#ifdef G_OS_WIN32
+GLIB_AVAILABLE_IN_ALL
GIOErrorEnum g_io_error_from_win32_error (gint error_code);
#endif
diff --git a/gio/giomodule.h b/gio/giomodule.h
index f3eaa40f2..b0aedeb68 100644
--- a/gio/giomodule.h
+++ b/gio/giomodule.h
@@ -56,10 +56,14 @@ void g_io_module_scope_block (GIOModuleScope *scope,
**/
typedef struct _GIOModuleClass GIOModuleClass;
+GLIB_AVAILABLE_IN_ALL
GType g_io_module_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GIOModule *g_io_module_new (const gchar *filename);
+GLIB_AVAILABLE_IN_ALL
void g_io_modules_scan_all_in_directory (const char *dirname);
+GLIB_AVAILABLE_IN_ALL
GList *g_io_modules_load_all_in_directory (const gchar *dirname);
GLIB_AVAILABLE_IN_2_30
@@ -69,22 +73,33 @@ GLIB_AVAILABLE_IN_2_30
GList *g_io_modules_load_all_in_directory_with_scope (const gchar *dirname,
GIOModuleScope *scope);
+GLIB_AVAILABLE_IN_ALL
GIOExtensionPoint *g_io_extension_point_register (const char *name);
+GLIB_AVAILABLE_IN_ALL
GIOExtensionPoint *g_io_extension_point_lookup (const char *name);
+GLIB_AVAILABLE_IN_ALL
void g_io_extension_point_set_required_type (GIOExtensionPoint *extension_point,
GType type);
+GLIB_AVAILABLE_IN_ALL
GType g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point);
+GLIB_AVAILABLE_IN_ALL
GList *g_io_extension_point_get_extensions (GIOExtensionPoint *extension_point);
+GLIB_AVAILABLE_IN_ALL
GIOExtension * g_io_extension_point_get_extension_by_name (GIOExtensionPoint *extension_point,
const char *name);
+GLIB_AVAILABLE_IN_ALL
GIOExtension * g_io_extension_point_implement (const char *extension_point_name,
GType type,
const char *extension_name,
gint priority);
+GLIB_AVAILABLE_IN_ALL
GType g_io_extension_get_type (GIOExtension *extension);
+GLIB_AVAILABLE_IN_ALL
const char * g_io_extension_get_name (GIOExtension *extension);
+GLIB_AVAILABLE_IN_ALL
gint g_io_extension_get_priority (GIOExtension *extension);
+GLIB_AVAILABLE_IN_ALL
GTypeClass* g_io_extension_ref_class (GIOExtension *extension);
@@ -98,6 +113,7 @@ GTypeClass* g_io_extension_ref_class (GIOExtension
* This function is ran after the module has been loaded into GIO,
* to initialize the module.
**/
+GLIB_AVAILABLE_IN_ALL
void g_io_module_load (GIOModule *module);
/**
@@ -108,6 +124,7 @@ void g_io_module_load (GIOModule *module);
* This function is ran when the module is being unloaded from GIO,
* to finalize the module.
**/
+GLIB_AVAILABLE_IN_ALL
void g_io_module_unload (GIOModule *module);
/**
@@ -142,6 +159,7 @@ void g_io_module_unload (GIOModule *module);
*
* Since: 2.24
**/
+GLIB_AVAILABLE_IN_ALL
char **g_io_module_query (void);
G_END_DECLS
diff --git a/gio/giostream.h b/gio/giostream.h
index 09c365b56..561b0e964 100644
--- a/gio/giostream.h
+++ b/gio/giostream.h
@@ -83,11 +83,15 @@ struct _GIOStreamClass
void (*_g_reserved10) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_io_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream * g_io_stream_get_input_stream (GIOStream *stream);
+GLIB_AVAILABLE_IN_ALL
GOutputStream *g_io_stream_get_output_stream (GIOStream *stream);
+GLIB_AVAILABLE_IN_ALL
void g_io_stream_splice_async (GIOStream *stream1,
GIOStream *stream2,
GIOStreamSpliceFlags flags,
@@ -96,26 +100,34 @@ void g_io_stream_splice_async (GIOStream *stream1,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_io_stream_splice_finish (GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_io_stream_close (GIOStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_io_stream_close_async (GIOStream *stream,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_io_stream_close_finish (GIOStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_io_stream_is_closed (GIOStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_io_stream_has_pending (GIOStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_io_stream_set_pending (GIOStream *stream,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_io_stream_clear_pending (GIOStream *stream);
G_END_DECLS
diff --git a/gio/gloadableicon.h b/gio/gloadableicon.h
index b23917df4..5bdece8d6 100644
--- a/gio/gloadableicon.h
+++ b/gio/gloadableicon.h
@@ -75,18 +75,22 @@ struct _GLoadableIconIface
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_loadable_icon_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream *g_loadable_icon_load (GLoadableIcon *icon,
int size,
char **type,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_loadable_icon_load_async (GLoadableIcon *icon,
int size,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GInputStream *g_loadable_icon_load_finish (GLoadableIcon *icon,
GAsyncResult *res,
char **type,
diff --git a/gio/glocaldirectorymonitor.h b/gio/glocaldirectorymonitor.h
index 1d54585ee..a93d11383 100644
--- a/gio/glocaldirectorymonitor.h
+++ b/gio/glocaldirectorymonitor.h
@@ -60,6 +60,7 @@ struct _GLocalDirectoryMonitorClass
gboolean (* is_supported) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_local_directory_monitor_get_type (void) G_GNUC_CONST;
GFileMonitor * _g_local_directory_monitor_new (const char *dirname,
diff --git a/gio/glocalfileinputstream.h b/gio/glocalfileinputstream.h
index 28f28bf7f..5033072ff 100644
--- a/gio/glocalfileinputstream.h
+++ b/gio/glocalfileinputstream.h
@@ -51,9 +51,12 @@ struct _GLocalFileInputStreamClass
GFileInputStreamClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType _g_local_file_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileInputStream *_g_local_file_input_stream_new (int fd);
+GLIB_AVAILABLE_IN_ALL
void _g_local_file_input_stream_set_do_close (GLocalFileInputStream *in,
gboolean do_close);
diff --git a/gio/glocalfileiostream.h b/gio/glocalfileiostream.h
index be7c7863f..6d9b0df3b 100644
--- a/gio/glocalfileiostream.h
+++ b/gio/glocalfileiostream.h
@@ -52,7 +52,9 @@ struct _GLocalFileIOStreamClass
GFileIOStreamClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType _g_local_file_io_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFileIOStream * _g_local_file_io_stream_new (GLocalFileOutputStream *output_stream);
G_END_DECLS
diff --git a/gio/glocalfilemonitor.h b/gio/glocalfilemonitor.h
index 66438661d..8c7a5951a 100644
--- a/gio/glocalfilemonitor.h
+++ b/gio/glocalfilemonitor.h
@@ -53,6 +53,7 @@ struct _GLocalFileMonitorClass
gboolean (* is_supported) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_local_file_monitor_get_type (void) G_GNUC_CONST;
GFileMonitor * _g_local_file_monitor_new (const char *pathname,
diff --git a/gio/gmemoryinputstream.h b/gio/gmemoryinputstream.h
index 944df9b0e..607c4bbac 100644
--- a/gio/gmemoryinputstream.h
+++ b/gio/gmemoryinputstream.h
@@ -67,14 +67,18 @@ struct _GMemoryInputStreamClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_memory_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream * g_memory_input_stream_new (void);
+GLIB_AVAILABLE_IN_ALL
GInputStream * g_memory_input_stream_new_from_data (const void *data,
gssize len,
GDestroyNotify destroy);
GLIB_AVAILABLE_IN_2_34
GInputStream * g_memory_input_stream_new_from_bytes (GBytes *bytes);
+GLIB_AVAILABLE_IN_ALL
void g_memory_input_stream_add_data (GMemoryInputStream *stream,
const void *data,
gssize len,
diff --git a/gio/gmemoryoutputstream.h b/gio/gmemoryoutputstream.h
index f85246162..b95d101cd 100644
--- a/gio/gmemoryoutputstream.h
+++ b/gio/gmemoryoutputstream.h
@@ -82,17 +82,23 @@ struct _GMemoryOutputStreamClass
typedef gpointer (* GReallocFunc) (gpointer data,
gsize size);
+GLIB_AVAILABLE_IN_ALL
GType g_memory_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GOutputStream *g_memory_output_stream_new (gpointer data,
gsize size,
GReallocFunc realloc_function,
GDestroyNotify destroy_function);
GLIB_AVAILABLE_IN_2_36
GOutputStream *g_memory_output_stream_new_resizable (void);
+GLIB_AVAILABLE_IN_ALL
gpointer g_memory_output_stream_get_data (GMemoryOutputStream *ostream);
+GLIB_AVAILABLE_IN_ALL
gsize g_memory_output_stream_get_size (GMemoryOutputStream *ostream);
+GLIB_AVAILABLE_IN_ALL
gsize g_memory_output_stream_get_data_size (GMemoryOutputStream *ostream);
+GLIB_AVAILABLE_IN_ALL
gpointer g_memory_output_stream_steal_data (GMemoryOutputStream *ostream);
GLIB_AVAILABLE_IN_2_34
diff --git a/gio/gmount.h b/gio/gmount.h
index f3b71e737..58f5193a7 100644
--- a/gio/gmount.h
+++ b/gio/gmount.h
@@ -163,17 +163,28 @@ struct _GMountIface
GIcon * (* get_symbolic_icon) (GMount *mount);
};
+GLIB_AVAILABLE_IN_ALL
GType g_mount_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GFile * g_mount_get_root (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
GFile * g_mount_get_default_location (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
char * g_mount_get_name (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_mount_get_icon (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_mount_get_symbolic_icon (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
char * g_mount_get_uuid (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
GVolume * g_mount_get_volume (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
GDrive * g_mount_get_drive (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_can_unmount (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_can_eject (GMount *mount);
GLIB_DEPRECATED_FOR(g_mount_unmount_with_operation)
@@ -200,53 +211,66 @@ gboolean g_mount_eject_finish (GMount *mount,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_mount_remount (GMount *mount,
GMountMountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_remount_finish (GMount *mount,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_mount_guess_content_type (GMount *mount,
gboolean force_rescan,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_mount_guess_content_type_finish (GMount *mount,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_mount_guess_content_type_sync (GMount *mount,
gboolean force_rescan,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_is_shadowed (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
void g_mount_shadow (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
void g_mount_unshadow (GMount *mount);
+GLIB_AVAILABLE_IN_ALL
void g_mount_unmount_with_operation (GMount *mount,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_unmount_with_operation_finish (GMount *mount,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_mount_eject_with_operation (GMount *mount,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_eject_with_operation_finish (GMount *mount,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_mount_get_sort_key (GMount *mount);
G_END_DECLS
diff --git a/gio/gmountoperation.h b/gio/gmountoperation.h
index f57031aa1..7f8baf19c 100644
--- a/gio/gmountoperation.h
+++ b/gio/gmountoperation.h
@@ -98,27 +98,42 @@ struct _GMountOperationClass
void (*_g_reserved9) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_mount_operation_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GMountOperation * g_mount_operation_new (void);
+GLIB_AVAILABLE_IN_ALL
const char * g_mount_operation_get_username (GMountOperation *op);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_set_username (GMountOperation *op,
const char *username);
+GLIB_AVAILABLE_IN_ALL
const char * g_mount_operation_get_password (GMountOperation *op);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_set_password (GMountOperation *op,
const char *password);
+GLIB_AVAILABLE_IN_ALL
gboolean g_mount_operation_get_anonymous (GMountOperation *op);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_set_anonymous (GMountOperation *op,
gboolean anonymous);
+GLIB_AVAILABLE_IN_ALL
const char * g_mount_operation_get_domain (GMountOperation *op);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_set_domain (GMountOperation *op,
const char *domain);
+GLIB_AVAILABLE_IN_ALL
GPasswordSave g_mount_operation_get_password_save (GMountOperation *op);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_set_password_save (GMountOperation *op,
GPasswordSave save);
+GLIB_AVAILABLE_IN_ALL
int g_mount_operation_get_choice (GMountOperation *op);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_set_choice (GMountOperation *op,
int choice);
+GLIB_AVAILABLE_IN_ALL
void g_mount_operation_reply (GMountOperation *op,
GMountOperationResult result);
diff --git a/gio/gnativevolumemonitor.h b/gio/gnativevolumemonitor.h
index 8059bed8b..e7f6d6224 100644
--- a/gio/gnativevolumemonitor.h
+++ b/gio/gnativevolumemonitor.h
@@ -55,6 +55,7 @@ struct _GNativeVolumeMonitorClass
GCancellable *cancellable);
};
+GLIB_AVAILABLE_IN_ALL
GType g_native_volume_monitor_get_type (void) G_GNUC_CONST;
G_END_DECLS
diff --git a/gio/gnetworkaddress.h b/gio/gnetworkaddress.h
index 281271de6..326ab21da 100644
--- a/gio/gnetworkaddress.h
+++ b/gio/gnetworkaddress.h
@@ -53,18 +53,25 @@ struct _GNetworkAddressClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_network_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketConnectable *g_network_address_new (const gchar *hostname,
guint16 port);
+GLIB_AVAILABLE_IN_ALL
GSocketConnectable *g_network_address_parse (const gchar *host_and_port,
guint16 default_port,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketConnectable *g_network_address_parse_uri (const gchar *uri,
guint16 default_port,
GError **error);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_network_address_get_hostname (GNetworkAddress *addr);
+GLIB_AVAILABLE_IN_ALL
guint16 g_network_address_get_port (GNetworkAddress *addr);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_network_address_get_scheme (GNetworkAddress *addr);
diff --git a/gio/gnetworkmonitor.h b/gio/gnetworkmonitor.h
index 6a53a087c..373934e29 100644
--- a/gio/gnetworkmonitor.h
+++ b/gio/gnetworkmonitor.h
@@ -71,17 +71,21 @@ GType g_network_monitor_get_type (void) G_GNUC_CONST;
GLIB_AVAILABLE_IN_2_32
GNetworkMonitor *g_network_monitor_get_default (void);
+GLIB_AVAILABLE_IN_ALL
gboolean g_network_monitor_get_network_available (GNetworkMonitor *monitor);
+GLIB_AVAILABLE_IN_ALL
gboolean g_network_monitor_can_reach (GNetworkMonitor *monitor,
GSocketConnectable *connectable,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_network_monitor_can_reach_async (GNetworkMonitor *monitor,
GSocketConnectable *connectable,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_network_monitor_can_reach_finish (GNetworkMonitor *monitor,
GAsyncResult *result,
GError **error);
diff --git a/gio/gnetworkmonitorbase.h b/gio/gnetworkmonitorbase.h
index f70403f37..225a1bac6 100644
--- a/gio/gnetworkmonitorbase.h
+++ b/gio/gnetworkmonitorbase.h
@@ -50,6 +50,7 @@ struct _GNetworkMonitorBaseClass {
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_network_monitor_base_get_type (void);
/*< protected >*/
@@ -59,6 +60,7 @@ void g_network_monitor_base_add_network (GNetworkMonitorBase *monitor,
GLIB_AVAILABLE_IN_2_32
void g_network_monitor_base_remove_network (GNetworkMonitorBase *monitor,
GInetAddressMask *network);
+GLIB_AVAILABLE_IN_ALL
void g_network_monitor_base_set_networks (GNetworkMonitorBase *monitor,
GInetAddressMask **networks,
gint length);
diff --git a/gio/gnetworkservice.h b/gio/gnetworkservice.h
index 0abac165d..082166d54 100644
--- a/gio/gnetworkservice.h
+++ b/gio/gnetworkservice.h
@@ -53,16 +53,23 @@ struct _GNetworkServiceClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_network_service_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketConnectable *g_network_service_new (const gchar *service,
const gchar *protocol,
const gchar *domain);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_network_service_get_service (GNetworkService *srv);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_network_service_get_protocol (GNetworkService *srv);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_network_service_get_domain (GNetworkService *srv);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_network_service_get_scheme (GNetworkService *srv);
+GLIB_AVAILABLE_IN_ALL
void g_network_service_set_scheme (GNetworkService *srv, const gchar *scheme);
G_END_DECLS
diff --git a/gio/goutputstream.h b/gio/goutputstream.h
index 9502d4ae2..dd2cbad4c 100644
--- a/gio/goutputstream.h
+++ b/gio/goutputstream.h
@@ -133,13 +133,16 @@ struct _GOutputStreamClass
void (*_g_reserved8) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gssize g_output_stream_write (GOutputStream *stream,
const void *buffer,
gsize count,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_write_all (GOutputStream *stream,
const void *buffer,
gsize count,
@@ -151,17 +154,21 @@ gssize g_output_stream_write_bytes (GOutputStream *stream,
GBytes *bytes,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_output_stream_splice (GOutputStream *stream,
GInputStream *source,
GOutputStreamSpliceFlags flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_flush (GOutputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_close (GOutputStream *stream,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_output_stream_write_async (GOutputStream *stream,
const void *buffer,
gsize count,
@@ -169,6 +176,7 @@ void g_output_stream_write_async (GOutputStream *stream,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gssize g_output_stream_write_finish (GOutputStream *stream,
GAsyncResult *result,
GError **error);
@@ -183,6 +191,7 @@ GLIB_AVAILABLE_IN_2_34
gssize g_output_stream_write_bytes_finish (GOutputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_output_stream_splice_async (GOutputStream *stream,
GInputStream *source,
GOutputStreamSpliceFlags flags,
@@ -190,31 +199,41 @@ void g_output_stream_splice_async (GOutputStream *stream,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gssize g_output_stream_splice_finish (GOutputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_output_stream_flush_async (GOutputStream *stream,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_flush_finish (GOutputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_output_stream_close_async (GOutputStream *stream,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_close_finish (GOutputStream *stream,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_is_closed (GOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_is_closing (GOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_has_pending (GOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_output_stream_set_pending (GOutputStream *stream,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_output_stream_clear_pending (GOutputStream *stream);
diff --git a/gio/gpermission.h b/gio/gpermission.h
index a4ea113b5..49c29910c 100644
--- a/gio/gpermission.h
+++ b/gio/gpermission.h
@@ -81,33 +81,44 @@ struct _GPermissionClass {
gpointer reserved[16];
};
+GLIB_AVAILABLE_IN_ALL
GType g_permission_get_type (void);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_acquire (GPermission *permission,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_permission_acquire_async (GPermission *permission,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_acquire_finish (GPermission *permission,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_release (GPermission *permission,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_permission_release_async (GPermission *permission,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_release_finish (GPermission *permission,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_get_allowed (GPermission *permission);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_get_can_acquire (GPermission *permission);
+GLIB_AVAILABLE_IN_ALL
gboolean g_permission_get_can_release (GPermission *permission);
+GLIB_AVAILABLE_IN_ALL
void g_permission_impl_update (GPermission *permission,
gboolean allowed,
gboolean can_acquire,
diff --git a/gio/gpollableinputstream.h b/gio/gpollableinputstream.h
index 5903fe936..a0b15745f 100644
--- a/gio/gpollableinputstream.h
+++ b/gio/gpollableinputstream.h
@@ -81,14 +81,19 @@ struct _GPollableInputStreamInterface
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_pollable_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_pollable_input_stream_can_poll (GPollableInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_pollable_input_stream_is_readable (GPollableInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
GSource *g_pollable_input_stream_create_source (GPollableInputStream *stream,
GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
gssize g_pollable_input_stream_read_nonblocking (GPollableInputStream *stream,
void *buffer,
gsize count,
diff --git a/gio/gpollableoutputstream.h b/gio/gpollableoutputstream.h
index 572948d41..b6b3e541c 100644
--- a/gio/gpollableoutputstream.h
+++ b/gio/gpollableoutputstream.h
@@ -81,14 +81,19 @@ struct _GPollableOutputStreamInterface
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_pollable_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_pollable_output_stream_can_poll (GPollableOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gboolean g_pollable_output_stream_is_writable (GPollableOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
GSource *g_pollable_output_stream_create_source (GPollableOutputStream *stream,
GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
gssize g_pollable_output_stream_write_nonblocking (GPollableOutputStream *stream,
const void *buffer,
gsize count,
diff --git a/gio/gpollableutils.h b/gio/gpollableutils.h
index faf16c041..cb4612d97 100644
--- a/gio/gpollableutils.h
+++ b/gio/gpollableutils.h
@@ -29,6 +29,7 @@
G_BEGIN_DECLS
+GLIB_AVAILABLE_IN_ALL
GSource *g_pollable_source_new (GObject *pollable_stream);
GLIB_AVAILABLE_IN_2_34
diff --git a/gio/gproxy.h b/gio/gproxy.h
index 4d2c483ba..b02233598 100644
--- a/gio/gproxy.h
+++ b/gio/gproxy.h
@@ -96,16 +96,20 @@ struct _GProxyInterface
gboolean (* supports_hostname) (GProxy *proxy);
};
+GLIB_AVAILABLE_IN_ALL
GType g_proxy_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GProxy *g_proxy_get_default_for_protocol (const gchar *protocol);
+GLIB_AVAILABLE_IN_ALL
GIOStream *g_proxy_connect (GProxy *proxy,
GIOStream *connection,
GProxyAddress *proxy_address,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_proxy_connect_async (GProxy *proxy,
GIOStream *connection,
GProxyAddress *proxy_address,
@@ -113,10 +117,12 @@ void g_proxy_connect_async (GProxy *proxy,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GIOStream *g_proxy_connect_finish (GProxy *proxy,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_proxy_supports_hostname (GProxy *proxy);
G_END_DECLS
diff --git a/gio/gproxyaddress.h b/gio/gproxyaddress.h
index c44fd9a7d..ed67f33d4 100644
--- a/gio/gproxyaddress.h
+++ b/gio/gproxyaddress.h
@@ -55,8 +55,10 @@ struct _GProxyAddressClass
};
+GLIB_AVAILABLE_IN_ALL
GType g_proxy_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_proxy_address_new (GInetAddress *inetaddr,
guint16 port,
const gchar *protocol,
@@ -65,12 +67,17 @@ GSocketAddress *g_proxy_address_new (GInetAddress *inetaddr,
const gchar *username,
const gchar *password);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_proxy_address_get_protocol (GProxyAddress *proxy);
GLIB_AVAILABLE_IN_2_34
const gchar *g_proxy_address_get_destination_protocol (GProxyAddress *proxy);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_proxy_address_get_destination_hostname (GProxyAddress *proxy);
+GLIB_AVAILABLE_IN_ALL
guint16 g_proxy_address_get_destination_port (GProxyAddress *proxy);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_proxy_address_get_username (GProxyAddress *proxy);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_proxy_address_get_password (GProxyAddress *proxy);
GLIB_AVAILABLE_IN_2_34
diff --git a/gio/gproxyaddressenumerator.h b/gio/gproxyaddressenumerator.h
index 6ce8916c3..19bcd5192 100644
--- a/gio/gproxyaddressenumerator.h
+++ b/gio/gproxyaddressenumerator.h
@@ -68,6 +68,7 @@ struct _GProxyAddressEnumeratorClass
void (*_g_reserved7) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_proxy_address_enumerator_get_type (void) G_GNUC_CONST;
G_END_DECLS
diff --git a/gio/gproxyresolver.h b/gio/gproxyresolver.h
index 5884dc855..eaad83418 100644
--- a/gio/gproxyresolver.h
+++ b/gio/gproxyresolver.h
@@ -68,19 +68,25 @@ struct _GProxyResolverInterface {
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_proxy_resolver_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GProxyResolver *g_proxy_resolver_get_default (void);
+GLIB_AVAILABLE_IN_ALL
gboolean g_proxy_resolver_is_supported (GProxyResolver *resolver);
+GLIB_AVAILABLE_IN_ALL
gchar **g_proxy_resolver_lookup (GProxyResolver *resolver,
const gchar *uri,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_proxy_resolver_lookup_async (GProxyResolver *resolver,
const gchar *uri,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gchar **g_proxy_resolver_lookup_finish (GProxyResolver *resolver,
GAsyncResult *result,
GError **error);
diff --git a/gio/gresolver.h b/gio/gresolver.h
index 01243f1a3..454896ca1 100644
--- a/gio/gresolver.h
+++ b/gio/gresolver.h
@@ -115,44 +115,56 @@ struct _GResolverClass {
};
+GLIB_AVAILABLE_IN_ALL
GType g_resolver_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GResolver *g_resolver_get_default (void);
+GLIB_AVAILABLE_IN_ALL
void g_resolver_set_default (GResolver *resolver);
+GLIB_AVAILABLE_IN_ALL
GList *g_resolver_lookup_by_name (GResolver *resolver,
const gchar *hostname,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_resolver_lookup_by_name_async (GResolver *resolver,
const gchar *hostname,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GList *g_resolver_lookup_by_name_finish (GResolver *resolver,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_resolver_free_addresses (GList *addresses);
+GLIB_AVAILABLE_IN_ALL
gchar *g_resolver_lookup_by_address (GResolver *resolver,
GInetAddress *address,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_resolver_lookup_by_address_async (GResolver *resolver,
GInetAddress *address,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gchar *g_resolver_lookup_by_address_finish (GResolver *resolver,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GList *g_resolver_lookup_service (GResolver *resolver,
const gchar *service,
const gchar *protocol,
const gchar *domain,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_resolver_lookup_service_async (GResolver *resolver,
const gchar *service,
const gchar *protocol,
@@ -160,6 +172,7 @@ void g_resolver_lookup_service_async (GResolver *resolver,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GList *g_resolver_lookup_service_finish (GResolver *resolver,
GAsyncResult *result,
GError **error);
@@ -182,6 +195,7 @@ GList *g_resolver_lookup_records_finish (GResolver *resolver,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_resolver_free_targets (GList *targets);
/**
@@ -192,6 +206,7 @@ void g_resolver_free_targets (GList *targets);
* error domains.
*/
#define G_RESOLVER_ERROR (g_resolver_error_quark ())
+GLIB_AVAILABLE_IN_ALL
GQuark g_resolver_error_quark (void);
G_END_DECLS
diff --git a/gio/gseekable.h b/gio/gseekable.h
index 95df99d4a..245eb0701 100644
--- a/gio/gseekable.h
+++ b/gio/gseekable.h
@@ -78,16 +78,22 @@ struct _GSeekableIface
/* TODO: Async seek/truncate */
};
+GLIB_AVAILABLE_IN_ALL
GType g_seekable_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
goffset g_seekable_tell (GSeekable *seekable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_seekable_can_seek (GSeekable *seekable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_seekable_seek (GSeekable *seekable,
goffset offset,
GSeekType type,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_seekable_can_truncate (GSeekable *seekable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_seekable_truncate (GSeekable *seekable,
goffset offset,
GCancellable *cancellable,
diff --git a/gio/gsettings.h b/gio/gsettings.h
index 918c93214..ad19623a6 100644
--- a/gio/gsettings.h
+++ b/gio/gsettings.h
@@ -69,15 +69,22 @@ struct _GSettings
};
+GLIB_AVAILABLE_IN_ALL
GType g_settings_get_type (void);
+GLIB_AVAILABLE_IN_ALL
const gchar * const * g_settings_list_schemas (void);
+GLIB_AVAILABLE_IN_ALL
const gchar * const * g_settings_list_relocatable_schemas (void);
+GLIB_AVAILABLE_IN_ALL
GSettings * g_settings_new (const gchar *schema_id);
+GLIB_AVAILABLE_IN_ALL
GSettings * g_settings_new_with_path (const gchar *schema_id,
const gchar *path);
+GLIB_AVAILABLE_IN_ALL
GSettings * g_settings_new_with_backend (const gchar *schema_id,
GSettingsBackend *backend);
+GLIB_AVAILABLE_IN_ALL
GSettings * g_settings_new_with_backend_and_path (const gchar *schema_id,
GSettingsBackend *backend,
const gchar *path);
@@ -85,81 +92,113 @@ GLIB_AVAILABLE_IN_2_32
GSettings * g_settings_new_full (GSettingsSchema *schema,
GSettingsBackend *backend,
const gchar *path);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_settings_list_children (GSettings *settings);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_settings_list_keys (GSettings *settings);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_settings_get_range (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_range_check (GSettings *settings,
const gchar *key,
GVariant *value);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_value (GSettings *settings,
const gchar *key,
GVariant *value);
+GLIB_AVAILABLE_IN_ALL
GVariant * g_settings_get_value (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set (GSettings *settings,
const gchar *key,
const gchar *format,
...);
+GLIB_AVAILABLE_IN_ALL
void g_settings_get (GSettings *settings,
const gchar *key,
const gchar *format,
...);
+GLIB_AVAILABLE_IN_ALL
void g_settings_reset (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gint g_settings_get_int (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_int (GSettings *settings,
const gchar *key,
gint value);
+GLIB_AVAILABLE_IN_ALL
guint g_settings_get_uint (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_uint (GSettings *settings,
const gchar *key,
guint value);
+GLIB_AVAILABLE_IN_ALL
gchar * g_settings_get_string (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_string (GSettings *settings,
const gchar *key,
const gchar *value);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_get_boolean (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_boolean (GSettings *settings,
const gchar *key,
gboolean value);
+GLIB_AVAILABLE_IN_ALL
gdouble g_settings_get_double (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_double (GSettings *settings,
const gchar *key,
gdouble value);
+GLIB_AVAILABLE_IN_ALL
gchar ** g_settings_get_strv (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_strv (GSettings *settings,
const gchar *key,
const gchar *const *value);
+GLIB_AVAILABLE_IN_ALL
gint g_settings_get_enum (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_enum (GSettings *settings,
const gchar *key,
gint value);
+GLIB_AVAILABLE_IN_ALL
guint g_settings_get_flags (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_set_flags (GSettings *settings,
const gchar *key,
guint value);
+GLIB_AVAILABLE_IN_ALL
GSettings * g_settings_get_child (GSettings *settings,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_is_writable (GSettings *settings,
const gchar *name);
+GLIB_AVAILABLE_IN_ALL
void g_settings_delay (GSettings *settings);
+GLIB_AVAILABLE_IN_ALL
void g_settings_apply (GSettings *settings);
+GLIB_AVAILABLE_IN_ALL
void g_settings_revert (GSettings *settings);
+GLIB_AVAILABLE_IN_ALL
gboolean g_settings_get_has_unapplied (GSettings *settings);
+GLIB_AVAILABLE_IN_ALL
void g_settings_sync (void);
/**
@@ -246,11 +285,13 @@ typedef enum
G_SETTINGS_BIND_INVERT_BOOLEAN = (1<<4)
} GSettingsBindFlags;
+GLIB_AVAILABLE_IN_ALL
void g_settings_bind (GSettings *settings,
const gchar *key,
gpointer object,
const gchar *property,
GSettingsBindFlags flags);
+GLIB_AVAILABLE_IN_ALL
void g_settings_bind_with_mapping (GSettings *settings,
const gchar *key,
gpointer object,
@@ -260,11 +301,13 @@ void g_settings_bind_with_mapping (GSettin
GSettingsBindSetMapping set_mapping,
gpointer user_data,
GDestroyNotify destroy);
+GLIB_AVAILABLE_IN_ALL
void g_settings_bind_writable (GSettings *settings,
const gchar *key,
gpointer object,
const gchar *property,
gboolean inverted);
+GLIB_AVAILABLE_IN_ALL
void g_settings_unbind (gpointer object,
const gchar *property);
@@ -272,6 +315,7 @@ GLIB_AVAILABLE_IN_2_32
GAction * g_settings_create_action (GSettings *settings,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
gpointer g_settings_get_mapped (GSettings *settings,
const gchar *key,
GSettingsGetMapping mapping,
diff --git a/gio/gsettingsbackend.h b/gio/gsettingsbackend.h
index e67418734..293ca651f 100644
--- a/gio/gsettingsbackend.h
+++ b/gio/gsettingsbackend.h
@@ -104,39 +104,51 @@ struct _GSettingsBackend
GSettingsBackendPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_settings_backend_get_type (void);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_changed (GSettingsBackend *backend,
const gchar *key,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_path_changed (GSettingsBackend *backend,
const gchar *path,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_flatten_tree (GTree *tree,
gchar **path,
const gchar ***keys,
GVariant ***values);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_keys_changed (GSettingsBackend *backend,
const gchar *path,
gchar const * const *items,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_path_writable_changed (GSettingsBackend *backend,
const gchar *path);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_writable_changed (GSettingsBackend *backend,
const gchar *key);
+GLIB_AVAILABLE_IN_ALL
void g_settings_backend_changed_tree (GSettingsBackend *backend,
GTree *tree,
gpointer origin_tag);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_settings_backend_get_default (void);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_keyfile_settings_backend_new (const gchar *filename,
const gchar *root_path,
const gchar *root_group);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_null_settings_backend_new (void);
+GLIB_AVAILABLE_IN_ALL
GSettingsBackend * g_memory_settings_backend_new (void);
G_END_DECLS
diff --git a/gio/gsimpleaction.h b/gio/gsimpleaction.h
index d954d6696..b89b1a906 100644
--- a/gio/gsimpleaction.h
+++ b/gio/gsimpleaction.h
@@ -36,15 +36,19 @@ G_BEGIN_DECLS
#define G_IS_SIMPLE_ACTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
G_TYPE_SIMPLE_ACTION))
+GLIB_AVAILABLE_IN_ALL
GType g_simple_action_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSimpleAction * g_simple_action_new (const gchar *name,
const GVariantType *parameter_type);
+GLIB_AVAILABLE_IN_ALL
GSimpleAction * g_simple_action_new_stateful (const gchar *name,
const GVariantType *parameter_type,
GVariant *state);
+GLIB_AVAILABLE_IN_ALL
void g_simple_action_set_enabled (GSimpleAction *simple,
gboolean enabled);
diff --git a/gio/gsimpleactiongroup.h b/gio/gsimpleactiongroup.h
index 243cd4f6f..5f1762668 100644
--- a/gio/gsimpleactiongroup.h
+++ b/gio/gsimpleactiongroup.h
@@ -70,16 +70,21 @@ struct _GSimpleActionGroupClass
gpointer padding[12];
};
+GLIB_AVAILABLE_IN_ALL
GType g_simple_action_group_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSimpleActionGroup * g_simple_action_group_new (void);
+GLIB_AVAILABLE_IN_ALL
GAction * g_simple_action_group_lookup (GSimpleActionGroup *simple,
const gchar *action_name);
+GLIB_AVAILABLE_IN_ALL
void g_simple_action_group_insert (GSimpleActionGroup *simple,
GAction *action);
+GLIB_AVAILABLE_IN_ALL
void g_simple_action_group_remove (GSimpleActionGroup *simple,
const gchar *action_name);
diff --git a/gio/gsimpleasyncresult.h b/gio/gsimpleasyncresult.h
index 1ea98f405..7134f8494 100644
--- a/gio/gsimpleasyncresult.h
+++ b/gio/gsimpleasyncresult.h
@@ -46,12 +46,15 @@ G_BEGIN_DECLS
typedef struct _GSimpleAsyncResultClass GSimpleAsyncResultClass;
+GLIB_AVAILABLE_IN_ALL
GType g_simple_async_result_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object,
GAsyncReadyCallback callback,
gpointer user_data,
gpointer source_tag);
+GLIB_AVAILABLE_IN_ALL
GSimpleAsyncResult *g_simple_async_result_new_error (GObject *source_object,
GAsyncReadyCallback callback,
gpointer user_data,
@@ -59,26 +62,34 @@ GSimpleAsyncResult *g_simple_async_result_new_error (GObject
gint code,
const char *format,
...) G_GNUC_PRINTF (6, 7);
+GLIB_AVAILABLE_IN_ALL
GSimpleAsyncResult *g_simple_async_result_new_from_error (GObject *source_object,
GAsyncReadyCallback callback,
gpointer user_data,
const GError *error);
+GLIB_AVAILABLE_IN_ALL
GSimpleAsyncResult *g_simple_async_result_new_take_error (GObject *source_object,
GAsyncReadyCallback callback,
gpointer user_data,
GError *error);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple,
gpointer op_res,
GDestroyNotify destroy_op_res);
+GLIB_AVAILABLE_IN_ALL
gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_op_res_gssize (GSimpleAsyncResult *simple,
gssize op_res);
+GLIB_AVAILABLE_IN_ALL
gssize g_simple_async_result_get_op_res_gssize (GSimpleAsyncResult *simple);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_op_res_gboolean (GSimpleAsyncResult *simple,
gboolean op_res);
+GLIB_AVAILABLE_IN_ALL
gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple);
@@ -86,36 +97,48 @@ gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResul
GLIB_AVAILABLE_IN_2_32
void g_simple_async_result_set_check_cancellable (GSimpleAsyncResult *simple,
GCancellable *check_cancellable);
+GLIB_AVAILABLE_IN_ALL
gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_handle_cancellation (GSimpleAsyncResult *simple,
gboolean handle_cancellation);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_complete (GSimpleAsyncResult *simple);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple,
GSimpleAsyncThreadFunc func,
int io_priority,
GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
const GError *error);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_take_error (GSimpleAsyncResult *simple,
GError *error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple,
GError **dest);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_error (GSimpleAsyncResult *simple,
GQuark domain,
gint code,
const char *format,
...) G_GNUC_PRINTF (4, 5);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_result_set_error_va (GSimpleAsyncResult *simple,
GQuark domain,
gint code,
const char *format,
va_list args)
G_GNUC_PRINTF(4, 0);
+GLIB_AVAILABLE_IN_ALL
gboolean g_simple_async_result_is_valid (GAsyncResult *result,
GObject *source,
gpointer source_tag);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_report_error_in_idle (GObject *object,
GAsyncReadyCallback callback,
gpointer user_data,
@@ -123,10 +146,12 @@ void g_simple_async_report_error_in_idle (GObject *object,
gint code,
const char *format,
...) G_GNUC_PRINTF(6, 7);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_report_gerror_in_idle (GObject *object,
GAsyncReadyCallback callback,
gpointer user_data,
const GError *error);
+GLIB_AVAILABLE_IN_ALL
void g_simple_async_report_take_gerror_in_idle (GObject *object,
GAsyncReadyCallback callback,
gpointer user_data,
diff --git a/gio/gsimplepermission.h b/gio/gsimplepermission.h
index b9a362b54..4cc336bbc 100644
--- a/gio/gsimplepermission.h
+++ b/gio/gsimplepermission.h
@@ -37,7 +37,9 @@ G_BEGIN_DECLS
#define G_IS_SIMPLE_PERMISSION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
G_TYPE_SIMPLE_PERMISSION))
+GLIB_AVAILABLE_IN_ALL
GType g_simple_permission_get_type (void);
+GLIB_AVAILABLE_IN_ALL
GPermission * g_simple_permission_new (gboolean allowed);
G_END_DECLS
diff --git a/gio/gsocket.h b/gio/gsocket.h
index e6eb3d19c..edc02923b 100644
--- a/gio/gsocket.h
+++ b/gio/gsocket.h
@@ -73,31 +73,48 @@ struct _GSocket
GSocketPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocket * g_socket_new (GSocketFamily family,
GSocketType type,
GSocketProtocol protocol,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocket * g_socket_new_from_fd (gint fd,
GError **error);
+GLIB_AVAILABLE_IN_ALL
int g_socket_get_fd (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GSocketFamily g_socket_get_family (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GSocketType g_socket_get_socket_type (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GSocketProtocol g_socket_get_protocol (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress * g_socket_get_local_address (GSocket *socket,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress * g_socket_get_remote_address (GSocket *socket,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_set_blocking (GSocket *socket,
gboolean blocking);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_get_blocking (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
void g_socket_set_keepalive (GSocket *socket,
gboolean keepalive);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_get_keepalive (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
gint g_socket_get_listen_backlog (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
void g_socket_set_listen_backlog (GSocket *socket,
gint backlog);
+GLIB_AVAILABLE_IN_ALL
guint g_socket_get_timeout (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
void g_socket_set_timeout (GSocket *socket,
guint timeout);
@@ -123,7 +140,9 @@ guint g_socket_get_multicast_ttl (GSocket
GLIB_AVAILABLE_IN_2_32
void g_socket_set_multicast_ttl (GSocket *socket,
guint ttl);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_is_connected (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_bind (GSocket *socket,
GSocketAddress *address,
gboolean allow_reuse,
@@ -140,17 +159,22 @@ gboolean g_socket_leave_multicast_group (GSocket
gboolean source_specific,
const gchar *iface,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_connect (GSocket *socket,
GSocketAddress *address,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_check_connect_result (GSocket *socket,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_get_available_bytes (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GIOCondition g_socket_condition_check (GSocket *socket,
GIOCondition condition);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_condition_wait (GSocket *socket,
GIOCondition condition,
GCancellable *cancellable,
@@ -161,33 +185,40 @@ gboolean g_socket_condition_timed_wait (GSocket
gint64 timeout,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocket * g_socket_accept (GSocket *socket,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_listen (GSocket *socket,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_receive (GSocket *socket,
gchar *buffer,
gsize size,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_receive_from (GSocket *socket,
GSocketAddress **address,
gchar *buffer,
gsize size,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_send (GSocket *socket,
const gchar *buffer,
gsize size,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_send_to (GSocket *socket,
GSocketAddress *address,
const gchar *buffer,
gsize size,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_receive_message (GSocket *socket,
GSocketAddress **address,
GInputVector *vectors,
@@ -197,6 +228,7 @@ gssize g_socket_receive_message (GSocket
gint *flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_send_message (GSocket *socket,
GSocketAddress *address,
GOutputVector *vectors,
@@ -206,26 +238,34 @@ gssize g_socket_send_message (GSocket
gint flags,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_close (GSocket *socket,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_shutdown (GSocket *socket,
gboolean shutdown_read,
gboolean shutdown_write,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_is_closed (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GSource * g_socket_create_source (GSocket *socket,
GIOCondition condition,
GCancellable *cancellable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_speaks_ipv4 (GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GCredentials *g_socket_get_credentials (GSocket *socket,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_receive_with_blocking (GSocket *socket,
gchar *buffer,
gsize size,
gboolean blocking,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gssize g_socket_send_with_blocking (GSocket *socket,
const gchar *buffer,
gsize size,
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
diff --git a/gio/gsocketaddressenumerator.h b/gio/gsocketaddressenumerator.h
index 6c636f3a1..bf415d19c 100644
--- a/gio/gsocketaddressenumerator.h
+++ b/gio/gsocketaddressenumerator.h
@@ -69,16 +69,20 @@ struct _GSocketAddressEnumeratorClass
GError **error);
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_address_enumerator_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_socket_address_enumerator_next (GSocketAddressEnumerator *enumerator,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_address_enumerator_next_async (GSocketAddressEnumerator *enumerator,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_socket_address_enumerator_next_finish (GSocketAddressEnumerator *enumerator,
GAsyncResult *result,
GError **error);
diff --git a/gio/gsocketclient.h b/gio/gsocketclient.h
index e435dde07..11748bacf 100644
--- a/gio/gsocketclient.h
+++ b/gio/gsocketclient.h
@@ -70,91 +70,122 @@ struct _GSocketClient
GSocketClientPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_client_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketClient *g_socket_client_new (void);
+GLIB_AVAILABLE_IN_ALL
GSocketFamily g_socket_client_get_family (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_family (GSocketClient *client,
GSocketFamily family);
+GLIB_AVAILABLE_IN_ALL
GSocketType g_socket_client_get_socket_type (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_socket_type (GSocketClient *client,
GSocketType type);
+GLIB_AVAILABLE_IN_ALL
GSocketProtocol g_socket_client_get_protocol (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_protocol (GSocketClient *client,
GSocketProtocol protocol);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_socket_client_get_local_address (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_local_address (GSocketClient *client,
GSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
guint g_socket_client_get_timeout (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_timeout (GSocketClient *client,
guint timeout);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_client_get_enable_proxy (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_enable_proxy (GSocketClient *client,
gboolean enable);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_client_get_tls (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_tls (GSocketClient *client,
gboolean tls);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificateFlags g_socket_client_get_tls_validation_flags (GSocketClient *client);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_set_tls_validation_flags (GSocketClient *client,
GTlsCertificateFlags flags);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect (GSocketClient *client,
GSocketConnectable *connectable,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_to_host (GSocketClient *client,
const gchar *host_and_port,
guint16 default_port,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_to_service (GSocketClient *client,
const gchar *domain,
const gchar *service,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_to_uri (GSocketClient *client,
const gchar *uri,
guint16 default_port,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_connect_async (GSocketClient *client,
GSocketConnectable *connectable,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_finish (GSocketClient *client,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_connect_to_host_async (GSocketClient *client,
const gchar *host_and_port,
guint16 default_port,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_to_host_finish (GSocketClient *client,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_connect_to_service_async (GSocketClient *client,
const gchar *domain,
const gchar *service,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_to_service_finish (GSocketClient *client,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_connect_to_uri_async (GSocketClient *client,
const gchar *uri,
guint16 default_port,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_client_connect_to_uri_finish (GSocketClient *client,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_client_add_application_proxy (GSocketClient *client,
const gchar *protocol);
diff --git a/gio/gsocketconnectable.h b/gio/gsocketconnectable.h
index f22470600..5a80ea8e1 100644
--- a/gio/gsocketconnectable.h
+++ b/gio/gsocketconnectable.h
@@ -62,10 +62,13 @@ struct _GSocketConnectableIface
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_connectable_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketAddressEnumerator *g_socket_connectable_enumerate (GSocketConnectable *connectable);
+GLIB_AVAILABLE_IN_ALL
GSocketAddressEnumerator *g_socket_connectable_proxy_enumerate (GSocketConnectable *connectable);
G_END_DECLS
diff --git a/gio/gsocketconnection.h b/gio/gsocketconnection.h
index ac3f982ca..b93201f7b 100644
--- a/gio/gsocketconnection.h
+++ b/gio/gsocketconnection.h
@@ -70,6 +70,7 @@ struct _GSocketConnection
GSocketConnectionPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_connection_get_type (void) G_GNUC_CONST;
GLIB_AVAILABLE_IN_2_32
@@ -90,19 +91,25 @@ gboolean g_socket_connection_connect_finish (GSocketConnect
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocket *g_socket_connection_get_socket (GSocketConnection *connection);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_socket_connection_get_local_address (GSocketConnection *connection,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_socket_connection_get_remote_address (GSocketConnection *connection,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_connection_factory_register_type (GType g_type,
GSocketFamily family,
GSocketType type,
gint protocol);
+GLIB_AVAILABLE_IN_ALL
GType g_socket_connection_factory_lookup_type (GSocketFamily family,
GSocketType type,
gint protocol_id);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection *g_socket_connection_factory_create_connection (GSocket *socket);
G_END_DECLS
diff --git a/gio/gsocketcontrolmessage.h b/gio/gsocketcontrolmessage.h
index 9b79b8284..aaa7c935d 100644
--- a/gio/gsocketcontrolmessage.h
+++ b/gio/gsocketcontrolmessage.h
@@ -88,12 +88,18 @@ struct _GSocketControlMessage
GSocketControlMessagePrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_control_message_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gsize g_socket_control_message_get_size (GSocketControlMessage *message);
+GLIB_AVAILABLE_IN_ALL
int g_socket_control_message_get_level (GSocketControlMessage *message);
+GLIB_AVAILABLE_IN_ALL
int g_socket_control_message_get_msg_type (GSocketControlMessage *message);
+GLIB_AVAILABLE_IN_ALL
void g_socket_control_message_serialize (GSocketControlMessage *message,
gpointer data);
+GLIB_AVAILABLE_IN_ALL
GSocketControlMessage *g_socket_control_message_deserialize (int level,
int type,
gsize size,
diff --git a/gio/gsocketlistener.h b/gio/gsocketlistener.h
index d2b42986c..09f398504 100644
--- a/gio/gsocketlistener.h
+++ b/gio/gsocketlistener.h
@@ -76,17 +76,22 @@ struct _GSocketListener
GSocketListenerPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_listener_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketListener * g_socket_listener_new (void);
+GLIB_AVAILABLE_IN_ALL
void g_socket_listener_set_backlog (GSocketListener *listener,
int listen_backlog);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_listener_add_socket (GSocketListener *listener,
GSocket *socket,
GObject *source_object,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_listener_add_address (GSocketListener *listener,
GSocketAddress *address,
GSocketType type,
@@ -94,43 +99,52 @@ gboolean g_socket_listener_add_address (GSocket
GObject *source_object,
GSocketAddress **effective_address,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_listener_add_inet_port (GSocketListener *listener,
guint16 port,
GObject *source_object,
GError **error);
+GLIB_AVAILABLE_IN_ALL
guint16 g_socket_listener_add_any_inet_port (GSocketListener *listener,
GObject *source_object,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocket * g_socket_listener_accept_socket (GSocketListener *listener,
GObject **source_object,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_listener_accept_socket_async (GSocketListener *listener,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocket * g_socket_listener_accept_socket_finish (GSocketListener *listener,
GAsyncResult *result,
GObject **source_object,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_listener_accept (GSocketListener *listener,
GObject **source_object,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_listener_accept_async (GSocketListener *listener,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GSocketConnection * g_socket_listener_accept_finish (GSocketListener *listener,
GAsyncResult *result,
GObject **source_object,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_socket_listener_close (GSocketListener *listener);
G_END_DECLS
diff --git a/gio/gsocketservice.h b/gio/gsocketservice.h
index 67f3b0bdd..d10b5665d 100644
--- a/gio/gsocketservice.h
+++ b/gio/gsocketservice.h
@@ -75,11 +75,16 @@ struct _GSocketService
GSocketServicePrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_socket_service_get_type (void);
+GLIB_AVAILABLE_IN_ALL
GSocketService *g_socket_service_new (void);
+GLIB_AVAILABLE_IN_ALL
void g_socket_service_start (GSocketService *service);
+GLIB_AVAILABLE_IN_ALL
void g_socket_service_stop (GSocketService *service);
+GLIB_AVAILABLE_IN_ALL
gboolean g_socket_service_is_active (GSocketService *service);
diff --git a/gio/gsrvtarget.h b/gio/gsrvtarget.h
index ffd59f473..6135ef28f 100644
--- a/gio/gsrvtarget.h
+++ b/gio/gsrvtarget.h
@@ -29,21 +29,30 @@
G_BEGIN_DECLS
+GLIB_AVAILABLE_IN_ALL
GType g_srv_target_get_type (void) G_GNUC_CONST;
#define G_TYPE_SRV_TARGET (g_srv_target_get_type ())
+GLIB_AVAILABLE_IN_ALL
GSrvTarget *g_srv_target_new (const gchar *hostname,
guint16 port,
guint16 priority,
guint16 weight);
+GLIB_AVAILABLE_IN_ALL
GSrvTarget *g_srv_target_copy (GSrvTarget *target);
+GLIB_AVAILABLE_IN_ALL
void g_srv_target_free (GSrvTarget *target);
+GLIB_AVAILABLE_IN_ALL
const gchar *g_srv_target_get_hostname (GSrvTarget *target);
+GLIB_AVAILABLE_IN_ALL
guint16 g_srv_target_get_port (GSrvTarget *target);
+GLIB_AVAILABLE_IN_ALL
guint16 g_srv_target_get_priority (GSrvTarget *target);
+GLIB_AVAILABLE_IN_ALL
guint16 g_srv_target_get_weight (GSrvTarget *target);
+GLIB_AVAILABLE_IN_ALL
GList *g_srv_target_list_sort (GList *targets);
G_END_DECLS
diff --git a/gio/gtcpconnection.h b/gio/gtcpconnection.h
index adb02a0c6..3d02f3ae3 100644
--- a/gio/gtcpconnection.h
+++ b/gio/gtcpconnection.h
@@ -57,10 +57,13 @@ struct _GTcpConnection
GTcpConnectionPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_tcp_connection_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
void g_tcp_connection_set_graceful_disconnect (GTcpConnection *connection,
gboolean graceful_disconnect);
+GLIB_AVAILABLE_IN_ALL
gboolean g_tcp_connection_get_graceful_disconnect (GTcpConnection *connection);
G_END_DECLS
diff --git a/gio/gtcpwrapperconnection.h b/gio/gtcpwrapperconnection.h
index 26daf2a95..43b1e3ef2 100644
--- a/gio/gtcpwrapperconnection.h
+++ b/gio/gtcpwrapperconnection.h
@@ -57,10 +57,13 @@ struct _GTcpWrapperConnection
GTcpWrapperConnectionPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_tcp_wrapper_connection_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketConnection *g_tcp_wrapper_connection_new (GIOStream *base_io_stream,
GSocket *socket);
+GLIB_AVAILABLE_IN_ALL
GIOStream *g_tcp_wrapper_connection_get_base_io_stream (GTcpWrapperConnection *conn);
G_END_DECLS
diff --git a/gio/gthemedicon.h b/gio/gthemedicon.h
index 98445f6bb..4cbd29bbb 100644
--- a/gio/gthemedicon.h
+++ b/gio/gthemedicon.h
@@ -45,17 +45,24 @@ G_BEGIN_DECLS
**/
typedef struct _GThemedIconClass GThemedIconClass;
+GLIB_AVAILABLE_IN_ALL
GType g_themed_icon_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GIcon *g_themed_icon_new (const char *iconname);
+GLIB_AVAILABLE_IN_ALL
GIcon *g_themed_icon_new_with_default_fallbacks (const char *iconname);
+GLIB_AVAILABLE_IN_ALL
GIcon *g_themed_icon_new_from_names (char **iconnames,
int len);
+GLIB_AVAILABLE_IN_ALL
void g_themed_icon_prepend_name (GThemedIcon *icon,
const char *iconname);
+GLIB_AVAILABLE_IN_ALL
void g_themed_icon_append_name (GThemedIcon *icon,
const char *iconname);
+GLIB_AVAILABLE_IN_ALL
const gchar* const * g_themed_icon_get_names (GThemedIcon *icon);
G_END_DECLS
diff --git a/gio/gthreadedresolver.h b/gio/gthreadedresolver.h
index 79d3327a0..f11c76eda 100644
--- a/gio/gthreadedresolver.h
+++ b/gio/gthreadedresolver.h
@@ -43,6 +43,7 @@ typedef struct {
} GThreadedResolverClass;
+GLIB_AVAILABLE_IN_ALL
GType g_threaded_resolver_get_type (void) G_GNUC_CONST;
G_END_DECLS
diff --git a/gio/gthreadedsocketservice.h b/gio/gthreadedsocketservice.h
index 3f43dd9eb..229be7ed4 100644
--- a/gio/gthreadedsocketservice.h
+++ b/gio/gthreadedsocketservice.h
@@ -73,7 +73,9 @@ struct _GThreadedSocketService
GThreadedSocketServicePrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_threaded_socket_service_get_type (void);
+GLIB_AVAILABLE_IN_ALL
GSocketService * g_threaded_socket_service_new (int max_threads);
G_END_DECLS
diff --git a/gio/gtlsbackend.h b/gio/gtlsbackend.h
index b60d8abb7..19f08ad45 100644
--- a/gio/gtlsbackend.h
+++ b/gio/gtlsbackend.h
@@ -72,17 +72,25 @@ struct _GTlsBackendInterface
GTlsDatabase * ( *get_default_database) (GTlsBackend *backend);
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_backend_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsBackend * g_tls_backend_get_default (void);
+GLIB_AVAILABLE_IN_ALL
GTlsDatabase * g_tls_backend_get_default_database (GTlsBackend *backend);
+GLIB_AVAILABLE_IN_ALL
gboolean g_tls_backend_supports_tls (GTlsBackend *backend);
+GLIB_AVAILABLE_IN_ALL
GType g_tls_backend_get_certificate_type (GTlsBackend *backend);
+GLIB_AVAILABLE_IN_ALL
GType g_tls_backend_get_client_connection_type (GTlsBackend *backend);
+GLIB_AVAILABLE_IN_ALL
GType g_tls_backend_get_server_connection_type (GTlsBackend *backend);
+GLIB_AVAILABLE_IN_ALL
GType g_tls_backend_get_file_database_type (GTlsBackend *backend);
G_END_DECLS
diff --git a/gio/gtlscertificate.h b/gio/gtlscertificate.h
index 97d98ac34..dd6c3a18d 100644
--- a/gio/gtlscertificate.h
+++ b/gio/gtlscertificate.h
@@ -58,22 +58,29 @@ struct _GTlsCertificateClass
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_certificate_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate *g_tls_certificate_new_from_pem (const gchar *data,
gssize length,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate *g_tls_certificate_new_from_file (const gchar *file,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate *g_tls_certificate_new_from_files (const gchar *cert_file,
const gchar *key_file,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GList *g_tls_certificate_list_new_from_file (const gchar *file,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate *g_tls_certificate_get_issuer (GTlsCertificate *cert);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificateFlags g_tls_certificate_verify (GTlsCertificate *cert,
GSocketConnectable *identity,
GTlsCertificate *trusted_ca);
diff --git a/gio/gtlsclientconnection.h b/gio/gtlsclientconnection.h
index 599032ac2..aa216f4ab 100644
--- a/gio/gtlsclientconnection.h
+++ b/gio/gtlsclientconnection.h
@@ -42,21 +42,30 @@ struct _GTlsClientConnectionInterface
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_client_connection_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GIOStream * g_tls_client_connection_new (GIOStream *base_io_stream,
GSocketConnectable *server_identity,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificateFlags g_tls_client_connection_get_validation_flags (GTlsClientConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_client_connection_set_validation_flags (GTlsClientConnection *conn,
GTlsCertificateFlags flags);
+GLIB_AVAILABLE_IN_ALL
GSocketConnectable *g_tls_client_connection_get_server_identity (GTlsClientConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_client_connection_set_server_identity (GTlsClientConnection *conn,
GSocketConnectable *identity);
+GLIB_AVAILABLE_IN_ALL
gboolean g_tls_client_connection_get_use_ssl3 (GTlsClientConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_client_connection_set_use_ssl3 (GTlsClientConnection *conn,
gboolean use_ssl3);
+GLIB_AVAILABLE_IN_ALL
GList * g_tls_client_connection_get_accepted_cas (GTlsClientConnection *conn);
G_END_DECLS
diff --git a/gio/gtlsconnection.h b/gio/gtlsconnection.h
index 68570c0e2..465c9364d 100644
--- a/gio/gtlsconnection.h
+++ b/gio/gtlsconnection.h
@@ -73,6 +73,7 @@ struct _GTlsConnectionClass
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_connection_get_type (void) G_GNUC_CONST;
GLIB_DEPRECATED
@@ -81,38 +82,53 @@ void g_tls_connection_set_use_system_certdb (GTlsConnecti
GLIB_DEPRECATED
gboolean g_tls_connection_get_use_system_certdb (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_connection_set_database (GTlsConnection *conn,
GTlsDatabase *database);
+GLIB_AVAILABLE_IN_ALL
GTlsDatabase * g_tls_connection_get_database (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_connection_set_certificate (GTlsConnection *conn,
GTlsCertificate *certificate);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate *g_tls_connection_get_certificate (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_connection_set_interaction (GTlsConnection *conn,
GTlsInteraction *interaction);
+GLIB_AVAILABLE_IN_ALL
GTlsInteraction * g_tls_connection_get_interaction (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate *g_tls_connection_get_peer_certificate (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificateFlags g_tls_connection_get_peer_certificate_errors (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_connection_set_require_close_notify (GTlsConnection *conn,
gboolean require_close_notify);
+GLIB_AVAILABLE_IN_ALL
gboolean g_tls_connection_get_require_close_notify (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
void g_tls_connection_set_rehandshake_mode (GTlsConnection *conn,
GTlsRehandshakeMode mode);
+GLIB_AVAILABLE_IN_ALL
GTlsRehandshakeMode g_tls_connection_get_rehandshake_mode (GTlsConnection *conn);
+GLIB_AVAILABLE_IN_ALL
gboolean g_tls_connection_handshake (GTlsConnection *conn,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_tls_connection_handshake_async (GTlsConnection *conn,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_tls_connection_handshake_finish (GTlsConnection *conn,
GAsyncResult *result,
GError **error);
@@ -125,10 +141,12 @@ gboolean g_tls_connection_handshake_finish (GTlsConnecti
* domains.
*/
#define G_TLS_ERROR (g_tls_error_quark ())
+GLIB_AVAILABLE_IN_ALL
GQuark g_tls_error_quark (void);
/*< protected >*/
+GLIB_AVAILABLE_IN_ALL
gboolean g_tls_connection_emit_accept_certificate (GTlsConnection *conn,
GTlsCertificate *peer_cert,
GTlsCertificateFlags errors);
diff --git a/gio/gtlsdatabase.h b/gio/gtlsdatabase.h
index 96b7b3163..c11ca7a09 100644
--- a/gio/gtlsdatabase.h
+++ b/gio/gtlsdatabase.h
@@ -145,8 +145,10 @@ struct _GTlsDatabaseClass
gpointer padding[16];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_database_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsCertificateFlags g_tls_database_verify_chain (GTlsDatabase *self,
GTlsCertificate *chain,
const gchar *purpose,
@@ -156,6 +158,7 @@ GTlsCertificateFlags g_tls_database_verify_chain (GTlsD
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_tls_database_verify_chain_async (GTlsDatabase *self,
GTlsCertificate *chain,
const gchar *purpose,
@@ -166,13 +169,16 @@ void g_tls_database_verify_chain_async (GTlsD
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificateFlags g_tls_database_verify_chain_finish (GTlsDatabase *self,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gchar* g_tls_database_create_certificate_handle (GTlsDatabase *self,
GTlsCertificate *certificate);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate* g_tls_database_lookup_certificate_for_handle (GTlsDatabase *self,
const gchar *handle,
GTlsInteraction *interaction,
@@ -180,6 +186,7 @@ GTlsCertificate* g_tls_database_lookup_certificate_for_handle (GTlsD
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_tls_database_lookup_certificate_for_handle_async (GTlsDatabase *self,
const gchar *handle,
GTlsInteraction *interaction,
@@ -188,10 +195,12 @@ void g_tls_database_lookup_certificate_for_handle_async (GTlsD
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate* g_tls_database_lookup_certificate_for_handle_finish (GTlsDatabase *self,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate* g_tls_database_lookup_certificate_issuer (GTlsDatabase *self,
GTlsCertificate *certificate,
GTlsInteraction *interaction,
@@ -199,6 +208,7 @@ GTlsCertificate* g_tls_database_lookup_certificate_issuer (GTlsD
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_tls_database_lookup_certificate_issuer_async (GTlsDatabase *self,
GTlsCertificate *certificate,
GTlsInteraction *interaction,
@@ -207,10 +217,12 @@ void g_tls_database_lookup_certificate_issuer_async (GTlsD
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GTlsCertificate* g_tls_database_lookup_certificate_issuer_finish (GTlsDatabase *self,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GList* g_tls_database_lookup_certificates_issued_by (GTlsDatabase *self,
GByteArray *issuer_raw_dn,
GTlsInteraction *interaction,
@@ -218,6 +230,7 @@ GList* g_tls_database_lookup_certificates_issued_by (GTlsD
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_tls_database_lookup_certificates_issued_by_async (GTlsDatabase *self,
GByteArray *issuer_raw_dn,
GTlsInteraction *interaction,
@@ -226,6 +239,7 @@ void g_tls_database_lookup_certificates_issued_by_async (GTls
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GList* g_tls_database_lookup_certificates_issued_by_finish (GTlsDatabase *self,
GAsyncResult *result,
GError **error);
diff --git a/gio/gtlsfiledatabase.h b/gio/gtlsfiledatabase.h
index 5a7c20e49..502494928 100644
--- a/gio/gtlsfiledatabase.h
+++ b/gio/gtlsfiledatabase.h
@@ -46,8 +46,10 @@ struct _GTlsFileDatabaseInterface
gpointer padding[8];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_file_database_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsDatabase* g_tls_file_database_new (const gchar *anchors,
GError **error);
diff --git a/gio/gtlsinteraction.h b/gio/gtlsinteraction.h
index 755884262..283464e43 100644
--- a/gio/gtlsinteraction.h
+++ b/gio/gtlsinteraction.h
@@ -74,25 +74,30 @@ struct _GTlsInteractionClass
gpointer padding[24];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_interaction_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsInteractionResult g_tls_interaction_invoke_ask_password (GTlsInteraction *interaction,
GTlsPassword *password,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
GTlsInteractionResult g_tls_interaction_ask_password (GTlsInteraction *interaction,
GTlsPassword *password,
GCancellable *cancellable,
GError **error);
+GLIB_AVAILABLE_IN_ALL
void g_tls_interaction_ask_password_async (GTlsInteraction *interaction,
GTlsPassword *password,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
GTlsInteractionResult g_tls_interaction_ask_password_finish (GTlsInteraction *interaction,
GAsyncResult *result,
GError **error);
diff --git a/gio/gtlspassword.h b/gio/gtlspassword.h
index 6bce9fede..3db365d99 100644
--- a/gio/gtlspassword.h
+++ b/gio/gtlspassword.h
@@ -69,30 +69,41 @@ struct _GTlsPasswordClass
gpointer padding[4];
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_password_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GTlsPassword * g_tls_password_new (GTlsPasswordFlags flags,
const gchar *description);
+GLIB_AVAILABLE_IN_ALL
const guchar * g_tls_password_get_value (GTlsPassword *password,
gsize *length);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_value (GTlsPassword *password,
const guchar *value,
gssize length);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_value_full (GTlsPassword *password,
guchar *value,
gssize length,
GDestroyNotify destroy);
+GLIB_AVAILABLE_IN_ALL
GTlsPasswordFlags g_tls_password_get_flags (GTlsPassword *password);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_flags (GTlsPassword *password,
GTlsPasswordFlags flags);
+GLIB_AVAILABLE_IN_ALL
const gchar* g_tls_password_get_description (GTlsPassword *password);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_description (GTlsPassword *password,
const gchar *description);
+GLIB_AVAILABLE_IN_ALL
const gchar * g_tls_password_get_warning (GTlsPassword *password);
+GLIB_AVAILABLE_IN_ALL
void g_tls_password_set_warning (GTlsPassword *password,
const gchar *warning);
diff --git a/gio/gtlsserverconnection.h b/gio/gtlsserverconnection.h
index 8d75ac6af..6550d19c8 100644
--- a/gio/gtlsserverconnection.h
+++ b/gio/gtlsserverconnection.h
@@ -50,8 +50,10 @@ struct _GTlsServerConnectionInterface
};
+GLIB_AVAILABLE_IN_ALL
GType g_tls_server_connection_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GIOStream * g_tls_server_connection_new (GIOStream *base_io_stream,
GTlsCertificate *certificate,
GError **error);
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);
diff --git a/gio/gunixcredentialsmessage.h b/gio/gunixcredentialsmessage.h
index 8dd660ceb..17b4a316d 100644
--- a/gio/gunixcredentialsmessage.h
+++ b/gio/gunixcredentialsmessage.h
@@ -70,11 +70,16 @@ struct _GUnixCredentialsMessage
GUnixCredentialsMessagePrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_credentials_message_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketControlMessage *g_unix_credentials_message_new (void);
+GLIB_AVAILABLE_IN_ALL
GSocketControlMessage *g_unix_credentials_message_new_with_credentials (GCredentials *credentials);
+GLIB_AVAILABLE_IN_ALL
GCredentials *g_unix_credentials_message_get_credentials (GUnixCredentialsMessage *message);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_credentials_message_is_supported (void);
G_END_DECLS
diff --git a/gio/gunixfdlist.h b/gio/gunixfdlist.h
index 12b6ee830..6bbfb4856 100644
--- a/gio/gunixfdlist.h
+++ b/gio/gunixfdlist.h
@@ -62,24 +62,32 @@ struct _GUnixFDList
GUnixFDListPrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_fd_list_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GUnixFDList * g_unix_fd_list_new (void);
+GLIB_AVAILABLE_IN_ALL
GUnixFDList * g_unix_fd_list_new_from_array (const gint *fds,
gint n_fds);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_fd_list_append (GUnixFDList *list,
gint fd,
GError **error);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_fd_list_get_length (GUnixFDList *list);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_fd_list_get (GUnixFDList *list,
gint index_,
GError **error);
+GLIB_AVAILABLE_IN_ALL
const gint * g_unix_fd_list_peek_fds (GUnixFDList *list,
gint *length);
+GLIB_AVAILABLE_IN_ALL
gint * g_unix_fd_list_steal_fds (GUnixFDList *list,
gint *length);
diff --git a/gio/gunixfdmessage.h b/gio/gunixfdmessage.h
index 3bfa05822..41f9b0ad6 100644
--- a/gio/gunixfdmessage.h
+++ b/gio/gunixfdmessage.h
@@ -61,14 +61,20 @@ struct _GUnixFDMessage
GUnixFDMessagePrivate *priv;
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_fd_message_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketControlMessage * g_unix_fd_message_new_with_fd_list (GUnixFDList *fd_list);
+GLIB_AVAILABLE_IN_ALL
GSocketControlMessage * g_unix_fd_message_new (void);
+GLIB_AVAILABLE_IN_ALL
GUnixFDList * g_unix_fd_message_get_fd_list (GUnixFDMessage *message);
+GLIB_AVAILABLE_IN_ALL
gint * g_unix_fd_message_steal_fds (GUnixFDMessage *message,
gint *length);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_fd_message_append_fd (GUnixFDMessage *message,
gint fd,
GError **error);
diff --git a/gio/gunixinputstream.h b/gio/gunixinputstream.h
index cbdbe5449..a8beb8854 100644
--- a/gio/gunixinputstream.h
+++ b/gio/gunixinputstream.h
@@ -64,13 +64,18 @@ struct _GUnixInputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream * g_unix_input_stream_new (gint fd,
gboolean close_fd);
+GLIB_AVAILABLE_IN_ALL
void g_unix_input_stream_set_close_fd (GUnixInputStream *stream,
gboolean close_fd);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_input_stream_get_close_fd (GUnixInputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_input_stream_get_fd (GUnixInputStream *stream);
G_END_DECLS
diff --git a/gio/gunixmounts.h b/gio/gunixmounts.h
index 15515cfbf..bd269a3b8 100644
--- a/gio/gunixmounts.h
+++ b/gio/gunixmounts.h
@@ -57,50 +57,83 @@ typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass;
#define G_IS_UNIX_MOUNT_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_MOUNT_MONITOR))
#define G_IS_UNIX_MOUNT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT_MONITOR))
+GLIB_AVAILABLE_IN_ALL
void g_unix_mount_free (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
void g_unix_mount_point_free (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_mount_compare (GUnixMountEntry *mount1,
GUnixMountEntry *mount2);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_mount_get_device_path (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_mount_get_fs_type (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_is_readonly (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_is_system_internal (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
char * g_unix_mount_guess_name (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_unix_mount_guess_icon (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_unix_mount_guess_symbolic_icon (GUnixMountEntry *mount_entry);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_mount_point_compare (GUnixMountPoint *mount1,
GUnixMountPoint *mount2);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_mount_point_get_device_path (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_mount_point_get_fs_type (GUnixMountPoint *mount_point);
GLIB_AVAILABLE_IN_2_32
const char * g_unix_mount_point_get_options (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_point_is_readonly (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_point_is_user_mountable (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_point_is_loopback (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
char * g_unix_mount_point_guess_name (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_unix_mount_point_guess_icon (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_unix_mount_point_guess_symbolic_icon (GUnixMountPoint *mount_point);
+GLIB_AVAILABLE_IN_ALL
GList * g_unix_mount_points_get (guint64 *time_read);
+GLIB_AVAILABLE_IN_ALL
GList * g_unix_mounts_get (guint64 *time_read);
+GLIB_AVAILABLE_IN_ALL
GUnixMountEntry *g_unix_mount_at (const char *mount_path,
guint64 *time_read);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mounts_changed_since (guint64 time);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_mount_points_changed_since (guint64 time);
+GLIB_AVAILABLE_IN_ALL
GType g_unix_mount_monitor_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GUnixMountMonitor *g_unix_mount_monitor_new (void);
+GLIB_AVAILABLE_IN_ALL
void g_unix_mount_monitor_set_rate_limit (GUnixMountMonitor *mount_monitor,
int limit_msec);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_is_mount_path_system_internal (const char *mount_path);
G_END_DECLS
diff --git a/gio/gunixoutputstream.h b/gio/gunixoutputstream.h
index ad4292388..9ef2e52fd 100644
--- a/gio/gunixoutputstream.h
+++ b/gio/gunixoutputstream.h
@@ -64,13 +64,18 @@ struct _GUnixOutputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GOutputStream * g_unix_output_stream_new (gint fd,
gboolean close_fd);
+GLIB_AVAILABLE_IN_ALL
void g_unix_output_stream_set_close_fd (GUnixOutputStream *stream,
gboolean close_fd);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_output_stream_get_close_fd (GUnixOutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
gint g_unix_output_stream_get_fd (GUnixOutputStream *stream);
G_END_DECLS
diff --git a/gio/gunixsocketaddress.h b/gio/gunixsocketaddress.h
index 83ece0b80..39d58212e 100644
--- a/gio/gunixsocketaddress.h
+++ b/gio/gunixsocketaddress.h
@@ -52,21 +52,28 @@ struct _GUnixSocketAddressClass
GSocketAddressClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_unix_socket_address_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_unix_socket_address_new (const gchar *path);
GLIB_DEPRECATED_FOR(g_unix_socket_address_new_with_type)
GSocketAddress *g_unix_socket_address_new_abstract (const gchar *path,
gint path_len);
+GLIB_AVAILABLE_IN_ALL
GSocketAddress *g_unix_socket_address_new_with_type (const gchar *path,
gint path_len,
GUnixSocketAddressType type);
+GLIB_AVAILABLE_IN_ALL
const char * g_unix_socket_address_get_path (GUnixSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
gsize g_unix_socket_address_get_path_len (GUnixSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
GUnixSocketAddressType g_unix_socket_address_get_address_type (GUnixSocketAddress *address);
GLIB_DEPRECATED
gboolean g_unix_socket_address_get_is_abstract (GUnixSocketAddress *address);
+GLIB_AVAILABLE_IN_ALL
gboolean g_unix_socket_address_abstract_names_supported (void);
G_END_DECLS
diff --git a/gio/gvfs.h b/gio/gvfs.h
index c8bb46c24..30ff1bf2c 100644
--- a/gio/gvfs.h
+++ b/gio/gvfs.h
@@ -105,19 +105,27 @@ struct _GVfsClass
void (*_g_reserved7) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_vfs_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
gboolean g_vfs_is_active (GVfs *vfs);
+GLIB_AVAILABLE_IN_ALL
GFile * g_vfs_get_file_for_path (GVfs *vfs,
const char *path);
+GLIB_AVAILABLE_IN_ALL
GFile * g_vfs_get_file_for_uri (GVfs *vfs,
const char *uri);
+GLIB_AVAILABLE_IN_ALL
const gchar* const * g_vfs_get_supported_uri_schemes (GVfs *vfs);
+GLIB_AVAILABLE_IN_ALL
GFile * g_vfs_parse_name (GVfs *vfs,
const char *parse_name);
+GLIB_AVAILABLE_IN_ALL
GVfs * g_vfs_get_default (void);
+GLIB_AVAILABLE_IN_ALL
GVfs * g_vfs_get_local (void);
G_END_DECLS
diff --git a/gio/gvolume.h b/gio/gvolume.h
index 8f9b98c22..0a4abe05b 100644
--- a/gio/gvolume.h
+++ b/gio/gvolume.h
@@ -184,23 +184,35 @@ struct _GVolumeIface
GIcon * (* get_symbolic_icon) (GVolume *volume);
};
+GLIB_AVAILABLE_IN_ALL
GType g_volume_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
char * g_volume_get_name (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_volume_get_icon (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
GIcon * g_volume_get_symbolic_icon (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
char * g_volume_get_uuid (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
GDrive * g_volume_get_drive (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
GMount * g_volume_get_mount (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
gboolean g_volume_can_mount (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
gboolean g_volume_can_eject (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
gboolean g_volume_should_automount (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
void g_volume_mount (GVolume *volume,
GMountMountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_volume_mount_finish (GVolume *volume,
GAsyncResult *result,
GError **error);
@@ -215,18 +227,23 @@ GLIB_DEPRECATED_FOR(g_volume_eject_with_operation_finish)
gboolean g_volume_eject_finish (GVolume *volume,
GAsyncResult *result,
GError **error);
+GLIB_AVAILABLE_IN_ALL
char * g_volume_get_identifier (GVolume *volume,
const char *kind);
+GLIB_AVAILABLE_IN_ALL
char ** g_volume_enumerate_identifiers (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
GFile * g_volume_get_activation_root (GVolume *volume);
+GLIB_AVAILABLE_IN_ALL
void g_volume_eject_with_operation (GVolume *volume,
GMountUnmountFlags flags,
GMountOperation *mount_operation,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+GLIB_AVAILABLE_IN_ALL
gboolean g_volume_eject_with_operation_finish (GVolume *volume,
GAsyncResult *result,
GError **error);
diff --git a/gio/gvolumemonitor.h b/gio/gvolumemonitor.h
index 33a88ebb9..0a37e12e5 100644
--- a/gio/gvolumemonitor.h
+++ b/gio/gvolumemonitor.h
@@ -130,14 +130,21 @@ struct _GVolumeMonitorClass
void (*_g_reserved6) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_volume_monitor_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GVolumeMonitor *g_volume_monitor_get (void);
+GLIB_AVAILABLE_IN_ALL
GList * g_volume_monitor_get_connected_drives (GVolumeMonitor *volume_monitor);
+GLIB_AVAILABLE_IN_ALL
GList * g_volume_monitor_get_volumes (GVolumeMonitor *volume_monitor);
+GLIB_AVAILABLE_IN_ALL
GList * g_volume_monitor_get_mounts (GVolumeMonitor *volume_monitor);
+GLIB_AVAILABLE_IN_ALL
GVolume * g_volume_monitor_get_volume_for_uuid (GVolumeMonitor *volume_monitor,
const char *uuid);
+GLIB_AVAILABLE_IN_ALL
GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor,
const char *uuid);
diff --git a/gio/gwin32appinfo.h b/gio/gwin32appinfo.h
index c07ee306a..be0115237 100644
--- a/gio/gwin32appinfo.h
+++ b/gio/gwin32appinfo.h
@@ -42,6 +42,7 @@ struct _GWin32AppInfoClass
GObjectClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_win32_app_info_get_type (void) G_GNUC_CONST;
G_END_DECLS
diff --git a/gio/gwin32inputstream.h b/gio/gwin32inputstream.h
index 937685f9c..27fa7e13b 100644
--- a/gio/gwin32inputstream.h
+++ b/gio/gwin32inputstream.h
@@ -65,13 +65,18 @@ struct _GWin32InputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_win32_input_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GInputStream * g_win32_input_stream_new (void *handle,
gboolean close_handle);
+GLIB_AVAILABLE_IN_ALL
void g_win32_input_stream_set_close_handle (GWin32InputStream *stream,
gboolean close_handle);
+GLIB_AVAILABLE_IN_ALL
gboolean g_win32_input_stream_get_close_handle (GWin32InputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void *g_win32_input_stream_get_handle (GWin32InputStream *stream);
G_END_DECLS
diff --git a/gio/gwin32outputstream.h b/gio/gwin32outputstream.h
index 399a53aac..9e441d9de 100644
--- a/gio/gwin32outputstream.h
+++ b/gio/gwin32outputstream.h
@@ -65,13 +65,18 @@ struct _GWin32OutputStreamClass
void (*_g_reserved5) (void);
};
+GLIB_AVAILABLE_IN_ALL
GType g_win32_output_stream_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GOutputStream * g_win32_output_stream_new (void *handle,
gboolean close_handle);
+GLIB_AVAILABLE_IN_ALL
void g_win32_output_stream_set_close_handle (GWin32OutputStream *stream,
gboolean close_handle);
+GLIB_AVAILABLE_IN_ALL
gboolean g_win32_output_stream_get_close_handle (GWin32OutputStream *stream);
+GLIB_AVAILABLE_IN_ALL
void *g_win32_output_stream_get_handle (GWin32OutputStream *stream);
G_END_DECLS
diff --git a/gio/gzlibcompressor.h b/gio/gzlibcompressor.h
index 2aac66dcc..609e42f38 100644
--- a/gio/gzlibcompressor.h
+++ b/gio/gzlibcompressor.h
@@ -46,12 +46,16 @@ struct _GZlibCompressorClass
GObjectClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_zlib_compressor_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GZlibCompressor *g_zlib_compressor_new (GZlibCompressorFormat format,
int level);
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_zlib_compressor_get_file_info (GZlibCompressor *compressor);
+GLIB_AVAILABLE_IN_ALL
void g_zlib_compressor_set_file_info (GZlibCompressor *compressor,
GFileInfo *file_info);
diff --git a/gio/gzlibdecompressor.h b/gio/gzlibdecompressor.h
index 3cace75e0..ecc4f4e99 100644
--- a/gio/gzlibdecompressor.h
+++ b/gio/gzlibdecompressor.h
@@ -46,10 +46,13 @@ struct _GZlibDecompressorClass
GObjectClass parent_class;
};
+GLIB_AVAILABLE_IN_ALL
GType g_zlib_decompressor_get_type (void) G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
GZlibDecompressor *g_zlib_decompressor_new (GZlibCompressorFormat format);
+GLIB_AVAILABLE_IN_ALL
GFileInfo *g_zlib_decompressor_get_file_info (GZlibDecompressor *decompressor);
G_END_DECLS