Blame gst/gstpluginloader.h

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