Index: uspace/lib/ui/include/types/ui/filelist.h
===================================================================
--- uspace/lib/ui/include/types/ui/filelist.h	(revision 2e08f2b63f3a551e5e61408809d4fbb5c54d1220)
+++ uspace/lib/ui/include/types/ui/filelist.h	(revision a7a16a2fd2fee7aed47cced53b3602609b317c8c)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2022 Jiri Svoboda
+ * Copyright (c) 2025 Jiri Svoboda
  * All rights reserved.
  *
@@ -37,4 +37,8 @@
 #define _UI_TYPES_FILELIST_H
 
+#include <loc.h>
+#include <stdbool.h>
+#include <stdint.h>
+
 struct ui_file_list;
 typedef struct ui_file_list ui_file_list_t;
@@ -43,6 +47,15 @@
 typedef struct ui_file_list_entry ui_file_list_entry_t;
 
-struct ui_file_list_entry_attr;
-typedef struct ui_file_list_entry_attr ui_file_list_entry_attr_t;
+/** File list entry attributes */
+typedef struct ui_file_list_entry_attr {
+	/** File name */
+	const char *name;
+	/** File size */
+	uint64_t size;
+	/** @c true iff entry is a directory */
+	bool isdir;
+	/** Service number for service special entries */
+	service_id_t svc;
+} ui_file_list_entry_attr_t;
 
 /** File list callbacks */
Index: uspace/lib/ui/include/ui/filelist.h
===================================================================
--- uspace/lib/ui/include/ui/filelist.h	(revision 2e08f2b63f3a551e5e61408809d4fbb5c54d1220)
+++ uspace/lib/ui/include/ui/filelist.h	(revision a7a16a2fd2fee7aed47cced53b3602609b317c8c)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2023 Jiri Svoboda
+ * Copyright (c) 2025 Jiri Svoboda
  * All rights reserved.
  *
@@ -54,4 +54,6 @@
 extern errno_t ui_file_list_open(ui_file_list_t *, ui_file_list_entry_t *);
 extern ui_file_list_entry_t *ui_file_list_get_cursor(ui_file_list_t *);
+extern void ui_file_list_entry_get_attr(ui_file_list_entry_t *,
+    ui_file_list_entry_attr_t *);
 
 #endif
