AcessNative - Debugging and implementing, getting there now
[tpg/acess2.git] / Usermode / include / readline.h
1 /*
2  * Acess2 Library Suite
3  * - Readline
4  * 
5  * Text mode entry with history
6  */
7 #ifndef _READLINE_H_
8 #define _READLINE_H_
9
10 // === TYPES ===
11 typedef struct sReadline        tReadline;
12
13 // === STRUCTURES ===
14
15 // === FUNCTIONS ===
16 /**
17  * 
18  */
19 extern tReadline        *Readline_Init(int UseHistory);
20
21 /**
22  * \brief Read a line from stdin
23  * \return Heap string containing the command string (to be free'd by the caller)
24  */
25 extern char     *Readline(tReadline *Info);
26
27 /**
28  * \brief Read a line from stdin (non-blocking)
29  * \return Heap string containing the command string (to be free'd by the caller)
30  */
31 extern char     *Readline_NonBlock(tReadline *Info);
32
33 #endif

UCC git Repository :: git.ucc.asn.au