Revert "gst/parse: define pure-parser depending on bison version"
[platform/upstream/gstreamer.git] / gst / gstregistrychunks.h
index 3c7057c..e7b77b3 100644 (file)
@@ -17,8 +17,8 @@
  *
  * You should have received a copy of the GNU Library 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.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 #ifndef __GST_REGISTRYCHUNKS_H__
 #define __GST_REGISTRYCHUNKS_H__
@@ -50,6 +50,11 @@ typedef struct _GstRegistryChunk
   gboolean align;
 } GstRegistryChunk;
 
+typedef struct _GstRegistryChunkGlobalHeader
+{
+  guint32  filter_env_hash;
+} GstRegistryChunkGlobalHeader;
+
 /*
  * GstRegistryChunkPluginElement:
  *
@@ -117,7 +122,7 @@ typedef struct _GstRegistryChunkElementFactory
  * GstRegistryChunkTypeFindFactory:
  * @nextensions: stores the number of typefind extensions
  *
- * A structure containing the element factory fields
+ * A structure containing the type find factory fields
  */
 typedef struct _GstRegistryChunkTypeFindFactory
 {
@@ -127,6 +132,29 @@ typedef struct _GstRegistryChunkTypeFindFactory
 } GstRegistryChunkTypeFindFactory;
 
 /*
+ * GstRegistryChunkDeviceProviderFactory:
+ *
+ * A structure containing the device provider factory fields
+ */
+typedef struct _GstRegistryChunkDeviceProviderFactory
+{
+  GstRegistryChunkPluginFeature plugin_feature;
+
+} GstRegistryChunkDeviceProviderFactory;
+
+/*
+ * GstRegistryChunkDynamicTypeFactory:
+ *
+ * A structure containing the dynamic type factory flags field
+ */
+typedef struct _GstRegistryChunkDynamicTypeFactory
+{
+  GstRegistryChunkPluginFeature plugin_feature;
+
+  guint type_flags;
+} GstRegistryChunkDynamicTypeFactory;
+
+/*
  * GstRegistryChunkPadTemplate:
  *
  * A structure containing the static pad templates of a plugin feature
@@ -148,6 +176,14 @@ _priv_gst_registry_chunks_load_plugin (GstRegistry * registry, gchar ** in,
     gchar *end, GstPlugin **out_plugin);
 
 void
+_priv_gst_registry_chunks_save_global_header (GList ** list,
+    GstRegistry * registry, guint32 filter_env_hash);
+
+gboolean
+_priv_gst_registry_chunks_load_global_header (GstRegistry * registry,
+    gchar ** in, gchar *end, guint32 * filter_env_hash);
+
+void
 _priv_gst_registry_chunk_free (GstRegistryChunk *chunk);
 
 G_END_DECLS