]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Include/Library/ShellCommandLib.h
This refactors 3 functions out of ShellCommandLib and puts them into a new library...
[mirror_edk2.git] / ShellPkg / Include / Library / ShellCommandLib.h
index 027c0caad50e1bd9d53c0fb2f7e22d701105e90d..e998ac51b9777fc705385645a8ddf7135aad360f 100644 (file)
@@ -572,20 +572,6 @@ ShellCommandCreateInitialMappingsAndPaths(
   VOID\r
   );\r
 \r
-/**\r
-  Function to standardize the directory indicators to \ characters.\r
-\r
-  @param[in,out] Path   The pointer to the path string to fix.\r
-\r
-  @retval NULL          The operation failed.\r
-  @return               The Path pointer.\r
-**/\r
-CHAR16*\r
-EFIAPI\r
-ShellCommandCleanPath (\r
-  IN OUT CHAR16 *Path\r
-  );\r
-\r
 /**\r
   Converts a SHELL_FILE_HANDLE to an EFI_FILE_PROTOCOL*.\r
 \r
@@ -734,35 +720,4 @@ FreeBufferList (
   IN BUFFER_LIST *List\r
   );\r
 \r
-/**\r
-  Chops off last directory or file entry in a path by changing the last '\' to a CHAR_NULL\r
-\r
-  @param[in,out] PathToReturn   The pointer to the path to modify.\r
-\r
-  @retval FALSE     No directory was found to chop off.\r
-  @retval TRUE      A directory was chopped off.\r
-**/\r
-BOOLEAN\r
-EFIAPI\r
-ChopLastSlash(\r
-  IN OUT CHAR16 *PathToReturn\r
-  );\r
-\r
-/**\r
-  Function to clean up paths.  Removes the following items:\r
-    single periods in the path (no need for the current directory tag)\r
-    double periods in the path and removes a single parent directory.\r
-\r
-  This will be done inline and the resultant string may be be 'too big'.\r
-\r
-  @param[in] PathToReturn  The pointer to the string containing the path.\r
-\r
-  @return PathToReturn is always returned.\r
-**/\r
-CHAR16*\r
-EFIAPI\r
-CleanPath(\r
-  IN CHAR16 *PathToReturn\r
-  );\r
-\r
 #endif //_SHELL_COMMAND_LIB_\r