Moved select events to Select.h. Now includes that header, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9142 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,10 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2002, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2002-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the Haiku License.
|
||||||
*/
|
*/
|
||||||
#ifndef VFS_SELECT_H
|
#ifndef VFS_SELECT_H
|
||||||
#define VFS_SELECT_H
|
#define VFS_SELECT_H
|
||||||
|
|
||||||
|
|
||||||
|
#include <Select.h>
|
||||||
|
|
||||||
|
|
||||||
typedef struct select_info {
|
typedef struct select_info {
|
||||||
uint16 selected_events;
|
uint16 selected_events;
|
||||||
uint16 events;
|
uint16 events;
|
||||||
@@ -16,20 +20,6 @@ typedef struct select_sync {
|
|||||||
select_info *set;
|
select_info *set;
|
||||||
} select_sync;
|
} select_sync;
|
||||||
|
|
||||||
enum select_events {
|
|
||||||
B_SELECT_READ = 1,
|
|
||||||
B_SELECT_WRITE,
|
|
||||||
B_SELECT_ERROR,
|
|
||||||
|
|
||||||
B_SELECT_PRI_READ,
|
|
||||||
B_SELECT_PRI_WRITE,
|
|
||||||
|
|
||||||
B_SELECT_HIGH_PRI_READ,
|
|
||||||
B_SELECT_HIGH_PRI_WRITE,
|
|
||||||
|
|
||||||
B_SELECT_DISCONNECTED
|
|
||||||
};
|
|
||||||
|
|
||||||
#define SELECT_FLAG(type) (1L << (type - 1))
|
#define SELECT_FLAG(type) (1L << (type - 1))
|
||||||
|
|
||||||
#endif /* VFS_SELECT_H */
|
#endif /* VFS_SELECT_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user