X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fstatfs.h;h=7252e8f3a6be26f20b9f2a4241bb1091fa61a944;hb=12179dea039515c06168c0037d048566a3f623de;hp=8260d6cfd048767f8dbd86f3a9cb62d61a087879;hpb=94c03cae686e4196a345d72452fda2a5203768ce;p=debian%2Famanda diff --git a/common-src/statfs.h b/common-src/statfs.h index 8260d6c..7252e8f 100644 --- a/common-src/statfs.h +++ b/common-src/statfs.h @@ -24,20 +24,25 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: statfs.h,v 1.3 1998/07/04 00:18:58 oliva Exp $ + * $Id: statfs.h,v 1.4 2006/05/25 01:47:12 johnfranks Exp $ * * interface to statfs module */ +#ifndef STATFS_H +#define STATFS_H + #include "amanda.h" typedef struct generic_fs_stats { - long total; /* total KB in filesystem */ - long avail; /* KB available to non-superuser */ - long free; /* KB free for superuser */ + off_t total; /* total KB in filesystem */ + off_t avail; /* KB available to non-superuser */ + off_t free; /* KB free for superuser */ - long files; /* total # of files in filesystem */ - long favail; /* # files avail for non-superuser */ - long ffree; /* # files free for superuser */ + off_t files; /* total # of files in filesystem */ + off_t favail; /* # files avail for non-superuser */ + off_t ffree; /* # files free for superuser */ } generic_fs_stats_t; -int get_fs_stats P((char *dir, generic_fs_stats_t *sp)); +int get_fs_stats(char *dir, generic_fs_stats_t *sp); + +#endif /* !STATFS_H */