Imported Upstream version 2.53.3
[platform/upstream/glib.git] / gio / gdataoutputstream.h
index 0fb3cbf..62cf7b5 100644 (file)
@@ -5,7 +5,7 @@
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
+ * version 2.1 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * 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_DATA_OUTPUT_STREAM_H__
+#define __G_DATA_OUTPUT_STREAM_H__
+
 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
 #error "Only <gio/gio.h> can be included directly."
 #endif
 
-#ifndef __G_DATA_OUTPUT_STREAM_H__
-#define __G_DATA_OUTPUT_STREAM_H__
-
 #include <gio/gfilteroutputstream.h>
 
 G_BEGIN_DECLS
@@ -70,41 +68,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,