GNU PROLOG with UTF8 support
Macros | Enumerations | Functions | Variables
linedit.h File Reference
#include "../EnginePl/pl_wchar.h"
Include dependency graph for linedit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_CONVERT_OEM_ASCII
 
#define LE_Interrupted_By_Ctrl_C(r)   ((PlLong) r == (PlLong) -2)
 

Enumerations

enum  { LE_MODE_DEACTIVATED = 0, LE_MODE_TTY, LE_MODE_HOOK }
 

Functions

int Pl_LE_Initialize (void)
 
char * Pl_LE_Gets (char *str)
 
char * Pl_LE_FGets (char *str, int size, char *prompt, int display_prompt)
 
PlLong Pl_LE_Get_Ctrl_C_Return_Value (void)
 
int Pl_LE_Get_Prompt_Length (void)
 
int Pl_LE_Get_Current_Position (void)
 
void Pl_LE_Get_Current_Word (char *word)
 
char * Pl_LE_Get_Separators (void)
 
char * Pl_LE_Set_Separators (char *sep_str)
 
char * Pl_LE_Compl_Add_Word (char *word, int word_length)
 
char * Pl_LE_Compl_Del_Word (char *word)
 
char * Pl_LE_Compl_Init_Match (char *prefix, int *nb_match, int *max_lg)
 
char * Pl_LE_Compl_Find_Match (int *is_last)
 
CHAR32_T Pl_LE_Get_Key (int echo, int catch_ctrl_c)
 
int Pl_LE_Printf (char *format,...)
 

Variables

void(* pl_le_hook_start )()
 
void(* pl_le_hook_put_char )()
 
int(* pl_le_hook_get_char0 )()
 
void(* pl_le_hook_emit_beep )()
 
void(* pl_le_hook_ins_mode )()
 
void(* pl_le_hook_screen_size )()
 
int(* pl_le_hook_kbd_is_not_empty )()
 
void(* pl_le_hook_backd )()
 
void(* pl_le_hook_forwd )()
 
void(* pl_le_hook_displ )()
 
void(* pl_le_hook_displ_str )()
 
void(* pl_le_hook_erase )()
 
void(* pl_le_hook_set_line_buffering )()
 
int(* pl_le_hook_get_line_buffering )()
 
void(* pl_le_hook_flush )()
 
int(* pl_le_hook_confirm_box )()
 
void(* pl_le_hook_message_box )()
 
void(* pl_le_hook_exit_process )()
 
int(* pl_le_initialize )()
 

Macro Definition Documentation

#define LE_Interrupted_By_Ctrl_C (   r)    ((PlLong) r == (PlLong) -2)
#define WIN32_CONVERT_OEM_ASCII

Enumeration Type Documentation

anonymous enum
Enumerator
LE_MODE_DEACTIVATED 
LE_MODE_TTY 
LE_MODE_HOOK 

Function Documentation

char* Pl_LE_Compl_Add_Word ( char *  word,
int  word_length 
)

Here is the caller graph for this function:

char* Pl_LE_Compl_Del_Word ( char *  word)
char* Pl_LE_Compl_Find_Match ( int *  is_last)

Here is the caller graph for this function:

char* Pl_LE_Compl_Init_Match ( char *  prefix,
int *  nb_match,
int *  max_lg 
)

Here is the call graph for this function:

Here is the caller graph for this function:

char* Pl_LE_FGets ( char *  str,
int  size,
char *  prompt,
int  display_prompt 
)

Here is the call graph for this function:

Here is the caller graph for this function:

PlLong Pl_LE_Get_Ctrl_C_Return_Value ( void  )

Here is the caller graph for this function:

int Pl_LE_Get_Current_Position ( void  )

Here is the caller graph for this function:

void Pl_LE_Get_Current_Word ( char *  word)

Here is the call graph for this function:

Here is the caller graph for this function:

CHAR32_T Pl_LE_Get_Key ( int  echo,
int  catch_ctrl_c 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_LE_Get_Prompt_Length ( void  )
char* Pl_LE_Get_Separators ( void  )
char* Pl_LE_Gets ( char *  str)

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_LE_Initialize ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_LE_Printf ( char *  format,
  ... 
)

Here is the call graph for this function:

char* Pl_LE_Set_Separators ( char *  sep_str)

Variable Documentation

void(* pl_le_hook_backd) ()
int(* pl_le_hook_confirm_box) ()
void(* pl_le_hook_displ) ()
void(* pl_le_hook_displ_str) ()
void(* pl_le_hook_emit_beep) ()
void(* pl_le_hook_erase) ()
void(* pl_le_hook_exit_process) ()
void(* pl_le_hook_flush) ()
void(* pl_le_hook_forwd) ()
int(* pl_le_hook_get_char0) ()
int(* pl_le_hook_get_line_buffering) ()
void(* pl_le_hook_ins_mode) ()
int(* pl_le_hook_kbd_is_not_empty) ()
void(* pl_le_hook_message_box) ()
void(* pl_le_hook_put_char) ()
void(* pl_le_hook_screen_size) ()
void(* pl_le_hook_set_line_buffering) ()
void(* pl_le_hook_start) ()
int(* pl_le_initialize) ()