here comes the big header include rewrite
[monky] / src / fs.h
index f786b74..f1690ab 100644 (file)
--- a/src/fs.h
+++ b/src/fs.h
@@ -1,8 +1,20 @@
-#ifndef FS_H_
-#define FS_H_
+#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_*/
+#endif /* _FS_H */