git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AcessNative - Debugging and implementing, getting there now
[tpg/acess2.git]
/
Usermode
/
include
/
readline.h
diff --git
a/Usermode/include/readline.h
b/Usermode/include/readline.h
index
831bb53
..
555a24b
100644
(file)
--- a/
Usermode/include/readline.h
+++ b/
Usermode/include/readline.h
@@
-11,18
+11,23
@@
typedef struct sReadline tReadline;
// === STRUCTURES ===
typedef struct sReadline tReadline;
// === STRUCTURES ===
-struct sReadline
-{
- int UseHistory; // Boolean
-
- int NumHistory;
- char **History;
-};
// === FUNCTIONS ===
// === FUNCTIONS ===
+/**
+ *
+ */
+extern tReadline *Readline_Init(int UseHistory);
+
/**
* \brief Read a line from stdin
/**
* \brief Read a line from stdin
+ * \return Heap string containing the command string (to be free'd by the caller)
*/
extern char *Readline(tReadline *Info);
*/
extern char *Readline(tReadline *Info);
+/**
+ * \brief Read a line from stdin (non-blocking)
+ * \return Heap string containing the command string (to be free'd by the caller)
+ */
+extern char *Readline_NonBlock(tReadline *Info);
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au