blob: b5169c04e0749c62b7063093b729f352d0229d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright 2012 Red Hat, Inc.
*/
#ifndef __SOUP_IO_STREAM_H__
#define __SOUP_IO_STREAM_H__ 1
#include "soup-types.h"
G_BEGIN_DECLS
#define SOUP_TYPE_IO_STREAM (soup_io_stream_get_type ())
#define SOUP_IO_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_IO_STREAM, SoupIOStream))
#define SOUP_IO_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_IO_STREAM, SoupIOStreamClass))
#define SOUP_IS_IO_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_IO_STREAM))
#define SOUP_IS_IO_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_IO_STREAM))
#define SOUP_IO_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_IO_STREAM, SoupIOStreamClass))
typedef struct _SoupIOStreamPrivate SoupIOStreamPrivate;
typedef struct {
GIOStream parent;
SoupIOStreamPrivate *priv;
} SoupIOStream;
typedef struct {
GIOStreamClass parent_class;
} SoupIOStreamClass;
GType soup_io_stream_get_type (void);
GIOStream *soup_io_stream_new (GIOStream *base_iostream,
gboolean close_on_dispose);
GIOStream *soup_io_stream_get_base_iostream (SoupIOStream *stream);
G_END_DECLS
#endif /* __SOUP_IO_STREAM_H__ */
|