r1601: Turned on more compiler warnings, and fixed some minor issues it threw up.
[rox-filer.git] / ROX-Filer / src / mount.h
blob7c69e8cebda3d2085c991a8ccd4a52f3515ac0d2
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
6 */
8 #ifndef _MOUNT_H
9 #define _MOUNT_H
11 # if defined(HAVE_MNTENT_H) || defined(HAVE_SYS_UCRED_H) || \
12 defined(HAVE_SYS_MNTENT_H)
13 # define DO_MOUNT_POINTS
14 # endif
16 extern GHashTable *fstab_mounts;
18 typedef struct _MountPoint MountPoint;
20 struct _MountPoint
22 char *name; /* eg: /dev/hda4 */
23 char *dir; /* eg: /home */
26 /* Prototypes */
27 void mount_init(void);
28 void mount_update(gboolean force);
29 gboolean mount_is_mounted(const guchar *path, struct stat *info,
30 struct stat *parent);
32 #endif /* _MOUNT_H */