summaryrefslogtreecommitdiff
path: root/shell/commands.ads
blob: de023c768da877b366030ee76e76254a0875ff43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--
--  $Id$
--

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

   function Prompt return String;
   function C_Prompt return chars_ptr;
   pragma Convention (C, C_Prompt);

   function Command_Test_Arguments
     (ArgC : Argument_Count_Type;
      ArgV : Argument_Vector_Type)
      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;