mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-20 03:51:18 +00:00
9a85812e06
Some statics are now defined by configure.ac.in, conky.h got a lot smaller, which I see as a positive sign. This patch should not change any functionality, just change what's defined where. Some features I did/could not test are probably broken, also compiling for any other OS surely won't complete now. Though I think fixing these problems is as easy as including some missing headers. I've done compile checks with the following configure options: ./configure --enable-eve --enable-rss --enable-smapi --enable-wlan --enable-debug --enable-testing So what needs to be tested is: - audacious - BMPx - xmms2 - nvidia
21 lines
396 B
C
21 lines
396 B
C
#ifndef _FS_H
|
|
#define _FS_H
|
|
|
|
#include "conky.h" /* DEFAULT_TEXT_BUFFER_SIZE */
|
|
|
|
/* needed here and by fs.c */
|
|
struct fs_stat {
|
|
char path[DEFAULT_TEXT_BUFFER_SIZE];
|
|
char type[DEFAULT_TEXT_BUFFER_SIZE];
|
|
long long size;
|
|
long long avail;
|
|
long long free;
|
|
char set;
|
|
};
|
|
|
|
void update_fs_stats(void);
|
|
struct fs_stat *prepare_fs_stat(const char *path);
|
|
void clear_fs_stats(void);
|
|
|
|
#endif /* _FS_H */
|