X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Freconnect.h;h=76c7f78ec9bead193108d84b4447457f5eee9b66;hb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;hp=3442c07ab2a26645d976343e71f186acf0a8be63;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/lib/reconnect.h b/lib/reconnect.h index 3442c07a..76c7f78e 100644 --- a/lib/reconnect.h +++ b/lib/reconnect.h @@ -42,6 +42,9 @@ int reconnect_get_min_backoff(const struct reconnect *); int reconnect_get_max_backoff(const struct reconnect *); int reconnect_get_probe_interval(const struct reconnect *); +void reconnect_set_max_tries(struct reconnect *, unsigned int max_tries); +unsigned int reconnect_get_max_tries(struct reconnect *); + void reconnect_set_backoff(struct reconnect *, int min_backoff, int max_backoff); void reconnect_set_probe_interval(struct reconnect *, int probe_interval);