2013-09-29 00:21:18 +04:00
|
|
|
/* include/comd.h
|
|
|
|
**
|
|
|
|
** This file is in the public domain.
|
|
|
|
*/
|
|
|
|
/** Functions.
|
|
|
|
**/
|
2014-03-14 21:47:17 +04:00
|
|
|
/* c3_comd_init():
|
2013-09-29 00:21:18 +04:00
|
|
|
**
|
|
|
|
** Initialize the readline console. Return the history filename.
|
|
|
|
*/
|
|
|
|
c3_c* // produce
|
|
|
|
c3_comd_init(void);
|
|
|
|
|
|
|
|
/* c3_comd_line():
|
|
|
|
**
|
|
|
|
** Read a line from the console, saving to history file `fel`.
|
|
|
|
**
|
|
|
|
** Returns 0 iff the console has exited.
|
|
|
|
*/
|
|
|
|
c3_c* // produce
|
2014-03-14 21:47:17 +04:00
|
|
|
c3_comd_line(const c3_c *fel_c,
|
2013-09-29 00:21:18 +04:00
|
|
|
const c3_c *prm_c); // retain
|