Rename struct lttng_event_notifier to struct lttng_ust_event_notifier
[lttng-ust.git] / liblttng-ust / event-notifier-notification.c
index f8bad6db6e56734609d6321b9d79691829705d6f..570e5861cbc9974108afe65b97277e952201cca5 100644 (file)
@@ -24,7 +24,7 @@
  * of the notification struct we are sending alongside the capture buffer.
  */
 #define CAPTURE_BUFFER_SIZE \
-       (PIPE_BUF - sizeof(struct lttng_ust_event_notifier_notification) - 1)
+       (PIPE_BUF - sizeof(struct lttng_ust_abi_event_notifier_notification) - 1)
 
 struct lttng_event_notifier_notification {
        int notification_fd;
@@ -210,7 +210,7 @@ void capture_sequence(struct lttng_msgpack_writer *writer,
 
 static
 void notification_init(struct lttng_event_notifier_notification *notif,
-               struct lttng_event_notifier *event_notifier)
+               struct lttng_ust_event_notifier *event_notifier)
 {
        struct lttng_msgpack_writer *writer = &notif->writer;
 
@@ -266,7 +266,7 @@ void notification_append_empty_capture(
        lttng_msgpack_write_nil(&notif->writer);
 }
 
-static void record_error(struct lttng_event_notifier *event_notifier)
+static void record_error(struct lttng_ust_event_notifier *event_notifier)
 {
        struct lttng_event_notifier_group *event_notifier_group =
                        event_notifier->priv->group;
@@ -296,12 +296,12 @@ static void record_error(struct lttng_event_notifier *event_notifier)
 
 static
 void notification_send(struct lttng_event_notifier_notification *notif,
-               struct lttng_event_notifier *event_notifier)
+               struct lttng_ust_event_notifier *event_notifier)
 {
        ssize_t ret;
        size_t content_len;
        int iovec_count = 1;
-       struct lttng_ust_event_notifier_notification ust_notif = {0};
+       struct lttng_ust_abi_event_notifier_notification ust_notif = {0};
        struct iovec iov[2];
 
        assert(notif);
@@ -356,7 +356,7 @@ void notification_send(struct lttng_event_notifier_notification *notif,
 }
 
 void lttng_event_notifier_notification_send(
-               struct lttng_event_notifier *event_notifier,
+               struct lttng_ust_event_notifier *event_notifier,
                const char *stack_data)
 {
        /*
This page took 0.02496 seconds and 4 git commands to generate.