1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
10 #include <sys/queue.h>
12 #include <cmdline_rdline.h>
13 #include <cmdline_parse.h>
14 #include <cmdline_socket.h>
17 #include <rte_memory.h>
19 #include <rte_debug.h>
23 int main(int argc, char **argv)
28 ret = rte_eal_init(argc, argv);
30 rte_panic("Cannot init EAL\n");
32 cl = cmdline_stdin_new(main_ctx, "example> ");
34 rte_panic("Cannot create cmdline instance\n");
36 cmdline_stdin_exit(cl);