From 5306fba3a10f0d38e8214b4342efadea4ce8d54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 8 Sep 2003 04:01:07 +0000 Subject: [PATCH] Added the new vfs_get_module_path() call. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4558 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/vfs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/private/kernel/vfs.h b/headers/private/kernel/vfs.h index 1db55a8263..75214d6324 100755 --- a/headers/private/kernel/vfs.h +++ b/headers/private/kernel/vfs.h @@ -84,6 +84,9 @@ ssize_t vfs_write_page(void *vnode, iovecs *vecs, off_t pos); void *vfs_get_cache_ptr(void *vnode); int vfs_set_cache_ptr(void *vnode, void *cache); +/* special module convenience call */ +status_t vfs_get_module_path(const char *basePath, const char *moduleName, char *pathBuffer, size_t bufferSize); + /* calls kernel code should make for file I/O */ int sys_mount(const char *path, const char *device, const char *fs_name, void *args); int sys_unmount(const char *path);