Add serialization of trigger, condition and action classes
[lttng-tools.git] / src / lib / lttng-ctl / notify.c
index 5011cdbcef464998c10ced25911c99805d0b4bcf..956c0ecfff4a347ef092d725d8d9032d8538b5dd 100644 (file)
@@ -26,6 +26,12 @@ void lttng_action_notify_destroy(struct lttng_action *action)
        free(action);
 }
 
+static
+ssize_t lttng_action_notify_serialize(struct lttng_action *action, char *buf)
+{
+       return 0;
+}
+
 struct lttng_action *lttng_action_notify_create(void)
 {
        struct lttng_action_notify *notify;
@@ -36,6 +42,7 @@ struct lttng_action *lttng_action_notify_create(void)
        }
 
        notify->parent.type = LTTNG_ACTION_TYPE_NOTIFY;
+       notify->parent.serialize = lttng_action_notify_serialize;
        notify->parent.destroy = lttng_action_notify_destroy;
 end:
        return &notify->parent;
This page took 0.024152 seconds and 5 git commands to generate.