Rework mud->peer and remove mud_ipaddr

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-01-24 16:27:41 +00:00
parent 7c90d54b91
commit 61e7a23a11
2 changed files with 62 additions and 120 deletions

2
mud.h
View File

@@ -23,7 +23,7 @@ int mud_set_aes (struct mud *);
int mud_peer (struct mud *, const char *, int);
int mud_add_path (struct mud *, const char *, int);
int mud_add_path (struct mud *, const char *);
int mud_recv (struct mud *, void *, size_t);
int mud_send (struct mud *, const void *, size_t, int);