python-plugin-provider: Make it build
[babeltrace.git] / include / babeltrace / plugin / plugin-internal.h
index bd1876eb422ae4f44af332a55449db1008563800..781c4ef3b5ba8955c835ae217048ae5c03c7973a 100644 (file)
@@ -2,10 +2,9 @@
 #define BABELTRACE_PLUGIN_PLUGIN_INTERNAL_H
 
 /*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
@@ -31,9 +30,9 @@
 #include <babeltrace/plugin/plugin-dev.h>
 #include <babeltrace/plugin/plugin-so-internal.h>
 #include <babeltrace/object-internal.h>
-#include <babeltrace/object.h>
 #include <babeltrace/types.h>
 #include <babeltrace/assert-internal.h>
+#include <babeltrace/lib-logging-internal.h>
 #include <glib.h>
 
 enum bt_plugin_type {
@@ -41,6 +40,12 @@ enum bt_plugin_type {
        BT_PLUGIN_TYPE_PYTHON = 1,
 };
 
+enum bt_plugin_status {
+       BT_PLUGIN_STATUS_OK = 0,
+       BT_PLUGIN_STATUS_ERROR = -1,
+       BT_PLUGIN_STATUS_NOMEM = -12,
+};
+
 struct bt_plugin {
        struct bt_object base;
        enum bt_plugin_type type;
This page took 0.02295 seconds and 4 git commands to generate.