Added missing R5 select stuff. Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -16,6 +16,14 @@ extern "C" {
|
|||||||
|
|
||||||
struct selectsync;
|
struct selectsync;
|
||||||
typedef struct selectsync selectsync;
|
typedef struct selectsync selectsync;
|
||||||
|
#ifndef B_SELECT_READ
|
||||||
|
/* those were lacking for quite some time...
|
||||||
|
yes the select API will get deprecated, but for now that goes here. */
|
||||||
|
#define B_SELECT_READ 1
|
||||||
|
#define B_SELECT_WRITE 2
|
||||||
|
#define B_SELECT_EXCEPTION 3
|
||||||
|
extern void notify_select_event(selectsync * sync, uint32 ref);
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef status_t (*device_open_hook) (const char *name, uint32 flags, void **cookie);
|
typedef status_t (*device_open_hook) (const char *name, uint32 flags, void **cookie);
|
||||||
typedef status_t (*device_close_hook) (void *cookie);
|
typedef status_t (*device_close_hook) (void *cookie);
|
||||||
@@ -158,7 +166,7 @@ enum {
|
|||||||
B_TAPE, /* Tape drives */
|
B_TAPE, /* Tape drives */
|
||||||
B_PRINTER, /* Printers */
|
B_PRINTER, /* Printers */
|
||||||
B_CPU, /* CPU devices */
|
B_CPU, /* CPU devices */
|
||||||
B_WORM, /* Write-once, read-many devives */
|
B_WORM, /* Write-once, read-many devices */
|
||||||
B_CD, /* CD ROMS */
|
B_CD, /* CD ROMS */
|
||||||
B_SCANNER, /* Scanners */
|
B_SCANNER, /* Scanners */
|
||||||
B_OPTICAL, /* Optical devices */
|
B_OPTICAL, /* Optical devices */
|
||||||
|
|||||||
Reference in New Issue
Block a user