Bugfix: memory and thread-deleting problems
[monky] / src / fs.h
index f1690ab..097086a 100644 (file)
--- a/src/fs.h
+++ b/src/fs.h
@@ -1,3 +1,5 @@
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
+
 #ifndef _FS_H
 #define _FS_H
 
@@ -13,7 +15,20 @@ struct fs_stat {
        char set;
 };
 
-void update_fs_stats(void);
+/* forward declare to make gcc happy (fs.h <-> text_object.h include) */
+struct text_object;
+
+void init_fs_bar(struct text_object *, const char *);
+void print_fs_bar(struct text_object *, int, char *, int);
+
+void init_fs(struct text_object *, const char *);
+void print_fs_perc(struct text_object *, int, char *, int);
+void print_fs_free(struct text_object *, char *, int);
+void print_fs_size(struct text_object *, char *, int);
+void print_fs_used(struct text_object *, char *, int);
+void print_fs_type(struct text_object *, char *, int);
+
+int update_fs_stats(void);
 struct fs_stat *prepare_fs_stat(const char *path);
 void clear_fs_stats(void);