Build system: build reader plug-in stub
[babeltrace.git] / plugins / plugin.c
index 15f55a7f4d640585ea9fa0563add873c082dc0d4..1f5a6bbde3cc3fbb569ac912d2362804512a0fb2 100644 (file)
@@ -135,6 +135,19 @@ end:
        return ret;
 }
 
+void *bt_plugin_get_private_data(struct bt_plugin *plugin)
+{
+        void *ret = NULL;
+
+       if (!plugin) {
+               goto end;
+       }
+
+       ret = plugin->user_data;
+end:
+       return ret;
+}
+
 static
 void bt_plugin_destroy(struct bt_ctf_ref *ref)
 {
This page took 0.024193 seconds and 4 git commands to generate.