X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Frconn.h;h=7bc2af8f44a97f18709a88eff80dad1b61eb7727;hb=76ea8efd442a403f8e874cd4103dafe2479b6a57;hp=4df2f34f9a94c9695f0f3f970233cb19ec2ac45d;hpb=eb15cdbbea5d8193af63bd2de948b99af30e648f;p=openvswitch diff --git a/lib/rconn.h b/lib/rconn.h index 4df2f34f..7bc2af8f 100644 --- a/lib/rconn.h +++ b/lib/rconn.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ #ifndef RCONN_H #define RCONN_H 1 -#include "queue.h" #include #include #include @@ -71,7 +70,6 @@ bool rconn_is_alive(const struct rconn *); bool rconn_is_connected(const struct rconn *); bool rconn_is_admitted(const struct rconn *); int rconn_failure_duration(const struct rconn *); -bool rconn_is_connectivity_questionable(struct rconn *); uint32_t rconn_get_remote_ip(const struct rconn *); uint16_t rconn_get_remote_port(const struct rconn *); @@ -82,6 +80,7 @@ const char *rconn_get_state(const struct rconn *); unsigned int rconn_get_attempted_connections(const struct rconn *); unsigned int rconn_get_successful_connections(const struct rconn *); time_t rconn_get_last_connection(const struct rconn *); +time_t rconn_get_last_disconnect(const struct rconn *); time_t rconn_get_last_received(const struct rconn *); time_t rconn_get_creation_time(const struct rconn *); unsigned long int rconn_get_total_time_connected(const struct rconn *);