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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user