1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation.
3 * Copyright (c) 2009, Olivier MATZ <zer0@droids-corp.org>
12 #include <sys/queue.h>
14 #include <cmdline_rdline.h>
15 #include <cmdline_parse.h>
16 #include <cmdline_socket.h>
19 #include <rte_memory.h>
21 #include <rte_debug.h>
25 int main(int argc, char **argv)
30 ret = rte_eal_init(argc, argv);
32 rte_panic("Cannot init EAL\n");
34 cl = cmdline_stdin_new(main_ctx, "example> ");
36 rte_panic("Cannot create cmdline instance\n");
38 cmdline_stdin_exit(cl);