lib: make plugin API const-correct
[babeltrace.git] / include / babeltrace / graph / notification.h
index b64d40ad29c76a0ac53899c85b88dcfa53178d12..658fe0e8c7a5f1909953563d1f2c268c0f1af46b 100644 (file)
@@ -2,8 +2,6 @@
 #define BABELTRACE_GRAPH_NOTIFICATION_H
 
 /*
- * BabelTrace - Plug-in Notification
- *
  * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
@@ -33,22 +31,18 @@ extern "C" {
 
 struct bt_notification;
 
+typedef struct bt_notification **bt_notification_array;
+
 /**
  * Notification types. Unhandled notification types should be ignored.
  */
 enum bt_notification_type {
-       BT_NOTIFICATION_TYPE_SENTINEL =                 -1000,
-       BT_NOTIFICATION_TYPE_UNKNOWN =                  -1,
-       BT_NOTIFICATION_TYPE_ALL =                      -2,
        BT_NOTIFICATION_TYPE_EVENT =                    0,
        BT_NOTIFICATION_TYPE_INACTIVITY =               1,
        BT_NOTIFICATION_TYPE_STREAM_BEGIN =             2,
        BT_NOTIFICATION_TYPE_STREAM_END =               3,
        BT_NOTIFICATION_TYPE_PACKET_BEGIN =             4,
        BT_NOTIFICATION_TYPE_PACKET_END =               5,
-       BT_NOTIFICATION_TYPE_DISCARDED_EVENTS =         6,
-       BT_NOTIFICATION_TYPE_DISCARDED_PACKETS =        7,
-       BT_NOTIFICATION_TYPE_NR, /* Not part of ABI. */
 };
 
 /**
This page took 0.023178 seconds and 4 git commands to generate.