-/*
- * we reference strings directly from the plugins and in this case set CONST to
- * avoid freeing them
- */
-enum {
- GST_BINARY_REGISTRY_FLAG_NONE = 0,
- GST_BINARY_REGISTRY_FLAG_CONST = 1
-};
-
-/*
- * GstBinaryChunk:
- *
- * Header for binary blobs
- */
-typedef struct _GstBinaryChunk
-{
- gpointer data;
- guint size;
- guint flags;
- gboolean align;
-} GstBinaryChunk;
-
-/*
- * GstBinaryPluginElement:
- *
- * @nfeatures: says how many binary plugin feature structures we will have
- * right after the structure itself.
- *
- * A structure containing (staticely) every information needed for a plugin
- */
-
-typedef struct _GstBinaryPluginElement
-{
- gulong file_size;
- gulong file_mtime;
-
- guint nfeatures;
-} GstBinaryPluginElement;
-
-
-/*
- * GstBinaryPluginFeature:
- * @rank: rank of the feature
- *
- * A structure containing the plugin features
- */
-typedef struct _GstBinaryPluginFeature
-{
- gulong rank;
-} GstBinaryPluginFeature;
-
-/*
- * GstBinaryElementFactory:
- * @npadtemplates: stores the number of GstBinaryPadTemplate structures
- * following the structure
- * @ninterfaces: stores the number of interface names following the structure
- * @nuriprotocols: stores the number of protocol strings following the structure
- *
- * A structure containing the element factory fields
- */
-typedef struct _GstBinaryElementFactory
-{
- GstBinaryPluginFeature plugin_feature;
-
- guint npadtemplates;
- guint ninterfaces;
- guint nuriprotocols;
-} GstBinaryElementFactory;
-
-/*
- * GstBinaryTypeFindFactory:
- * @nextensions: stores the number of typefind extensions
- *
- * A structure containing the element factory fields
- */
-typedef struct _GstBinaryTypeFindFactory
-{
- GstBinaryPluginFeature plugin_feature;
-
- guint nextensions;
-} GstBinaryTypeFindFactory;
-
-/*
- * GstBinaryPadTemplate:
- *
- * A structure containing the static pad templates of a plugin feature
- */
-typedef struct _GstBinaryPadTemplate
-{
- guint direction; /* Either 0:"sink" or 1:"src" */
- GstPadPresence presence;
-} GstBinaryPadTemplate;
-
-
-/* Function prototypes */
-gboolean gst_registry_binary_write_cache(GstRegistry *registry, const char *location);
-gboolean gst_registry_binary_read_cache(GstRegistry *registry, const char *location);