lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 73878c1 was 0c4f46a, checked in by Tim Post <echo@…>, 17 years ago |
|
Let 'cd' invoke cli_set_prompt(), no need to do it in every iteration of the main loop.
|
-
Property mode
set to
100644
|
|
File size:
190 bytes
|
| Line | |
|---|
| 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 | int lasterr;
|
|---|
| 14 | } cliuser_t;
|
|---|
| 15 |
|
|---|
| 16 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.