Blame libsoup/soup-client-input-stream.h

rpm-build 4f3c61
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
rpm-build 4f3c61
/*
rpm-build 4f3c61
 * Copyright 2010-2012 Red Hat, Inc.
rpm-build 4f3c61
 */
rpm-build 4f3c61
rpm-build 4f3c61
#ifndef SOUP_CLIENT_INPUT_STREAM_H
rpm-build 4f3c61
#define SOUP_CLIENT_INPUT_STREAM_H 1
rpm-build 4f3c61
rpm-build 4f3c61
#include "soup-types.h"
rpm-build 4f3c61
#include "soup-filter-input-stream.h"
rpm-build 4f3c61
rpm-build 4f3c61
G_BEGIN_DECLS
rpm-build 4f3c61
rpm-build 4f3c61
#define SOUP_TYPE_CLIENT_INPUT_STREAM            (soup_client_input_stream_get_type ())
rpm-build 4f3c61
#define SOUP_CLIENT_INPUT_STREAM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_CLIENT_INPUT_STREAM, SoupClientInputStream))
rpm-build 4f3c61
#define SOUP_CLIENT_INPUT_STREAM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_CLIENT_INPUT_STREAM, SoupClientInputStreamClass))
rpm-build 4f3c61
#define SOUP_IS_CLIENT_INPUT_STREAM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_CLIENT_INPUT_STREAM))
rpm-build 4f3c61
#define SOUP_IS_CLIENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_CLIENT_INPUT_STREAM))
rpm-build 4f3c61
#define SOUP_CLIENT_INPUT_STREAM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_CLIENT_INPUT_STREAM, SoupClientInputStreamClass))
rpm-build 4f3c61
rpm-build 4f3c61
typedef struct _SoupClientInputStreamPrivate SoupClientInputStreamPrivate;
rpm-build 4f3c61
rpm-build 4f3c61
typedef struct {
rpm-build 4f3c61
	SoupFilterInputStream parent;
rpm-build 4f3c61
rpm-build 4f3c61
	SoupClientInputStreamPrivate *priv;
rpm-build 4f3c61
} SoupClientInputStream;
rpm-build 4f3c61
rpm-build 4f3c61
typedef struct {
rpm-build 4f3c61
	SoupFilterInputStreamClass parent_class;
rpm-build 4f3c61
rpm-build 4f3c61
	/* Padding for future expansion */
rpm-build 4f3c61
	void (*_libsoup_reserved1) (void);
rpm-build 4f3c61
	void (*_libsoup_reserved2) (void);
rpm-build 4f3c61
	void (*_libsoup_reserved3) (void);
rpm-build 4f3c61
	void (*_libsoup_reserved4) (void);
rpm-build 4f3c61
} SoupClientInputStreamClass;
rpm-build 4f3c61
rpm-build 4f3c61
GType soup_client_input_stream_get_type (void);
rpm-build 4f3c61
rpm-build 4f3c61
GInputStream *soup_client_input_stream_new (GInputStream *base_stream,
rpm-build 4f3c61
					    SoupMessage  *msg);
rpm-build 4f3c61
rpm-build 4f3c61
G_END_DECLS
rpm-build 4f3c61
rpm-build 4f3c61
#endif /* SOUP_CLIENT_INPUT_STREAM_H */