Update German translation
[glib.git] / gio / gsocketoutputstream.h
blobe3514d1b2384537fa54b4b3cb77938792743135e
1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright © 2008 Christian Kellner, Samuel Cormier-Iijima
4 * Copyright © 2009 Codethink Limited
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation; either version 2 of the licence or (at
9 * your option) any later version.
11 * See the included COPYING file for more information.
13 * Authors: Christian Kellner <gicmo@gnome.org>
14 * Samuel Cormier-Iijima <sciyoshi@gmail.com>
15 * Ryan Lortie <desrt@desrt.ca>
18 #ifndef __G_SOCKET_OUTPUT_STREAM_H__
19 #define __G_SOCKET_OUTPUT_STREAM_H__
21 #include <gio/goutputstream.h>
22 #include <gio/gsocket.h>
24 G_BEGIN_DECLS
26 #define G_TYPE_SOCKET_OUTPUT_STREAM (_g_socket_output_stream_get_type ())
27 #define G_SOCKET_OUTPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
28 G_TYPE_SOCKET_OUTPUT_STREAM, GSocketOutputStream))
29 #define G_SOCKET_OUTPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
30 G_TYPE_SOCKET_OUTPUT_STREAM, GSocketOutputStreamClass))
31 #define G_IS_SOCKET_OUTPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
32 G_TYPE_SOCKET_OUTPUT_STREAM))
33 #define G_IS_SOCKET_OUTPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
34 G_TYPE_SOCKET_OUTPUT_STREAM))
35 #define G_SOCKET_OUTPUT_STREAM_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
36 G_TYPE_SOCKET_OUTPUT_STREAM, GSocketOutputStreamClass))
38 typedef struct _GSocketOutputStreamPrivate GSocketOutputStreamPrivate;
39 typedef struct _GSocketOutputStreamClass GSocketOutputStreamClass;
40 typedef struct _GSocketOutputStream GSocketOutputStream;
42 struct _GSocketOutputStreamClass
44 GOutputStreamClass parent_class;
47 struct _GSocketOutputStream
49 GOutputStream parent_instance;
50 GSocketOutputStreamPrivate *priv;
53 GType _g_socket_output_stream_get_type (void) G_GNUC_CONST;
54 GSocketOutputStream * _g_socket_output_stream_new (GSocket *socket);
56 G_END_DECLS
58 #endif /* __G_SOCKET_OUTPUT_STREAM_H__ */