* A function that will be called in gst_structure_foreach(). The function may
* not modify @value.
*
- * Returns: TRUE if the foreach operation should continue, FALSE if
- * the foreach operation should stop with FALSE.
+ * Returns: %TRUE if the foreach operation should continue, %FALSE if
+ * the foreach operation should stop with %FALSE.
*/
typedef gboolean (*GstStructureForeachFunc) (GQuark field_id,
const GValue * value,
* A function that will be called in gst_structure_map_in_place(). The function
* may modify @value.
*
- * Returns: TRUE if the map operation should continue, FALSE if
- * the map operation should stop with FALSE.
+ * Returns: %TRUE if the map operation should continue, %FALSE if
+ * the map operation should stop with %FALSE.
*/
typedef gboolean (*GstStructureMapFunc) (GQuark field_id,
GValue * value,
GstStructure * gst_structure_new_valist (const gchar * name,
const gchar * firstfield,
- va_list lovarargs) G_GNUC_MALLOC;
+ va_list varargs) G_GNUC_MALLOC;
GstStructure * gst_structure_new_id (GQuark name_quark,
GQuark field_quark,
...) G_GNUC_MALLOC;
+GstStructure * gst_structure_new_from_string (const gchar * string);
+
GstStructure * gst_structure_copy (const GstStructure * structure) G_GNUC_MALLOC;
gboolean gst_structure_set_parent_refcount (GstStructure * structure,
const gchar * fieldname,
guint * value);
+gboolean gst_structure_get_int64 (const GstStructure * structure,
+ const gchar * fieldname,
+ gint64 * value);
+
+gboolean gst_structure_get_uint64 (const GstStructure * structure,
+ const gchar * fieldname,
+ guint64 * value);
+
gboolean gst_structure_get_double (const GstStructure * structure,
const gchar * fieldname,
gdouble * value);