Add CMD_WARNING error code
[lttng-tools.git] / src / bin / lttng / command.h
index d7670f26df1c296b34e14e71748ad77a012c4646..dcad0a1383524eb5f6a856547d8d88a16f1eb872 100644 (file)
@@ -20,8 +20,8 @@
 #define _LTTNG_CMD_H
 
 #include <lttng/lttng.h>
-#include <common/lttngerr.h>
-#include <common/lttng-share.h>
+#include <common/common.h>
+#include <common/defaults.h>
 
 #include "conf.h"
 #include "utils.h"
@@ -30,8 +30,8 @@ enum cmd_error_code {
        CMD_SUCCESS,
        CMD_ERROR,
        CMD_UNDEFINED,
-       CMD_NOT_IMPLEMENTED,
        CMD_FATAL,
+       CMD_WARNING,
 };
 
 struct cmd_struct {
This page took 0.0249 seconds and 5 git commands to generate.