source: ada-examples/shell/commands.ads @ f421fee

ada-examples-4-10-branch
Last change on this file since f421fee was f421fee, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 15, 2009 at 9:11:42 PM

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
5with Interfaces.C;         use Interfaces.C;
6with Interfaces.C.Strings; use Interfaces.C.Strings;
7with RTEMS_Shell;          use RTEMS_Shell;
8
9package 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
21end Commands;
Note: See TracBrowser for help on using the repository browser.