nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* GIO - GLib Input, Output and Streaming Library |
2 | * |
||
3 | * Copyright © 2008 Christian Kellner, Samuel Cormier-Iijima |
||
4 | * Copyright © 2009 Codethink Limited |
||
5 | * |
||
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. |
||
10 | * |
||
11 | * See the included COPYING file for more information. |
||
12 | * |
||
13 | * Authors: Christian Kellner <gicmo@gnome.org> |
||
14 | * Samuel Cormier-Iijima <sciyoshi@gmail.com> |
||
15 | * Ryan Lortie <desrt@desrt.ca> |
||
16 | */ |
||
17 | |||
18 | #ifndef __G_SOCKET_INPUT_STREAM_H__ |
||
19 | #define __G_SOCKET_INPUT_STREAM_H__ |
||
20 | |||
21 | #include <gio/ginputstream.h> |
||
22 | #include <gio/gsocket.h> |
||
23 | |||
24 | G_BEGIN_DECLS |
||
25 | |||
26 | #define G_TYPE_SOCKET_INPUT_STREAM (_g_socket_input_stream_get_type ()) |
||
27 | #define G_SOCKET_INPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ |
||
28 | G_TYPE_SOCKET_INPUT_STREAM, GSocketInputStream)) |
||
29 | #define G_SOCKET_INPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \ |
||
30 | G_TYPE_SOCKET_INPUT_STREAM, GSocketInputStreamClass)) |
||
31 | #define G_IS_SOCKET_INPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ |
||
32 | G_TYPE_SOCKET_INPUT_STREAM)) |
||
33 | #define G_IS_SOCKET_INPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \ |
||
34 | G_TYPE_SOCKET_INPUT_STREAM)) |
||
35 | #define G_SOCKET_INPUT_STREAM_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ |
||
36 | G_TYPE_SOCKET_INPUT_STREAM, GSocketInputStreamClass)) |
||
37 | |||
38 | typedef struct _GSocketInputStreamPrivate GSocketInputStreamPrivate; |
||
39 | typedef struct _GSocketInputStreamClass GSocketInputStreamClass; |
||
40 | typedef struct _GSocketInputStream GSocketInputStream; |
||
41 | |||
42 | struct _GSocketInputStreamClass |
||
43 | { |
||
44 | GInputStreamClass parent_class; |
||
45 | }; |
||
46 | |||
47 | struct _GSocketInputStream |
||
48 | { |
||
49 | GInputStream parent_instance; |
||
50 | GSocketInputStreamPrivate *priv; |
||
51 | }; |
||
52 | |||
53 | GType _g_socket_input_stream_get_type (void) G_GNUC_CONST; |
||
54 | GSocketInputStream * _g_socket_input_stream_new (GSocket *socket); |
||
55 | |||
56 | G_END_DECLS |
||
57 | |||
58 | #endif /* __G_SOCKET_INPUT_STREAM_H___ */ |