API cleanup

This commit is contained in:
angt
2016-05-01 08:41:45 +00:00
parent 0c7390bf8f
commit 566a1da699
2 changed files with 33 additions and 17 deletions

6
mud.h
View File

@@ -8,12 +8,12 @@ struct mud *mud_create (const char *, int, int);
void mud_delete (struct mud *);
int mud_set_key (struct mud *, unsigned char *, size_t);
int mud_get_key (struct mud *, unsigned char *, size_t);
int mud_get_key (struct mud *, unsigned char *, size_t *);
int mud_get_fd (struct mud *);
void mud_set_send_timeout_msec (struct mud *, unsigned);
void mud_set_time_tolerance_sec (struct mud *, unsigned);
int mud_set_send_timeout_msec (struct mud *, unsigned);
int mud_set_time_tolerance_sec (struct mud *, unsigned);
int mud_bind (struct mud *, const char *);
int mud_peer (struct mud *, const char *, const char *);