1 /** @file
2   Provides application point extension for "C" style main function.
3 
4   Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
5   This program and the accompanying materials
6   are licensed and made available under the terms and conditions of the BSD License
7   which accompanies this distribution.  The full text of the license may be found at
8   http://opensource.org/licenses/bsd-license.php
9 
10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 
13 **/
14 
15 #ifndef _SHELL_C_ENTRY_LIB_
16 #define _SHELL_C_ENTRY_LIB_
17 
18 /**
19   UEFI application entry point which has an interface similar to a
20   standard C main function.
21 
22   The ShellCEntryLib library instance wrappers the actual UEFI application
23   entry point and calls this ShellAppMain function.
24 
25   @param[in]  Argc  The number of parameters.
26   @param[in]  Argv  The array of pointers to parameters.
27 
28   @retval  0               The application exited normally.
29   @retval  Other           An error occurred.
30 
31 **/
32 INTN
33 EFIAPI
34 ShellAppMain (
35   IN UINTN Argc,
36   IN CHAR16 **Argv
37   );
38 
39 #endif
40 
41