r1551: Updated credits.
[rox-filer.git] / ROX-Filer / src / mount.h
blob084b00dd4a8a5217b80495ea88284cecb3009e4f
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();
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 */