r189: Effective permissions are shown in brackets.
[rox-filer.git] / ROX-Filer / src / mount.h
blob61d04ab491f1df6b3c61d1b854df690c94668e67
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@ecs.soton.ac.uk>.
6 */
8 #ifndef _MOUNT_H
9 #define _MOUNT_H
11 # if defined(HAVE_MNTENT_H) || defined(HAVE_SYS_UCRED_H)
12 # define DO_MOUNT_POINTS
13 # endif
15 extern GHashTable *fstab_mounts;
16 extern GHashTable *mtab_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);
30 #endif /* _MOUNT_H */