1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation.
3 * Copyright (c) 2009, Olivier MATZ <zer0@droids-corp.org>
7 #ifndef _CMDLINE_SOCKET_H_
8 #define _CMDLINE_SOCKET_H_
10 #include <cmdline_parse.h>
17 struct cmdline *cmdline_file_new(cmdline_parse_ctx_t *ctx, const char *prompt, const char *path);
18 struct cmdline *cmdline_stdin_new(cmdline_parse_ctx_t *ctx, const char *prompt);
19 void cmdline_stdin_exit(struct cmdline *cl);
25 #endif /* _CMDLINE_SOCKET_H_ */