summaryrefslogtreecommitdiff
path: root/include/xine/post.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xine/post.h')
-rw-r--r--include/xine/post.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/xine/post.h b/include/xine/post.h
index 4f2b8d272..3056f8120 100644
--- a/include/xine/post.h
+++ b/include/xine/post.h
@@ -29,6 +29,10 @@
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
+#ifdef XINE_COMPILE
+# include <xine/plugin_catalog.h>
+#endif
+
#define POST_PLUGIN_IFACE_VERSION 9
@@ -111,8 +115,17 @@ struct post_plugin_s {
const char **input_ids;
const char **output_ids;
- /* used by plugin loader */
- void *node;
+ /**
+ * @brief Pointer to the loaded plugin node.
+ *
+ * Used by the plugins loader. It's an opaque type when using the
+ * structure outside of xine's build.
+ */
+#ifdef XINE_COMPILE
+ plugin_node_t *node;
+#else
+ void *node;
+#endif
/* has dispose been called */
int dispose_pending;