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

Minimal command line editing. More...

#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "edit.h"

Macros

#define CMD_BUF_LEN   4096
 

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

Minimal command line editing.