diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-07 18:04:03 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-07 18:04:03 +0000 |
commit | 11d2decf8103dc94c131c7aedcd54408a3abad97 (patch) | |
tree | f6fb4f7f2ac3e0196fc5bb369269bff194303a74 /ShellPkg/Library/BaseSortLib | |
parent | 3a5ac5bff0a78b8dd88313bbd1b51965b9999887 (diff) | |
download | edk2-platforms-11d2decf8103dc94c131c7aedcd54408a3abad97.tar.xz |
Adding StringNoCaseCompare to SortLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9535 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/BaseSortLib')
-rw-r--r-- | ShellPkg/Library/BaseSortLib/BaseSortLib.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ShellPkg/Library/BaseSortLib/BaseSortLib.c b/ShellPkg/Library/BaseSortLib/BaseSortLib.c index 8ee9abb3d3..91b2a17e7a 100644 --- a/ShellPkg/Library/BaseSortLib/BaseSortLib.c +++ b/ShellPkg/Library/BaseSortLib/BaseSortLib.c @@ -185,3 +185,26 @@ DevicePathCompare ( ASSERT(FALSE);
return 0;
}
+
+/**
+ Function to compare 2 strings without regard to case of the characters.
+
+ @param[in] Buffer1 Pointer to String to compare.
+ @param[in] Buffer2 Pointer to second String to compare.
+
+ @retval 0 Buffer1 equal to Buffer2.
+ @return < 0 Buffer1 is less than Buffer2.
+ @return > 0 Buffer1 is greater than Buffer2.
+**/
+INTN
+EFIAPI
+StringNoCaseCompare (
+ IN VOID *Buffer1,
+ IN VOID *Buffer2
+ )
+{
+ ASSERT(FALSE);
+ return 0;
+}
+
+
|