mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-24 05:16:51 +03:00
e792cffb8d
double underscore. Added #includes for dependent files. * popt.c: Likewise. * popthelp.c: Likewise. * tree.c: Moved a macro from tree.h to here, as it is useless outside tree.c.
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* mountlist.h -- declarations for list of mounted filesystems
|
|
Copyright (C) 1991, 1992 Free Software Foundation, Inc.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|
|
|
#ifndef MC_MOUNTLIST_H
|
|
#define MC_MOUNTLIST_H
|
|
|
|
/* Filesystem status */
|
|
struct my_statfs {
|
|
int type;
|
|
char *typename;
|
|
const char *mpoint;
|
|
const char *device;
|
|
int avail;
|
|
int total;
|
|
int nfree;
|
|
int nodes;
|
|
};
|
|
|
|
void init_my_statfs (void);
|
|
void my_statfs (struct my_statfs *myfs_stats, const char *path);
|
|
|
|
#endif
|