#include "mp_commands.h"
void
cmd_send_parsed(void *parsed_result,
{
void *msg = NULL;
struct cmd_send_result *res = parsed_result;
strlcpy((char *)msg, res->message, STR_TOKEN_SIZE);
printf("Failed to send message - message discarded\n");
}
}
void
struct cmdline *cl,
{
quit = 1;
cmdline_quit(cl);
}
void
struct cmdline *cl,
{
cmdline_printf(cl, "Simple demo example of multi-process in RTE\n\n"
"This is a readline-like interface that can be used to\n"
"send commands to the simple app. Commands supported are:\n\n"
"- send [string]\n" "- help\n" "- quit\n\n");
}