mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 17:28:29 -05:00
2d2398a11f
Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
22 lines
612 B
C
22 lines
612 B
C
/*
|
|
* Command line editing and history
|
|
* Copyright (c) 2010, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef EDIT_H
|
|
#define EDIT_H
|
|
|
|
int edit_init(void (*cmd_cb)(void *ctx, char *cmd),
|
|
void (*eof_cb)(void *ctx),
|
|
char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
|
|
void *ctx, const char *history_file, const char *ps);
|
|
void edit_deinit(const char *history_file,
|
|
int (*filter_cb)(void *ctx, const char *cmd));
|
|
void edit_clear_line(void);
|
|
void edit_redraw(void);
|
|
|
|
#endif /* EDIT_H */
|