summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2016-03-30 08:53:55 +0200
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-03-30 08:53:55 +0200
commitc094f47b457104c267dd55782efc34c47f05cf9d (patch)
tree2c566d2ee99597f73a2cf6bb49a0e2669ae84b38 /include/i3status.h
parentdbc59d7376dd1c49b4948d17209910fad01b3560 (diff)
parentd59589bf9ea9b1c0f760077af0e849f6c369b446 (diff)
Merge pull request #117 from egroat/master
Added status_unk to battery_info
Diffstat (limited to 'include/i3status.h')
-rw-r--r--include/i3status.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h
index d6679ae..7e756e2 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -170,6 +170,7 @@ char *pct_mark;
typedef enum { CS_DISCHARGING,
CS_CHARGING,
+ CS_UNKNOWN,
CS_FULL } charging_status_t;
/*
@@ -207,7 +208,7 @@ const char *first_eth_interface(const net_type_t type);
void print_ipv6_info(yajl_gen json_gen, char *buffer, const char *format_up, const char *format_down);
void print_disk_info(yajl_gen json_gen, char *buffer, const char *path, const char *format, const char *format_not_mounted, const char *prefix_type, const char *threshold_type, const double low_threshold);
-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_full, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity, bool hide_seconds);
+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 *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);