Use size_t for mtu

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-02-16 15:57:03 +00:00
parent 7013d8e323
commit 53f8d31f77
2 changed files with 12 additions and 13 deletions

4
mud.h
View File

@@ -13,8 +13,8 @@ int mud_get_fd (struct mud *);
int mud_set_key (struct mud *, unsigned char *, size_t);
int mud_get_key (struct mud *, unsigned char *, size_t *);
int mud_set_mtu (struct mud *, int mtu);
int mud_get_mtu (struct mud *);
size_t mud_set_mtu (struct mud *, size_t);
size_t mud_get_mtu (struct mud *);
int mud_set_send_timeout (struct mud *, unsigned long);
int mud_set_time_tolerance (struct mud *, unsigned long);