X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgpollableoutputstream.h;h=f1c183bc01009173a1091a798162222e8fc2da29;hb=f2ceb74e91e05e9556622bc2cde7ab57cbc30ea3;hp=abef0ede6e83195e9b7ffcb76f31445b2c9ad392;hpb=d8ca6404229e5b64d2bf2e1a3660ad9fe7feefdd;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/gpollableoutputstream.h b/gio/gpollableoutputstream.h
index abef0ed..f1c183b 100644
--- a/gio/gpollableoutputstream.h
+++ b/gio/gpollableoutputstream.h
@@ -13,14 +13,16 @@
* 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 .
*/
#ifndef __G_POLLABLE_OUTPUT_STREAM_H__
#define __G_POLLABLE_OUTPUT_STREAM_H__
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only can be included directly."
+#endif
+
#include
G_BEGIN_DECLS
@@ -73,21 +75,26 @@ struct _GPollableOutputStreamInterface
GCancellable *cancellable);
gssize (*write_nonblocking) (GPollableOutputStream *stream,
const void *buffer,
- gsize size,
+ gsize count,
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 size,
+ gsize count,
GCancellable *cancellable,
GError **error);