xref: /dpdk/examples/pipeline/cli.h (revision 5074e1d551072105ff725d1d1add943d9ef276a9)
1*5074e1d5SCristian Dumitrescu /* SPDX-License-Identifier: BSD-3-Clause
2*5074e1d5SCristian Dumitrescu  * Copyright(c) 2020 Intel Corporation
3*5074e1d5SCristian Dumitrescu  */
4*5074e1d5SCristian Dumitrescu 
5*5074e1d5SCristian Dumitrescu #ifndef __INCLUDE_CLI_H__
6*5074e1d5SCristian Dumitrescu #define __INCLUDE_CLI_H__
7*5074e1d5SCristian Dumitrescu 
8*5074e1d5SCristian Dumitrescu #include <stddef.h>
9*5074e1d5SCristian Dumitrescu 
10*5074e1d5SCristian Dumitrescu void
11*5074e1d5SCristian Dumitrescu cli_process(char *in, char *out, size_t out_size, void *arg);
12*5074e1d5SCristian Dumitrescu 
13*5074e1d5SCristian Dumitrescu int
14*5074e1d5SCristian Dumitrescu cli_script_process(const char *file_name,
15*5074e1d5SCristian Dumitrescu 	size_t msg_in_len_max,
16*5074e1d5SCristian Dumitrescu 	size_t msg_out_len_max,
17*5074e1d5SCristian Dumitrescu 	void *arg);
18*5074e1d5SCristian Dumitrescu 
19*5074e1d5SCristian Dumitrescu #endif
20