/* 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,
};
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(