aboutsummaryrefslogtreecommitdiffstats
path: root/dwmstatus.h
blob: 23a29513819f26c58043debd29633668052e9774 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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