From b50d5ab3f0373220beaabd50b37cd4372a75fc01 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 24 Jul 2016 15:41:00 -0300 Subject: Show bits of entropy available to /dev/(u)random --- includes/computer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'includes/computer.h') diff --git a/includes/computer.h b/includes/computer.h index 6b449b1a..ffdcb280 100644 --- a/includes/computer.h +++ b/includes/computer.h @@ -137,6 +137,8 @@ struct _OperatingSystem { gchar *username; gchar *boots; + + gchar *entropy_avail; }; struct _MemoryInfo { @@ -173,6 +175,7 @@ extern gchar *module_list; gchar *computer_get_formatted_loadavg(); gchar *computer_get_formatted_uptime(); gchar *computer_get_alsacards(Computer * computer); +gchar *computer_get_entropy_avail(); OperatingSystem *computer_get_os(void); AlsaInfo *computer_get_alsainfo(void); -- cgit v1.2.3