]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/Shell.h
ShellPkg: add API for determining operation type
[mirror_edk2.git] / ShellPkg / Application / Shell / Shell.h
index 2ed05b8a1c566f23a9793dc9071259c5d2562ac1..4943fd19cbcb2b90fea35feb028cf2f60702ed33 100644 (file)
@@ -124,6 +124,14 @@ typedef struct {
 \r
 extern SHELL_INFO ShellInfoObject;\r
 \r
+typedef enum {\r
+  INTERNAL_COMMAND,\r
+  SCRIPT_FILE_NAME,\r
+  EFI_APPLICATION,\r
+  FILE_SYS_CHANGE,\r
+  UNKNOWN_INVALID\r
+} SHELL_OPERATION_TYPES;\r
+\r
 /**\r
   Sets all the alias' that were registered with the ShellCommandLib library.\r
 \r