lib: strictly type function return status enumerations
[babeltrace.git] / src / plugins / ctf / lttng-live / lttng-live.h
index 35de9051618aa36f8572c99352834cb5b29a29de..62e1e752205bcb60b226a5e9c7589ec31741e4a8 100644 (file)
@@ -65,6 +65,7 @@ enum lttng_live_stream_state {
 /* Iterator over a live stream. */
 struct lttng_live_stream_iterator {
        bt_logging_level log_level;
+       bt_self_component *self_comp;
 
        /* Owned by this. */
        bt_stream *stream;
@@ -122,6 +123,7 @@ struct lttng_live_stream_iterator {
 
 struct lttng_live_metadata {
        bt_logging_level log_level;
+       bt_self_component *self_comp;
 
        /* Weak reference. */
        struct lttng_live_trace *trace;
@@ -135,6 +137,7 @@ struct lttng_live_metadata {
 
 struct lttng_live_trace {
        bt_logging_level log_level;
+       bt_self_component *self_comp;
 
        /* Back reference to session. */
        struct lttng_live_session *session;
@@ -161,6 +164,7 @@ struct lttng_live_trace {
 
 struct lttng_live_session {
        bt_logging_level log_level;
+       bt_self_component *self_comp;
 
        /* Weak reference. */
        struct lttng_live_msg_iter *lttng_live_msg_iter;
@@ -195,7 +199,7 @@ struct lttng_live_component {
        bt_logging_level log_level;
 
        /* Weak reference. */
-       bt_self_component_source *self_comp;
+       bt_self_component *self_comp;
 
        struct {
                GString *url;
@@ -213,6 +217,7 @@ struct lttng_live_component {
 
 struct lttng_live_msg_iter {
        bt_logging_level log_level;
+       bt_self_component *self_comp;
 
        /* Weak reference. */
        struct lttng_live_component *lttng_live_comp;
@@ -252,11 +257,11 @@ enum lttng_live_iterator_status {
        LTTNG_LIVE_ITERATOR_STATUS_UNSUPPORTED = -4,
 };
 
-bt_self_component_status lttng_live_component_init(
+bt_component_class_init_method_status lttng_live_component_init(
                bt_self_component_source *self_comp,
                const bt_value *params, void *init_method_data);
 
-bt_query_status lttng_live_query(
+bt_component_class_query_method_status lttng_live_query(
                bt_self_component_class_source *comp_class,
                const bt_query_executor *query_exec,
                const char *object, const bt_value *params,
@@ -265,12 +270,12 @@ bt_query_status lttng_live_query(
 
 void lttng_live_component_finalize(bt_self_component_source *component);
 
-bt_self_message_iterator_status lttng_live_msg_iter_next(
+bt_component_class_message_iterator_next_method_status lttng_live_msg_iter_next(
                bt_self_message_iterator *iterator,
                bt_message_array_const msgs, uint64_t capacity,
                uint64_t *count);
 
-bt_self_message_iterator_status lttng_live_msg_iter_init(
+bt_component_class_message_iterator_init_method_status lttng_live_msg_iter_init(
                bt_self_message_iterator *self_msg_it,
                bt_self_component_source *self_comp,
                bt_self_component_port_output *self_port);
This page took 0.025034 seconds and 4 git commands to generate.