Add a simple rx queue

This commit is contained in:
angt
2016-02-02 21:11:34 +01:00
parent 924df5798f
commit 6561f819f9
2 changed files with 101 additions and 58 deletions

3
mud.h
View File

@@ -10,5 +10,8 @@ void mud_delete (struct mud *);
int mud_bind (struct mud *, const char *, const char *);
int mud_peer (struct mud *, const char *, const char *);
int mud_pull (struct mud *);
int mud_push (struct mud *);
ssize_t mud_recv (struct mud *, void *, size_t);
ssize_t mud_send (struct mud *, const void *, size_t);