chiark / gitweb /
boot: efi - add config option to disable the command line editor
[elogind.git] / src / boot / efi / util.h
index efaafd74928803f18f7a4e07b8c624b04ef0e3b1..4727a34d1fd922832ccb70f6c0e40facc478468e 100644 (file)
 
 #define ELEMENTSOF(x) (sizeof(x)/sizeof((x)[0]))
 
+static inline const CHAR16 *yes_no(BOOLEAN b) {
+        return b ? L"yes" : L"no";
+}
+
+EFI_STATUS parse_boolean(CHAR8 *v, BOOLEAN *b);
+
 UINT64 ticks_read(void);
 UINT64 ticks_freq(void);
 UINT64 time_usec(void);