No networking for now
This commit is contained in:
@ -1,21 +0,0 @@
|
||||
#ifndef SHARE_SYSDEFS_IPC_NETSOCK_H_
|
||||
#define SHARE_SYSDEFS_IPC_NETSOCK_H_
|
||||
|
||||
// matches values of picotcp
|
||||
|
||||
#define NETSOCK_IPV4 0
|
||||
#define NETSOCK_TCP 6
|
||||
|
||||
#define NETSOCKEV_CLOSE 8
|
||||
#define NETSOCKEV_ERR 0x80
|
||||
#define NETSOCKEV_READ 1
|
||||
#define NETSOCKEV_WRITE 2
|
||||
#define NETSOCKEV_FINI 0x10
|
||||
#define NETSOCKEV_CONN 4
|
||||
|
||||
typedef int32_t netsock_t;
|
||||
typedef int32_t netsockev_t;
|
||||
|
||||
#define IS_NETSOCKEV_READY(ev) ((ev) != E_NOTYET)
|
||||
|
||||
#endif // SHARE_SYSDEFS_IPC_NETSOCK_H_
|
||||
@ -36,10 +36,5 @@
|
||||
#define SYS_DEV_STAT 35
|
||||
#define SYS_DEV_CMD 36
|
||||
#define SYS_TIME 38
|
||||
#define SYS_IPC_NETSOCKMAKE 39
|
||||
#define SYS_IPC_NETSOCKLISTEN 40
|
||||
#define SYS_IPC_NETSOCKPOLLEV 41
|
||||
#define SYS_IPC_NETSOCKDELETE 42
|
||||
#define SYS_IPC_NETSOCKBINDPORT 43
|
||||
|
||||
#endif // SHARE_HDRS_SYSCALL_H_
|
||||
|
||||
Reference in New Issue
Block a user