lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / graph / notification-const.h
index a513c0c6fb537f8edc01f69da6508effb1e8bc2b..8754088999ce269f7cf350b9e29aa6480c0b218d 100644 (file)
  * SOFTWARE.
  */
 
+/* For bt_notification */
+#include <babeltrace/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_notification;
-
-typedef const struct bt_notification **bt_notification_array_const;
-
 /**
  * Notification types. Unhandled notification types should be ignored.
  */
@@ -51,11 +50,11 @@ enum bt_notification_type {
  * @returns            One of #bt_notification_type
  */
 extern enum bt_notification_type bt_notification_get_type(
-               const struct bt_notification *notification);
+               const bt_notification *notification);
 
-extern void bt_notification_get_ref(const struct bt_notification *notification);
+extern void bt_notification_get_ref(const bt_notification *notification);
 
-extern void bt_notification_put_ref(const struct bt_notification *notification);
+extern void bt_notification_put_ref(const bt_notification *notification);
 
 #define BT_NOTIFICATION_PUT_REF_AND_RESET(_var)                \
        do {                                            \
This page took 0.023497 seconds and 4 git commands to generate.