Rev 3342 | Rev 3366 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 3265 | post | 1 | #ifndef SCLI_H |
| 2 | #define SCLI_H |
||
| 3 | |||
| 4 | #include "config.h" |
||
| 5 | #include <stdint.h> |
||
| 6 | |||
| 7 | typedef struct { |
||
| 8 | char *name; |
||
| 9 | char *home; |
||
| 10 | char *line; |
||
| 11 | char *cwd; |
||
| 12 | char *prompt; |
||
| 13 | uint64_t lasterr; |
||
| 14 | } cliuser_t; |
||
| 15 | |||
| 3342 | post | 16 | extern unsigned int cli_set_prompt(cliuser_t *usr); |
| 3265 | post | 17 | extern int cli_init(cliuser_t *usr); |
| 18 | extern void cli_finit(cliuser_t *usr); |
||
| 19 | |||
| 20 | #endif |