diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-02-02 19:08:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-02-02 19:08:06 +0000 |
commit | c53f12b1de543dc1fe9c6adf62655068c37e405d (patch) | |
tree | ea0f045c271bf166823c738e7a023da51875b154 /shell/commands.ads | |
parent | e5636e3951c806b378bdc56dd731ffad7cea28d3 (diff) |
2011-02-02 Joel Sherrill <joel.sherrill@gmail.com>
* commands.adb, commands.ads, rtems_shell.ads, shell.adb: Add getopt_r
Package and example command.
* command_line_arguments.adb, command_line_arguments.ads, getopt_r.adb,
getopt_r.ads: New files.
Diffstat (limited to 'shell/commands.ads')
-rw-r--r-- | shell/commands.ads | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/shell/commands.ads b/shell/commands.ads index ce47730..de023c7 100644 --- a/shell/commands.ads +++ b/shell/commands.ads @@ -2,9 +2,10 @@ -- $Id$ -- -with Interfaces.C; use Interfaces.C; -with Interfaces.C.Strings; use Interfaces.C.Strings; -with RTEMS_Shell; use RTEMS_Shell; +with RTEMS_Shell; use RTEMS_Shell; +with Command_Line_Arguments; use Command_Line_Arguments; +with Interfaces.C; use Interfaces.C; +with Interfaces.C.Strings; use Interfaces.C.Strings; package Commands is @@ -18,4 +19,10 @@ package Commands is return int; pragma Convention (C, Command_Test_Arguments); + function Command_Getopt_R + (ArgC : Argument_Count_Type; + ArgV : Argument_Vector_Type) + return int; + pragma Convention (C, Command_Getopt_R); + end Commands; |