CloverBootloader/rEFIt_UEFI/entry_scan/common.h

51 lines
817 B
C
Raw Normal View History

2020-04-05 14:25:39 +02:00
/*
* common.h
*
* Created on: 5 Apr 2020
* Author: jief
*/
#ifndef ENTRY_SCAN_COMMON_H_
#define ENTRY_SCAN_COMMON_H_
#include "../cpp_foundation/XString.h"
2020-04-26 15:07:30 +02:00
//XString AddLoadOption(IN const XString& LoadOptions, IN const XString& LoadOption);
//XString RemoveLoadOption(IN const XString& LoadOptions, IN const XString& LoadOption);
2020-04-05 14:25:39 +02:00
INTN
StrniCmp (
IN CONST CHAR16 *Str1,
IN CONST CHAR16 *Str2,
IN UINTN Count
);
CONST CHAR16
*StriStr(
IN CONST CHAR16 *Str,
IN CONST CHAR16 *SearchFor
);
2020-10-03 19:02:31 +02:00
void
StrToLower (
IN CHAR16 *Str
);
2020-10-03 19:02:31 +02:00
void
AlertMessage (
IN CONST CHAR16 *Title,
IN CONST CHAR16 *Message
);
BOOLEAN
YesNoMessage (
IN CONST CHAR16 *Title,
IN CONST CHAR16 *Message);
UINT64 TimeDiff(UINT64 t0, UINT64 t1); //double in Platform.h
2020-04-05 14:25:39 +02:00
#endif /* ENTRY_SCAN_COMMON_H_ */