summaryrefslogtreecommitdiff
path: root/code/fe310/eos/net.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-10-19 19:40:16 +0200
committerUros Majstorovic <majstor@majstor.org>2019-10-19 19:40:16 +0200
commit97968cb17dee6d1d0e68149fe2fb71362cdc5851 (patch)
tree595b760f7487e22fdecf633e4da009e5b2343b6f /code/fe310/eos/net.h
parent84735c23109b77e0691da208d31c374aa943b257 (diff)
network sockets added
Diffstat (limited to 'code/fe310/eos/net.h')
-rw-r--r--code/fe310/eos/net.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/code/fe310/eos/net.h b/code/fe310/eos/net.h
index 4005fe5..ace05f1 100644
--- a/code/fe310/eos/net.h
+++ b/code/fe310/eos/net.h
@@ -4,8 +4,6 @@
#define EOS_NET_FLAG_BUF_FREE 0x1
#define EOS_NET_FLAG_BUF_ACQ 0x2
-#define EOS_NET_MTYPE_FLAG_ONEW 0x10
-
#define EOS_NET_MTYPE_SOCK 1
#define EOS_NET_MTYPE_AUDIO 2
@@ -23,7 +21,7 @@ void eos_net_start(void);
void eos_net_stop(void);
void eos_net_set_handler(unsigned char type, eos_evt_fptr_t handler, uint8_t flags);
int eos_net_acquire(unsigned char reserved);
-int eos_net_release(void);
+void eos_net_release(void);
unsigned char *eos_net_alloc(void);
-int eos_net_free(unsigned char *buffer, unsigned char more);
-int eos_net_send(unsigned char type, unsigned char *buffer, uint16_t len);
+void eos_net_free(unsigned char *buffer, unsigned char more);
+int eos_net_send(unsigned char type, unsigned char *buffer, uint16_t len, unsigned char more);