wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
edit_readline.c File Reference

Command line editing and history wrapper for readline. More...

#include "includes.h"
#include <readline/readline.h>
#include <readline/history.h>
#include "common.h"
#include "eloop.h"
#include "edit.h"

Functions

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)
 

Detailed Description

Command line editing and history wrapper for readline.