summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
authorEmeric Planet <emeric.planet@datadoghq.com>2017-12-11 11:38:31 +0100
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2017-12-11 11:38:31 +0100
commit53fb9b4f18cd9ee3a64be5084ccc76aeea279515 (patch)
tree7e87969fb73094b851f037c8fae3547ec579df46 /include/i3status.h
parentc3424e10bee91a4e0f21e7f0b72975e938e3f501 (diff)
Add IPv6 address when IPv4 isn't available (#247)
Diffstat (limited to 'include/i3status.h')
-rw-r--r--include/i3status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h
index 5042832..9ac471d 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -215,7 +215,7 @@ void print_disk_info(yajl_gen json_gen, char *buffer, const char *path, const ch
void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, const char *format_down, const char *status_chr, const char *status_bat, const char *status_unk, const char *status_full, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity, bool hide_seconds);
void print_time(yajl_gen json_gen, char *buffer, const char *title, const char *format, const char *tz, const char *locale, const char *format_time, time_t t);
void print_ddate(yajl_gen json_gen, char *buffer, const char *format, time_t t);
-const char *get_ip_addr(const char *interface);
+const char *get_ip_addr(const char *interface, int family);
void print_wireless_info(yajl_gen json_gen, char *buffer, const char *interface, const char *format_up, const char *format_down);
void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const char *pidfile, const char *format, const char *format_down);
void print_path_exists(yajl_gen json_gen, char *buffer, const char *title, const char *path, const char *format, const char *format_down);