summaryrefslogtreecommitdiff
path: root/slstatus.h
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-07-06 08:08:48 +0200
committerAaron Marcher <me@drkhsh.at>2018-07-06 08:08:48 +0200
commit51ff7ce2b99147a1a77ed243093865fc884e571a (patch)
tree5d5bb891f9143825b0f081cde6d2c27a9e49d80e /slstatus.h
parentefa26f4f3548bce8086abcd8de7ca135169e6f37 (diff)
Consistent paramter naming for components
Diffstat (limited to 'slstatus.h')
-rw-r--r--slstatus.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/slstatus.h b/slstatus.h
index 342d191..08f610a 100644
--- a/slstatus.h
+++ b/slstatus.h
@@ -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);