From 2e6facf66ee3d6aa37f2fb41096b1763261506a7 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 7 Dec 2019 17:17:21 +0100 Subject: eos evtq flags refactor; net buf flags refator for all modules --- code/fe310/eos/net.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'code/fe310/eos/net.h') diff --git a/code/fe310/eos/net.h b/code/fe310/eos/net.h index 127942c..e0fdbf9 100644 --- a/code/fe310/eos/net.h +++ b/code/fe310/eos/net.h @@ -19,7 +19,10 @@ 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[], uint16_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); + int _eos_net_acquire(unsigned char reserved); void eos_net_acquire(void); void eos_net_release(void); -- cgit v1.2.3