diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-07-06 08:08:48 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-07-06 08:08:48 +0200 |
commit | 51ff7ce2b99147a1a77ed243093865fc884e571a (patch) | |
tree | 5d5bb891f9143825b0f081cde6d2c27a9e49d80e /slstatus.h | |
parent | efa26f4f3548bce8086abcd8de7ca135169e6f37 (diff) |
Consistent paramter naming for components
Diffstat (limited to 'slstatus.h')
-rw-r--r-- | slstatus.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -13,10 +13,10 @@ const char *cpu_perc(void); const char *datetime(const char *fmt); /* disk */ -const char *disk_free(const char *mnt); -const char *disk_perc(const char *mnt); -const char *disk_total(const char *mnt); -const char *disk_used(const char *mnt); +const char *disk_free(const char *path); +const char *disk_perc(const char *path); +const char *disk_total(const char *path); +const char *disk_used(const char *path); /* entropy */ const char *entropy(void); @@ -25,8 +25,8 @@ const char *entropy(void); const char *hostname(void); /* ip */ -const char *ipv4(const char *iface); -const char *ipv6(const char *iface); +const char *ipv4(const char *interface); +const char *ipv6(const char *interface); /* kernel_release */ const char *kernel_release(void); @@ -45,7 +45,7 @@ const char *netspeed_rx(const char *interface); const char *netspeed_tx(const char *interface); /* num_files */ -const char *num_files(const char *dir); +const char *num_files(const char *path); /* ram */ const char *ram_free(void); @@ -77,5 +77,5 @@ const char *uid(void); const char *vol_perc(const char *card); /* wifi */ -const char *wifi_perc(const char *iface); -const char *wifi_essid(const char *iface); +const char *wifi_perc(const char *interface); +const char *wifi_essid(const char *interface); |