Internal Interface: program data structures and functions. More...


Go to the source code of this file.
Classes | |
| struct | program_t |
| The program control structure. More... | |
Macros | |
| #define | PROG_MAX 8 |
| maximum number of programs More... | |
Enumerations | |
| enum | packet_cmd_t { CMDacknowledge, CMDdelete, CMDcreate, CMDoffsets, CMDdata, CMDrun, CMDirmode, CMDsethost, CMDlast } |
Functions | |
| void | program_stop (int flag) |
| stop program More... | |
| int | program_valid (unsigned nr) |
| check if a given program is valid. More... | |
| void | program_init () |
| initialize program support More... | |
| void | program_shutdown () |
| shutdown program support More... | |
Variables | |
| volatile unsigned | cprog |
| the current program More... | |
Internal Interface: program data structures and functions.
Definition in file program.h.
| enum packet_cmd_t |
| void program_init | ( | ) |
initialize program support
Referenced by kmain().
| void program_shutdown | ( | ) |
shutdown program support
Referenced by kmain().
| void program_stop | ( | int | flag | ) |
stop program
| int program_valid | ( | unsigned | nr | ) |
check if a given program is valid.
| volatile unsigned cprog |
the current program
|
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |
1.8.9.1