11 #include <rte_compat.h> 13 #include <cmdline_rdline.h> 14 #include <cmdline_parse.h> 34 struct cmdline *cmdline_new(cmdline_parse_ctx_t *ctx,
const char *prompt,
int s_in,
int s_out);
35 void cmdline_set_prompt(
struct cmdline *cl,
const char *prompt);
36 void cmdline_free(
struct cmdline *cl);
37 void cmdline_printf(
const struct cmdline *cl,
const char *fmt, ...)
39 int cmdline_in(struct cmdline *cl, const
char *buf,
int size);
40 int cmdline_write_char(struct rdline *rdl,
char c);
44 cmdline_get_rdline(struct cmdline *cl);
60 void cmdline_interact(struct cmdline *cl);
61 void cmdline_quit(struct cmdline *cl);
int cmdline_poll(struct cmdline *cl)
#define __rte_format_printf(format_index, first_arg)