#include "gstpad.h"
#include "gstquark.h"
+G_DEFINE_BOXED_TYPE (GstToc, gst_toc,
+ (GBoxedCopyFunc) gst_toc_copy, (GBoxedFreeFunc) gst_toc_free);
+G_DEFINE_BOXED_TYPE (GstTocEntry, gst_toc_entry,
+ (GBoxedCopyFunc) gst_toc_entry_copy, (GBoxedFreeFunc) gst_toc_entry_free);
+
/**
* gst_toc_new:
*
G_BEGIN_DECLS
+#define GST_TYPE_TOC (gst_toc_get_type ())
+#define GST_TYPE_TOC_ENTRY (gst_toc_entry_get_type ())
+
typedef struct _GstTocEntry GstTocEntry;
typedef struct _GstToc GstToc;
gpointer _gst_reserved[GST_PADDING];
};
+/* functions to return type structures */
+GType gst_toc_get_type (void);
+GType gst_toc_entry_get_type (void);
+
/* functions to create new structures */
GstToc * gst_toc_new (void);
GstTocEntry * gst_toc_entry_new (GstTocEntryType type, const gchar *uid);