X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel.h;fp=include%2Flttng%2Fnotification%2Fchannel.h;h=5e6ba9651ef196ccb38228b5b9788dec6e90302f;hp=b1c2d6af50e790e25dfd0af52f4a9253d84599ca;hb=3c47cdafec6200f424a5cb5a3ed4601d0691a6eb;hpb=616ad1e20a8941e6c65cdd74470324a88a02af94 diff --git a/include/lttng/notification/channel.h b/include/lttng/notification/channel.h index b1c2d6af5..5e6ba9651 100644 --- a/include/lttng/notification/channel.h +++ b/include/lttng/notification/channel.h @@ -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(