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:
parent
7f246a3068
commit
2c8b3014ef
@ -1,10 +1,14 @@
|
||||
/*
|
||||
** Copyright 2002, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
*/
|
||||
#ifndef VFS_SELECT_H
|
||||
#define VFS_SELECT_H
|
||||
|
||||
|
||||
#include <Select.h>
|
||||
|
||||
|
||||
typedef struct select_info {
|
||||
uint16 selected_events;
|
||||
uint16 events;
|
||||
@ -16,20 +20,6 @@ typedef struct select_sync {
|
||||
select_info *set;
|
||||
} 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))
|
||||
|
||||
#endif /* VFS_SELECT_H */
|
||||
|
Loading…
Reference in New Issue
Block a user