• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright 2015 Igalia S.L.
4  */
5 
6 #ifndef __SOUP_CACHE_CLIENT_INPUT_STREAM_H__
7 #define __SOUP_CACHE_CLIENT_INPUT_STREAM_H__ 1
8 
9 #include "soup-types.h"
10 
11 G_BEGIN_DECLS
12 
13 #define SOUP_TYPE_CACHE_CLIENT_INPUT_STREAM            (soup_cache_client_input_stream_get_type ())
14 #define SOUP_CACHE_CLIENT_INPUT_STREAM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_CACHE_CLIENT_INPUT_STREAM, SoupCacheClientInputStream))
15 #define SOUP_CACHE_CLIENT_INPUT_STREAM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_CACHE_CLIENT_INPUT_STREAM, SoupCacheClientInputStreamClass))
16 #define SOUP_IS_CACHE_CLIENT_INPUT_STREAM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_CACHE_CLIENT_INPUT_STREAM))
17 #define SOUP_IS_CACHE_CLIENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_CACHE_CLIENT_INPUT_STREAM))
18 #define SOUP_CACHE_CLIENT_INPUT_STREAM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_CACHE_CLIENT_INPUT_STREAM, SoupCacheClientInputStreamClass))
19 
20 typedef struct _SoupCacheClientInputStreamPrivate SoupCacheClientInputStreamPrivate;
21 
22 typedef struct {
23 	GFilterInputStream parent;
24 } SoupCacheClientInputStream;
25 
26 typedef struct {
27 	GFilterInputStreamClass parent_class;
28 } SoupCacheClientInputStreamClass;
29 
30 GType soup_cache_client_input_stream_get_type (void);
31 
32 GInputStream *soup_cache_client_input_stream_new (GInputStream *base_stream);
33 
34 G_END_DECLS
35 
36 #endif /* __SOUP_CACHE_CLIENT_INPUT_STREAM_H__ */
37