1 /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
6 #include "conky.h" /* DEFAULT_TEXT_BUFFER_SIZE */
8 /* needed here and by fs.c */
10 char path[DEFAULT_TEXT_BUFFER_SIZE];
11 char type[DEFAULT_TEXT_BUFFER_SIZE];
18 /* forward declare to make gcc happy (fs.h <-> text_object.h include) */
21 void init_fs_bar(struct text_object *, const char *);
22 void print_fs_bar(struct text_object *, int, char *, int);
24 void init_fs(struct text_object *, const char *);
25 void print_fs_perc(struct text_object *, int, char *, int);
26 void print_fs_free(struct text_object *, char *, int);
27 void print_fs_size(struct text_object *, char *, int);
28 void print_fs_used(struct text_object *, char *, int);
29 void print_fs_type(struct text_object *, char *, int);
31 int update_fs_stats(void);
32 struct fs_stat *prepare_fs_stat(const char *path);
33 void clear_fs_stats(void);