1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation.
3 * Copyright (c) 2009, Olivier MATZ <zer0@droids-corp.org>
11 #include <sys/queue.h>
13 #include <cmdline_rdline.h>
14 #include <cmdline_parse.h>
15 #include <cmdline_socket.h>
18 #include <rte_memory.h>
20 #include <rte_debug.h>
24 int main(int argc, char **argv)
29 ret = rte_eal_init(argc, argv);
31 rte_panic("Cannot init EAL\n");
33 cl = cmdline_stdin_new(main_ctx, "example> ");
35 rte_panic("Cannot create cmdline instance\n");
37 cmdline_stdin_exit(cl);