Blame glib/glib/gvariant-core.h

Packit db3073
/*
Packit db3073
 * Copyright © 2007, 2008 Ryan Lortie
Packit db3073
 * Copyright © 2010 Codethink Limited
Packit db3073
 *
Packit db3073
 * This library is free software; you can redistribute it and/or
Packit db3073
 * modify it under the terms of the GNU Lesser General Public
Packit db3073
 * License as published by the Free Software Foundation; either
Packit db3073
 * version 2 of the License, or (at your option) any later version.
Packit db3073
 *
Packit db3073
 * This library is distributed in the hope that it will be useful,
Packit db3073
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit db3073
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit db3073
 * Lesser General Public License for more details.
Packit db3073
 *
Packit db3073
 * You should have received a copy of the GNU Lesser General Public
Packit db3073
 * License along with this library; if not, write to the
Packit db3073
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit db3073
 * Boston, MA 02111-1307, USA.
Packit db3073
 */
Packit db3073
Packit db3073
#ifndef __G_VARIANT_CORE_H__
Packit db3073
#define __G_VARIANT_CORE_H__
Packit db3073
Packit db3073
#include <glib/gvarianttypeinfo.h>
Packit db3073
#include <glib/gvariant.h>
Packit db3073
#include <glib/gbytes.h>
Packit db3073
Packit db3073
/* gvariant-core.c */
Packit db3073
G_GNUC_INTERNAL
Packit db3073
GVariant *              g_variant_new_from_bytes                        (const GVariantType *type,
Packit db3073
                                                                         GBytes             *bytes,
Packit db3073
                                                                         gboolean            trusted);
Packit db3073
Packit db3073
G_GNUC_INTERNAL
Packit db3073
GVariant *              g_variant_new_from_children                     (const GVariantType  *type,
Packit db3073
                                                                         GVariant           **children,
Packit db3073
                                                                         gsize                n_children,
Packit db3073
                                                                         gboolean             trusted);
Packit db3073
Packit db3073
G_GNUC_INTERNAL
Packit db3073
gboolean                g_variant_is_trusted                            (GVariant            *value);
Packit db3073
Packit db3073
G_GNUC_INTERNAL
Packit db3073
GVariantTypeInfo *      g_variant_get_type_info                         (GVariant            *value);
Packit db3073
Packit db3073
#endif /* __G_VARIANT_CORE_H__ */