Various fixes for prototype branch
[lttng-tools.git] / include / lttng / notification / channel.h
index b1c2d6af50e790e25dfd0af52f4a9253d84599ca..5e6ba9651ef196ccb38228b5b9788dec6e90302f 100644 (file)
@@ -29,12 +29,12 @@ struct lttng_notification_channel;
 
 /* LTTng Notification channel */
 enum lttng_notification_channel_status {
-       LTTNG_NOTIFICATION_CHANNEL_STATUS_TIMEOUT = 2,
        LTTNG_NOTIFICATION_CHANNEL_STATUS_NOTIFICATIONS_DROPPED = 1,
        LTTNG_NOTIFICATION_CHANNEL_STATUS_OK = 0,
        LTTNG_NOTIFICATION_CHANNEL_STATUS_ERROR = -1,
        LTTNG_NOTIFICATION_CHANNEL_STATUS_CLOSED = -2,
-       LTTNG_NOTIFICATION_CHANNEL_STATUS_NOT_FOUND = -3,
+       /* Condition unknown. */
+       LTTNG_NOTIFICATION_CHANNEL_STATUS_UNKNOWN = -3,
        LTTNG_NOTIFICATION_CHANNEL_STATUS_UNSUPPORTED = -4,
        LTTNG_NOTIFICATION_CHANNEL_STATUS_INVALID = -5,
 };
@@ -45,8 +45,7 @@ extern struct lttng_notification_channel *lttng_notification_channel_create(
 extern enum lttng_notification_channel_status
 lttng_notification_channel_get_next_notification(
                struct lttng_notification_channel *channel,
-               struct lttng_notification **notification,
-               unsigned int timeout_ms);
+               struct lttng_notification **notification);
 
 extern enum lttng_notification_channel_status
 lttng_notification_channel_subscribe(
This page took 0.024314 seconds and 5 git commands to generate.