r898: Applied Bernard Jungen's latest patch:
[rox-filer.git] / ROX-Filer / src / mount.h
blobf74658ba4d51b61a8c41251f44c8302f791b296f
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(guchar *path);
31 #endif /* _MOUNT_H */