doc: remove Linux headers from requirements
[dpdk.git] / lib / librte_cmdline / cmdline_private.h
index 4d9ea33..a8a6ee9 100644 (file)
@@ -8,9 +8,32 @@
 #include <stdarg.h>
 
 #include <rte_common.h>
+#ifdef RTE_EXEC_ENV_WINDOWS
+#include <rte_windows.h>
+#endif
 
 #include <cmdline.h>
 
+#ifdef RTE_EXEC_ENV_WINDOWS
+struct terminal {
+       DWORD input_mode;
+       DWORD output_mode;
+       int is_console_input;
+       int is_console_output;
+};
+
+struct cmdline {
+       int s_in;
+       int s_out;
+       cmdline_parse_ctx_t *ctx;
+       struct rdline rdl;
+       char prompt[RDLINE_PROMPT_SIZE];
+       struct terminal oldterm;
+       char repeated_char;
+       WORD repeat_count;
+};
+#endif
+
 /* Disable buffering and echoing, save previous settings to oldterm. */
 void terminal_adjust(struct cmdline *cl);