[Sysfence-commit] sysfence getstats.h,1.4,1.5
Status: Alpha
Brought to you by:
emes
|
From: mkoperto <mko...@us...> - 2004-04-17 16:54:51
|
Update of /cvsroot/sysfence/sysfence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2322 Modified Files: getstats.h Log Message: + fetch_pathspace(...) function Index: getstats.h =================================================================== RCS file: /cvsroot/sysfence/sysfence/getstats.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- getstats.h 26 Feb 2004 20:11:09 -0000 1.4 +++ getstats.h 17 Apr 2004 16:54:35 -0000 1.5 @@ -41,12 +41,20 @@ } statval; +typedef struct { + char *path; + long int total, used, free; + +} pathspaceval; + statval stat [STA_LAST]; void fetch_la (); void fetch_mem (); void open_files (); +void fetch_pathspace(pathspaceval *pathspace); + char * fto_newline (char *b); char * fto_notspace (char *b); char * fto_space (char *b); |