[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.git] / gio / gasyncinitable.h
index 8442821..43dda48 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  * Author: Alexander Larsson <alexl@redhat.com>
  */
 
+#ifndef __G_ASYNC_INITABLE_H__
+#define __G_ASYNC_INITABLE_H__
+
 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
 #error "Only <gio/gio.h> can be included directly."
 #endif
 
-#ifndef __G_ASYNC_INITABLE_H__
-#define __G_ASYNC_INITABLE_H__
-
 #include <gio/giotypes.h>
 #include <gio/ginitable.h>
 
@@ -74,18 +72,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 +95,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 +103,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 +111,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);