2 #ifndef __G_VARIANT_VECTORS_H__
3 #define __G_VARIANT_VECTORS_H__
5 #include <glib/garray.h>
9 GByteArray *extra_bytes;
15 /* If ->bytes is NULL then offset/size point inside of extra_bytes,
16 * otherwise pointer/size point to memory owned by the GBytes.
22 gconstpointer pointer;
28 void g_variant_vectors_init (GVariantVectors *vectors);
31 gsize g_variant_vectors_append_pad (GVariantVectors *vectors,
35 void g_variant_vectors_append_copy (GVariantVectors *vectors,
40 void g_variant_vectors_append_gbytes (GVariantVectors *vectors,
46 gsize g_variant_vectors_reserve_offsets (GVariantVectors *vectors,
51 void g_variant_vectors_write_to_offsets (GVariantVectors *vectors,
57 void g_variant_vectors_commit_offsets (GVariantVectors *vectors,
60 #endif /* __G_GVARIANT_VECTORS_H__ */