Rev 3372 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3372 | Rev 3377 | ||
---|---|---|---|
1 | #ifndef SCLI_H |
1 | #ifndef SCLI_H |
2 | #define SCLI_H |
2 | #define SCLI_H |
3 | 3 | ||
4 | #include "config.h" |
4 | #include "config.h" |
5 | #include <stdint.h> |
5 | #include <stdint.h> |
6 | 6 | ||
7 | typedef struct { |
7 | typedef struct { |
8 | char *name; |
8 | char *name; |
9 | char *home; |
9 | char *home; |
10 | char *line; |
10 | char *line; |
11 | char *cwd; |
11 | char *cwd; |
12 | char *prompt; |
12 | char *prompt; |
13 | int lasterr; |
13 | int lasterr; |
14 | } cliuser_t; |
14 | } cliuser_t; |
15 | 15 | ||
16 | extern unsigned int cli_set_prompt(cliuser_t *usr); |
- | |
17 | - | ||
18 | #endif |
16 | #endif |
19 | 17 |