]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: add comments what closely related ConfigEntry fields are about
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Nov 2021 22:47:45 +0000 (23:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 16:21:37 +0000 (17:21 +0100)
src/boot/efi/boot.c

index 5992a28cdd0bc4ea629b815956b1dcf0be8b3a43..9dd14bd7b33a0285508642502d63621a2e1a2dd2 100644 (file)
@@ -44,10 +44,10 @@ enum loader_type {
 };
 
 typedef struct {
-        CHAR16 *id; /* The unique identifier for this entry */
-        CHAR16 *title_show;
-        CHAR16 *title;
-        CHAR16 *version;
+        CHAR16 *id;         /* The unique identifier for this entry (typically the filename of the file defining the entry) */
+        CHAR16 *title_show; /* The string to actually display (this is made unique before showing) */
+        CHAR16 *title;      /* The raw (human readable) title string of the entry (not necessarily unique) */
+        CHAR16 *version;    /* The raw (human readable) version string of the entry */
         CHAR16 *machine_id;
         EFI_HANDLE *device;
         enum loader_type type;