summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/xine_plugin.h')
-rw-r--r--src/xine-engine/xine_plugin.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/xine-engine/xine_plugin.h b/src/xine-engine/xine_plugin.h
index 914228b0b..0fed49aa9 100644
--- a/src/xine-engine/xine_plugin.h
+++ b/src/xine-engine/xine_plugin.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_plugin.h,v 1.16 2004/06/10 18:54:31 mroi Exp $
+ * $Id: xine_plugin.h,v 1.17 2005/02/13 14:24:25 tmattern Exp $
*
* generic plugin definitions
*
@@ -90,4 +90,17 @@ typedef struct {
int priority;
} input_info_t;
+
+/* register a list of statically linked plugins
+ * info is a list of plugin_info_t terminated by PLUGIN_NONE
+ * example:
+ * plugin_info_t acme_plugin_info[] = {
+ * { PLUGIN_VIDEO_OUT, 20, "acme", XINE_VERSION_CODE, &vo_info_acme,
+ * init_class_acme },
+ * { PLUGIN_NONE, 0, "", 0, NULL, NULL }
+ * };
+ *
+ */
+void xine_register_plugins(xine_t *self, plugin_info_t *info);
+
#endif