Removed duplicate B_SELECT_* & co definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9167 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -66,11 +66,6 @@ enum {
|
|||||||
|
|
||||||
typedef uint32 ipv4_addr;
|
typedef uint32 ipv4_addr;
|
||||||
|
|
||||||
/* These should be in KernelExport.h */
|
|
||||||
#define B_SELECT_READ 1
|
|
||||||
#define B_SELECT_WRITE 2
|
|
||||||
#define B_SELECT_EXCEPTION 3
|
|
||||||
|
|
||||||
/* XXX - add some macro's for inserting various types of address
|
/* XXX - add some macro's for inserting various types of address
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ struct notify_socket_event_args { // used by NET_STACK_NOTIFY_SOCKET_EVENT
|
|||||||
#define NET_STACK_SOCKET_EVENT_NOTIFICATION 'sevn'
|
#define NET_STACK_SOCKET_EVENT_NOTIFICATION 'sevn'
|
||||||
|
|
||||||
struct socket_event_data {
|
struct socket_event_data {
|
||||||
uint32 event; // B_SELECT_READ, B_SELECT_WRITE or B_SELECT_EXCEPTION
|
uint32 event; // B_SELECT_READ, B_SELECT_WRITE or B_SELECT_ERROR
|
||||||
void * cookie; // The cookie as set in notify_socket_event_args for this socket
|
void * cookie; // The cookie as set in notify_socket_event_args for this socket
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user