/usr/include/blockdev/fs/mount.h is in libblockdev-fs-dev 2.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #include <glib.h>
#include <blockdev/utils.h>
#ifndef BD_FS_MOUNT
#define BD_FS_MOUNT
gboolean bd_fs_unmount (const gchar *spec, gboolean lazy, gboolean force, const BDExtraArg **extra, GError **error);
gboolean bd_fs_mount (const gchar *device, const gchar *mountpoint, const gchar *fstype, const gchar *options, const BDExtraArg **extra, GError **error);
gchar* bd_fs_get_mountpoint (const gchar *device, GError **error);
#endif /* BD_FS_MOUNT */
|