summaryrefslogtreecommitdiff
path: root/code/fe310/eos/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/net.h')
-rw-r--r--code/fe310/eos/net.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/code/fe310/eos/net.h b/code/fe310/eos/net.h
index 59cc6eb..ba394b8 100644
--- a/code/fe310/eos/net.h
+++ b/code/fe310/eos/net.h
@@ -4,9 +4,6 @@
#define EOS_NET_SIZE_BUF 1500
#define EOS_NET_SIZE_BUFQ 2
-#define EOS_NET_FLAG_BACQ 0x1
-#define EOS_NET_FLAG_BFREE 0x2
-
#define EOS_NET_MTYPE_SOCK 1
#define EOS_NET_MTYPE_AUDIO 2
@@ -17,16 +14,11 @@
#define EOS_NET_MAX_MTYPE 8
-void eos_net_xchg_done(void);
-
void eos_net_init(void);
void eos_net_start(void);
void eos_net_stop(void);
-void _eos_net_handle(unsigned char type, unsigned char *buffer, uint16_t len, unsigned char idx, eos_evt_fptr_t handlers[], uint16_t *flags_buf_free, uint16_t *flags_buf_acq);
-void _eos_net_set_handler(unsigned char idx, eos_evt_fptr_t handler, eos_evt_fptr_t handlers[], uint8_t flags, uint16_t *flags_buf_free, uint16_t *flags_buf_acq);
-void eos_net_set_handler(unsigned char type, eos_evt_fptr_t handler, uint8_t flags);
+void eos_net_set_handler(unsigned char type, eos_evt_handler_t handler);
-int _eos_net_acquire(unsigned char reserved);
void eos_net_acquire(void);
void eos_net_release(void);
unsigned char *eos_net_alloc(void);