Standardize battery.c
[dwm-status.git] / buffers.h
blob677bf228b29533e158149904f30a5fb1cb74f0c9
1 /*-
2 * "THE BEER-WARE LICENSE" (Revision 42):
3 * <tobias.rehbein@web.de> wrote this file. As long as you retain this notice
4 * you can do whatever you want with this stuff. If we meet some day, and you
5 * think this stuff is worth it, you can buy me a beer in return.
6 * Tobias Rehbein
7 */
9 enum {
10 BATTERY_BUFFLEN = 9,
11 CLOCK_BUFFLEN = 24,
12 LOAD_BUFFLEN = 18,
13 MPD_BUFFLEN = 64,
16 * Sum of all buffer sizes, minus string terminators, plus space for
17 * separators, plus final string terminator
19 STATUS_BUFFLEN = BATTERY_BUFFLEN + CLOCK_BUFFLEN + LOAD_BUFFLEN + MPD_BUFFLEN - (4 * 1) + (3 * 3) + 1,