]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/pipeline/pipeline_common_fe.h
examples/ip_pipeline: rework common CLI
[dpdk.git] / examples / ip_pipeline / pipeline / pipeline_common_fe.h
index cfad963d8e0d771ab8d23f0508d65586939f84d8..f93ff74ab02a4df00f76e228dad7dab031079dd7 100644 (file)
@@ -231,4 +231,13 @@ app_link_down(struct app_params *app,
 int
 app_pipeline_common_cmd_push(struct app_params *app);
 
+#define CMD_MSG_OUT_OF_MEMORY  "Not enough memory\n"
+#define CMD_MSG_NOT_ENOUGH_ARGS        "Not enough arguments for command \"%s\"\n"
+#define CMD_MSG_TOO_MANY_ARGS  "Too many arguments for command \"%s\"\n"
+#define CMD_MSG_MISMATCH_ARGS  "Incorrect set of arguments for command \"%s\"\n"
+#define CMD_MSG_INVALID_ARG    "Invalid value for argument \"%s\"\n"
+#define CMD_MSG_ARG_NOT_FOUND  "Syntax error: \"%s\" not found\n"
+#define CMD_MSG_FILE_ERR       "Error in file \"%s\" at line %u\n"
+#define CMD_MSG_FAIL           "Command \"%s\" failed\n"
+
 #endif