X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.h;h=5fc30f3866d6ff6e8006e105c14e9d6e8eda2268;hp=64e17ad0d67840797145cdaaedd0d80bf410d59a;hb=94497336efc1cc60561575e74d420e9e8e8c657e;hpb=b98d9787fdde54f33dcdb376e1e018cd418aff8d diff --git a/src/protocol.h b/src/protocol.h index 64e17ad0..5fc30f38 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol.h,v 1.5.4.23 2001/10/27 12:13:17 guus Exp $ + $Id: protocol.h,v 1.5.4.24 2001/10/28 08:41:19 guus Exp $ */ #ifndef __TINC_PROTOCOL_H__ @@ -42,7 +42,7 @@ enum { PING, PONG, ADD_NODE, DEL_NODE, ADD_SUBNET, DEL_SUBNET, - ADD_VERTEX, DEL_VERTEX, + ADD_EDGE, DEL_EDGE, KEY_CHANGED, REQ_KEY, ANS_KEY, PACKET, LAST /* Guardian for the highest request number */ @@ -69,8 +69,8 @@ extern int send_add_node(connection_t*, node_t*); extern int send_del_node(connection_t*, node_t*); extern int send_add_subnet(connection_t*, subnet_t*); extern int send_del_subnet(connection_t*, subnet_t*); -extern int send_add_vertex(connection_t*, node_t*); -extern int send_del_vertex(connection_t*, node_t*); +extern int send_add_edge(connection_t*, edge_t*); +extern int send_del_edge(connection_t*, edge_t*); extern int send_key_changed(connection_t*, node_t*); extern int send_req_key(connection_t*, node_t*, node_t*); extern int send_ans_key(connection_t*, node_t*, node_t*, char*);