r232: Added 'prune' and 'system' find commands.
[rox-filer.git] / ROX-Filer / src / mount.h
blob00891632e8bf3517228a13c2c62553e45961d72d
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 defined(HAVE_SYS_MNTENT_H)
13 # define DO_MOUNT_POINTS
14 # endif
16 extern GHashTable *fstab_mounts;
17 extern GHashTable *mtab_mounts;
19 typedef struct _MountPoint MountPoint;
21 struct _MountPoint
23 char *name; /* eg: /dev/hda4 */
24 char *dir; /* eg: /home */
27 /* Prototypes */
28 void mount_init();
29 void mount_update(gboolean force);
31 #endif /* _MOUNT_H */