|
Packit Service |
ea0369 |
/*
|
|
Packit Service |
ea0369 |
* libvirt-gobject-output-stream.h: libvirt gobject integration
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* Copyright (C) 2011 Red Hat, Inc.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
ea0369 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
ea0369 |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
ea0369 |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
ea0369 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
ea0369 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
ea0369 |
* Lesser General Public License for more details.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
ea0369 |
* License along with this library. If not, see
|
|
Packit Service |
ea0369 |
* <http://www.gnu.org/licenses/>.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* Authors: Daniel P. Berrange <berrange@redhat.com>
|
|
Packit Service |
ea0369 |
* Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
Packit Service |
ea0369 |
*/
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#if !defined(__LIBVIRT_GOBJECT_H__) && !defined(LIBVIRT_GOBJECT_BUILD)
|
|
Packit Service |
ea0369 |
#error "Only <libvirt-gobject/libvirt-gobject.h> can be included directly."
|
|
Packit Service |
ea0369 |
#endif
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#ifndef __LIBVIRT_GOBJECT_OUTPUT_STREAM_H__
|
|
Packit Service |
ea0369 |
#define __LIBVIRT_GOBJECT_OUTPUT_STREAM_H__
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#include <gio/gio.h>
|
|
Packit Service |
ea0369 |
#include "libvirt-gobject-stream.h"
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
G_BEGIN_DECLS
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#define GVIR_TYPE_OUTPUT_STREAM (_gvir_output_stream_get_type ())
|
|
Packit Service |
ea0369 |
#define GVIR_OUTPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), GVIR_TYPE_OUTPUT_STREAM, GVirOutputStream))
|
|
Packit Service |
ea0369 |
#define GVIR_OUTPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), GVIR_TYPE_OUTPUT_STREAM, GVirOutputStreamClass))
|
|
Packit Service |
ea0369 |
#define GVIR_IS_OUTPUT_STREAM(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), GVIR_TYPE_OUTPUT_STREAM))
|
|
Packit Service |
ea0369 |
#define GVIR_IS_OUTPUT_STREAM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), GVIR_TYPE_OUTPUT_STREAM))
|
|
Packit Service |
ea0369 |
#define GVIR_OUTPUT_STREAM_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GVIR_TYPE_OUTPUT_STREAM, GVirOutputStreamClass))
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
typedef struct _GVirOutputStreamPrivate GVirOutputStreamPrivate;
|
|
Packit Service |
ea0369 |
typedef struct _GVirOutputStreamClass GVirOutputStreamClass;
|
|
Packit Service |
ea0369 |
typedef struct _GVirOutputStream GVirOutputStream;
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
struct _GVirOutputStreamClass
|
|
Packit Service |
ea0369 |
{
|
|
Packit Service |
ea0369 |
GOutputStreamClass parent_class;
|
|
Packit Service |
ea0369 |
};
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
struct _GVirOutputStream
|
|
Packit Service |
ea0369 |
{
|
|
Packit Service |
ea0369 |
GOutputStream parent_instance;
|
|
Packit Service |
ea0369 |
GVirOutputStreamPrivate *priv;
|
|
Packit Service |
ea0369 |
};
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
GType _gvir_output_stream_get_type(void) G_GNUC_CONST;
|
|
Packit Service |
ea0369 |
GVirOutputStream *_gvir_output_stream_new(GVirStream *stream);
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
G_END_DECLS
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#endif /* __LIBVIRT_GOBJECT_OUTPUT_STREAM_H__ */
|