ada-examples-4-10-branch
Last change
on this file since 92f495a was
f421fee,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/15/09 at 21:11:42
|
2009-09-15 Joel Sherrill <joel.sherrill@…>
- .cvsignore, ChangeLog?, Makefile, README, commands.adb, commands.ads,
config.h, main.adb, rtems_shell.ads, shell_init.c: New files.
|
-
Property mode set to
100644
|
File size:
477 bytes
|
Line | |
---|
1 | -- |
---|
2 | -- $Id$ |
---|
3 | -- |
---|
4 | |
---|
5 | with Interfaces.C; use Interfaces.C; |
---|
6 | with Interfaces.C.Strings; use Interfaces.C.Strings; |
---|
7 | with RTEMS_Shell; use RTEMS_Shell; |
---|
8 | |
---|
9 | package Commands is |
---|
10 | |
---|
11 | function Prompt return String; |
---|
12 | function C_Prompt return chars_ptr; |
---|
13 | pragma Convention (C, C_Prompt); |
---|
14 | |
---|
15 | function Command_Test_Arguments |
---|
16 | (ArgC : Argument_Count_Type; |
---|
17 | ArgV : Argument_Vector_Type) |
---|
18 | return int; |
---|
19 | pragma Convention (C, Command_Test_Arguments); |
---|
20 | |
---|
21 | end Commands; |
---|
Note: See
TracBrowser
for help on using the repository browser.