summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/sock.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-09 02:46:08 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-09 02:46:08 +0200
commit21dbc40e58a79f487d1ee34129f16e26cb6ba120 (patch)
tree8e45719fce0029090792fac08ba42ac2a0371f0e /fw/fe310/eos/sock.h
parent9dd66a7dd0c5ba39f9b602daafea88a00cef75e8 (diff)
message handling iface updated
Diffstat (limited to 'fw/fe310/eos/sock.h')
-rw-r--r--fw/fe310/eos/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/sock.h b/fw/fe310/eos/sock.h
index d647381..cec8aae 100644
--- a/fw/fe310/eos/sock.h
+++ b/fw/fe310/eos/sock.h
@@ -19,7 +19,7 @@ typedef struct EOSNetAddr {
void eos_sock_init(void);
void eos_sock_set_handler(unsigned char sock, eos_evt_handler_t handler);
-int eos_sock_open_udp(void);
+int eos_sock_open_udp(eos_evt_handler_t handler);
void eos_sock_close(unsigned char sock);
int eos_sock_sendto(unsigned char sock, unsigned char *buffer, uint16_t size, unsigned char more, EOSNetAddr *addr);
void eos_sock_getfrom(unsigned char *buffer, EOSNetAddr *addr);