Code cleanup

This commit is contained in:
angt
2016-02-03 21:18:00 +01:00
parent 605b68dad5
commit 0596afef7e
2 changed files with 57 additions and 44 deletions

6
mud.h
View File

@@ -1,6 +1,6 @@
#pragma once
#include <unistd.h>
#include <stddef.h>
struct mud;
@@ -13,5 +13,5 @@ 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);
int mud_recv (struct mud *, void *, size_t);
int mud_send (struct mud *, const void *, size_t);