summaryrefslogtreecommitdiff
path: root/sys/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/inc')
-rw-r--r--sys/inc/os/mount.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/inc/os/mount.h b/sys/inc/os/mount.h
index 799c14f..1c3dde6 100644
--- a/sys/inc/os/mount.h
+++ b/sys/inc/os/mount.h
@@ -93,4 +93,14 @@ struct mount {
*/
int mount(struct mount_args *margs);
+/*
+ * Lookup an entry within the mount table
+ *
+ * @name: Name to lookup
+ * @mres: Result pointer is written here
+ *
+ * Returns zero on success
+ */
+int mount_lookup(const char *name, struct mount **mres);
+
#endif /* !_OS_MOUNT_H_ */