Preparation for socket file descriptors.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-04-11 03:33:59 +00:00
parent 08b2313e70
commit 3cc3dcb385
+2
View File
@@ -17,6 +17,7 @@ extern "C" {
struct file_descriptor; struct file_descriptor;
struct io_context; struct io_context;
struct net_socket;
struct selectsync; struct selectsync;
struct select_info; struct select_info;
@@ -47,6 +48,7 @@ struct file_descriptor {
union { union {
struct vnode *vnode; struct vnode *vnode;
struct fs_mount *mount; struct fs_mount *mount;
struct net_socket *socket;
} u; } u;
void *cookie; void *cookie;
int32 open_mode; int32 open_mode;