X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol_common.h;h=6384651a04b02d2ecbe309d7d08832d2fdf4fe3a;hb=7ea85043ac1fb2096baea44f6b0af27ac0d0b2cf;hp=3fa034eb5eea2d556506159956eb32cdd4f8b191;hpb=50ad3f2a895c38f8d546f87490ca96ab7d9e011e;p=tinc diff --git a/src/control_common.h b/src/control_common.h index 3fa034eb..6384651a 100644 --- a/src/control_common.h +++ b/src/control_common.h @@ -26,6 +26,14 @@ enum request_type { REQ_STOP, REQ_RELOAD, REQ_RESTART, + REQ_DUMP_NODES, + REQ_DUMP_EDGES, + REQ_DUMP_SUBNETS, + REQ_DUMP_CONNECTIONS, + REQ_DUMP_GRAPH, + REQ_PURGE, + REQ_SET_DEBUG, + REQ_RETRY, }; #define TINC_CTL_VERSION_CURRENT 0 @@ -33,6 +41,7 @@ enum request_type { /* This greeting is sent by the server on socket open. */ typedef struct tinc_ctl_greeting_t { int version; + pid_t pid; } tinc_ctl_greeting_t; /* A single request or response header. */