]> git.ipfire.org Git - thirdparty/hostap.git/blame - src/utils/edit.h
tests: HE AP parameters
[thirdparty/hostap.git] / src / utils / edit.h
CommitLineData
82a855bd
JM
1/*
2 * Command line editing and history
3 * Copyright (c) 2010, Jouni Malinen <j@w1.fi>
4 *
0f3d578e
JM
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
82a855bd
JM
7 */
8
9#ifndef EDIT_H
10#define EDIT_H
11
12int edit_init(void (*cmd_cb)(void *ctx, char *cmd),
13 void (*eof_cb)(void *ctx),
8953e968 14 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
2d2398a1 15 void *ctx, const char *history_file, const char *ps);
8953e968
JM
16void edit_deinit(const char *history_file,
17 int (*filter_cb)(void *ctx, const char *cmd));
82a855bd
JM
18void edit_clear_line(void);
19void edit_redraw(void);
20
21#endif /* EDIT_H */