X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fmeshlink-tiny%2B%2B.h;h=b76fc56f8f4c9d98bf47cc752c7935e88f0b4e54;hb=3909ee8107713ddf930291317fe1747a1667d584;hp=4793ea0f198704d05eb02259f5f4ccf223568157;hpb=f3014d25c8b6f8cc1cf8ab48cabf6fbc8e8311d0;p=meshlink-tiny diff --git a/src/meshlink-tiny++.h b/src/meshlink-tiny++.h index 4793ea0..b76fc56 100644 --- a/src/meshlink-tiny++.h +++ b/src/meshlink-tiny++.h @@ -241,20 +241,6 @@ public: return (node *)meshlink_get_node(handle, name); } - /// Get a node's reachability status. - /** This function returns the current reachability of a given node, and the times of the last state changes. - * If a given state change never happened, the time returned will be 0. - * - * @param node A pointer to a meshlink::node describing the node. - * @param last_reachable A pointer to a time_t variable that will be filled in with the last time the node became reachable. - * @param last_unreachable A pointer to a time_t variable that will be filled in with the last time the node became unreachable. - * - * @return This function returns true if the node is currently reachable, false otherwise. - */ - bool get_node_reachability(node *node, time_t *last_reachable = NULL, time_t *last_unreachable = NULL) { - return meshlink_get_node_reachability(handle, node, last_reachable, last_unreachable); - } - /// Get a handle for our own node. /** This function returns a handle for the local node. *