X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgvariant-core.h;h=f658cedede5d43f6f607eac48caae32a764dcd13;hb=0a4ee12c7a9dfc82443133dfb2b18fb411d79f48;hp=33c0ef313a434c59cadec8fd0ead6997ef9647c0;hpb=73ca8b47540d005d5227c03aac143d6780da654c;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gvariant-core.h b/glib/gvariant-core.h index 33c0ef3..f658ced 100644 --- a/glib/gvariant-core.h +++ b/glib/gvariant-core.h @@ -13,9 +13,7 @@ * 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, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . */ #ifndef __G_VARIANT_CORE_H__ @@ -23,24 +21,27 @@ #include #include -#include +#include /* gvariant-core.c */ -G_GNUC_INTERNAL -GVariant * g_variant_new_from_buffer (const GVariantType *type, - GBuffer *buffer, - gboolean trusted); -G_GNUC_INTERNAL -GVariant * g_variant_new_from_children (const GVariantType *type, +GVariant * g_variant_new_from_children (GVariantTypeInfo *type_info, GVariant **children, gsize n_children, gboolean trusted); -G_GNUC_INTERNAL +GVariant * g_variant_new_serialised (GVariantTypeInfo *type_info, + GBytes *bytes, + gconstpointer data, + gsize size, + gboolean trusted); + gboolean g_variant_is_trusted (GVariant *value); -G_GNUC_INTERNAL GVariantTypeInfo * g_variant_get_type_info (GVariant *value); +gconstpointer g_variant_get_serialised (GVariant *value, + GBytes **bytes, + gsize *size); + #endif /* __G_VARIANT_CORE_H__ */