lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 69145dae was e2ea8d7e, checked in by Tim Post <echo@…>, 17 years ago |
|
Housekeeping list, complete lingering things before they get forgotten:
- cli_*() now sets a global cli_errno, error functions cleaned up
- Finish internal cli_*() functions in util.c
- Don't expose cli_init() or cli_finit()
- Get rid of unused globals
- Don't set globals in commands themselves
- Update README files
- Fix stale comments
|
-
Property mode
set to
100644
|
|
File size:
248 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 | uint64_t lasterr;
|
|---|
| 14 | } cliuser_t;
|
|---|
| 15 |
|
|---|
| 16 | extern unsigned int cli_set_prompt(cliuser_t *usr);
|
|---|
| 17 |
|
|---|
| 18 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.