X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgvariant-core.h;h=f658cedede5d43f6f607eac48caae32a764dcd13;hb=0a4ee12c7a9dfc82443133dfb2b18fb411d79f48;hp=d2a6b46a8f1298efa155c2ef45ba2f1f8a34e4e9;hpb=4fb2d737ac69b60d9aef4f06884bb6a69752c607;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gvariant-core.h b/glib/gvariant-core.h index d2a6b46..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__ @@ -27,16 +25,23 @@ /* gvariant-core.c */ -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__ */