ekg2
GIT master
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
readline
ui-readline.h
Idź do dokumentacji tego pliku.
1
#define MAX_LINES_PER_SCREEN 300
2
#define readline_current ((readline_window_t *) window_current->priv_data)
3
#define readline_window(w) ((readline_window_t *) w->priv_data)
4
5
extern
int
config_ctrld_quits
;
6
extern
int
config_print_line
;
7
8
typedef
struct
{
9
char
*
line
[
MAX_LINES_PER_SCREEN
];
10
}
readline_window_t
;
11
12
/* deklaracje funkcji interfejsu */
13
int
ui_readline_loop
(
void
);
14
void
ui_readline_init
();
15
void
ui_readline_print
(
window_t
*w,
int
separate,
const
char
*xline);
16
int
window_refresh
();
17
const
/*locale*/
char
*
current_prompt
();
18
void
set_prompt
(
const
char
*prompt);
19
int
window_write
(
int
id
,
const
char
*
line
);
20
21
gchar *
window_activity
(
void
);
22
int
bind_sequence
(
const
char
*
seq
,
const
char
*
command
,
int
quiet);
23
int
bind_handler_window
(
int
a,
int
key);
24
int
my_getc
(FILE *f);
25
int
my_loop
(
void
);
26
char
**
my_completion
(
char
*text,
int
start,
int
end);
27
char
*
empty_generator
(
char
*text,
int
state);
28
29
/* vars remove some !*/
30
extern
int
ui_need_refresh
;
/* DARK */
31
extern
int
ui_screen_width
;
32
extern
int
ui_screen_height
;
33
extern
int
pager_lines
,
screen_lines
,
screen_columns
;
34
Wygenerowano Wt, 29 paź 2013 20:17:04 dla ekg2 programem
1.8.4