File: readline.h

package info (click to toggle)
hexer 1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 864 kB
  • sloc: ansic: 11,408; python: 290; makefile: 120; sh: 8
file content (35 lines) | stat: -rw-r--r-- 732 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* readline.h
 */

/* SPDX-FileCopyrightText: 1995,1996 Sascha Demetrio
 * SPDX-FileCopyrightText: 2009, 2015, 2016 Peter Pentchev
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef _READLINE_H_
#define _READLINE_H_

extern char **(*completer)(const char *prefix, const char *command,
                               char *line, int context);

extern int rl_backspace_jump;
extern int rl_cancel_on_bs;
extern int rl_redisplay;
extern void (*rl_winch)(void);

char *
readline(const char *prompt, const char *default_val, int context);

int
keys_length(void);

#endif

/* end of readline.h */


/* VIM configuration: (do not delete this line)
 *
 * vim:bk:nodg:efm=%f\:%l\:%m:hid:icon:
 * vim:sw=2:sm:textwidth=79:ul=1024:wrap:
 */