Blame gst/gstpluginloader.h

Packit a6ee4b
/* GStreamer
Packit a6ee4b
 * Copyright (C) 2008 Jan Schmidt <jan.schmidt@sun.com>
Packit a6ee4b
 *
Packit a6ee4b
 * gstpluginloader.h: Helper for out-of-process plugin loading. Private header.
Packit a6ee4b
 *
Packit a6ee4b
 * This library is free software; you can redistribute it and/or
Packit a6ee4b
 * modify it under the terms of the GNU Library General Public
Packit a6ee4b
 * License as published by the Free Software Foundation; either
Packit a6ee4b
 * version 2 of the License, or (at your option) any later version.
Packit a6ee4b
 *
Packit a6ee4b
 * This library is distributed in the hope that it will be useful,
Packit a6ee4b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit a6ee4b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit a6ee4b
 * Library General Public License for more details.
Packit a6ee4b
 *
Packit a6ee4b
 * You should have received a copy of the GNU Library General Public
Packit a6ee4b
 * License along with this library; if not, write to the
Packit a6ee4b
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit a6ee4b
 * Boston, MA 02110-1301, USA.
Packit a6ee4b
 */
Packit a6ee4b
#ifndef __GST_PLUGINLOADER_H__
Packit a6ee4b
#define __GST_PLUGINLOADER_H__
Packit a6ee4b
Packit a6ee4b
#include <glib.h>
Packit a6ee4b
#include <gst/gstregistry.h>
Packit a6ee4b
Packit a6ee4b
G_BEGIN_DECLS
Packit a6ee4b
Packit a6ee4b
typedef struct _GstPluginLoader GstPluginLoader;
Packit a6ee4b
Packit a6ee4b
typedef struct _GstPluginLoaderFuncs {
Packit a6ee4b
  GstPluginLoader * (*create)   (GstRegistry *registry);
Packit a6ee4b
  gboolean          (*destroy)  (GstPluginLoader *loader);
Packit a6ee4b
  gboolean          (*load)     (GstPluginLoader *loader, const gchar *filename,
Packit a6ee4b
                                 off_t file_size, time_t file_mtime);
Packit a6ee4b
} GstPluginLoaderFuncs;
Packit a6ee4b
Packit a6ee4b
extern const GstPluginLoaderFuncs _priv_gst_plugin_loader_funcs;
Packit a6ee4b
Packit a6ee4b
G_END_DECLS
Packit a6ee4b
Packit a6ee4b
#endif /* __GST_PLUGINLOADER_H__ */