Add mud_set_on() to enable/disable a local addr

This commit is contained in:
Adrien Gallouët
2016-07-27 20:23:19 +00:00
parent c1b501bc19
commit c1ce6c7481
2 changed files with 55 additions and 12 deletions

2
mud.h
View File

@@ -15,6 +15,8 @@ int mud_get_fd (struct mud *);
int mud_set_send_timeout_msec (struct mud *, unsigned);
int mud_set_time_tolerance_sec (struct mud *, unsigned);
int mud_set_on (struct mud *, const char *, int);
int mud_peer (struct mud *, const char *, const char *, int);
int mud_can_pull (struct mud *);