mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Rename mip_rxcb to mip_qwrite, add mip_qread and enforce rx() for drivers
This commit is contained in:
1 parent
042465387f
commit
b259bdeddd
10 files changed
+59
-34
No files matched your search
+4
-1
@@ -1472,7 +1472,10 @@ struct mip_if {
|
||||
|
||||
void mip_init(struct mg_mgr *, struct mip_if *);
|
||||
void mip_free(struct mip_if *);
|
||||
void mip_rxcb(void *buf, size_t len, struct mip_if *ifp);
|
||||
void mip_qwrite(void *buf, size_t len, struct mip_if *ifp);
|
||||
size_t mip_qread(void *buf, struct mip_if *ifp);
|
||||
// conveniency rx function for IRQ-driven drivers
|
||||
size_t mip_driver_rx(void *buf, size_t len, struct mip_if *ifp);
|
||||
|
||||
extern struct mip_driver mip_driver_stm32;
|
||||
extern struct mip_driver mip_driver_w5500;
|
||||
|
||||
Reference in new issue
Block a user