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
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