diff options
Diffstat (limited to 'dwmstatus.h')
-rw-r--r-- | dwmstatus.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dwmstatus.h b/dwmstatus.h new file mode 100644 index 0000000..23a2951 --- /dev/null +++ b/dwmstatus.h @@ -0,0 +1,36 @@ +#ifndef __DWMSTATUS_H +#define __DWMSTATUS_H + +#include "kconfig.h" +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <stdint.h> +#include <time.h> +#include <errno.h> + +#ifdef CONFIG_STATUS_UTF8 +#include <locale.h> +#include <wchar.h> +#endif + +#ifdef CONFIG_DEBUG_MODE +#include <assert.h> +#define ASSERT assert +#else +#define ASSERT(X) +#endif + +typedef struct bbuf +{ + int size; + char *str; +} bbuf; + +int print_date( bbuf* ); +int print_time( bbuf* ); +int print_temp( bbuf* ); +int print_batt( bbuf* ); +int print_cpu( bbuf* ); + +#endif |