/*
* libvirt-gobject-input-stream.h: libvirt gobject integration
*
* Copyright (C) 2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* .
*
* Authors: Daniel P. Berrange
* Marc-André Lureau
*/
#if !defined(__LIBVIRT_GOBJECT_H__) && !defined(LIBVIRT_GOBJECT_BUILD)
#error "Only can be included directly."
#endif
#ifndef __LIBVIRT_GOBJECT_INPUT_STREAM_H__
#define __LIBVIRT_GOBJECT_INPUT_STREAM_H__
#include
#include "libvirt-gobject-stream.h"
G_BEGIN_DECLS
#define GVIR_TYPE_INPUT_STREAM (_gvir_input_stream_get_type ())
#define GVIR_INPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), GVIR_TYPE_INPUT_STREAM, GVirInputStream))
#define GVIR_INPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), GVIR_TYPE_INPUT_STREAM, GVirInputStreamClass))
#define GVIR_IS_INPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), GVIR_TYPE_INPUT_STREAM))
#define GVIR_IS_INPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), GVIR_TYPE_INPUT_STREAM))
#define GVIR_INPUT_STREAM_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GVIR_TYPE_INPUT_STREAM, GVirInputStreamClass))
typedef struct _GVirInputStreamPrivate GVirInputStreamPrivate;
typedef struct _GVirInputStreamClass GVirInputStreamClass;
typedef struct _GVirInputStream GVirInputStream;
struct _GVirInputStreamClass
{
GInputStreamClass parent_class;
};
struct _GVirInputStream
{
GInputStream parent_instance;
GVirInputStreamPrivate *priv;
};
GType _gvir_input_stream_get_type(void) G_GNUC_CONST;
GVirInputStream *_gvir_input_stream_new(GVirStream *stream);
G_END_DECLS
#endif /* __LIBVIRT_GOBJECT_INPUT_STREAM_H__ */