We do now provide the BeOS style FS add-ons with the kernel interface they

need via library libuserlandfs_beos_kernel.so. Fine-tuned the legacy headers
so they can by used by the the kernel interface emulation code as well as by
the add-ons. This is actually a bit hacky, since we build everything in the
Haiku build environment and thus mix these old headers and Haiku's.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20254 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-02-28 22:07:40 +00:00
parent 9b54c9d1e3
commit c10705cbda
8 changed files with 412 additions and 33 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#include <BeBuild.h>
#include "lock.h"
#include <legacy/lock.h>
#ifndef _IMPEXP_KERNEL
#define _IMPEXP_KERNEL
+8 -5
View File
@@ -1,7 +1,7 @@
#ifndef _FSPROTO_H
#define _FSPROTO_H
#include <sys/dirent.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/stat.h>
@@ -9,10 +9,12 @@
#include <iovec.h>
#include <OS.h>
#include <fs_attr.h>
#include <fs_info.h>
#include <BeBuild.h>
#include <Drivers.h>
#ifndef BUILDING_USERLAND_FS_SERVER
# include <fs_attr.h>
# include <fs_info.h>
# include <fs_volume.h>
#endif // ! BUILDING_USERLAND_FS_SERVER
#ifndef _IMPEXP_KERNEL
#define _IMPEXP_KERNEL
@@ -62,6 +64,7 @@ typedef ino_t vnode_id;
struct attr_info;
struct index_info;
typedef struct selectsync selectsync;
typedef int op_read_vnode(void *ns, vnode_id vnid, char r, void **node);
typedef int op_write_vnode(void *ns, void *node, char r);