X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol_common.h;h=720c2360dfbe195b42dc89202a24a6342d8c85ab;hb=c388527e341658dc915dd67c90bbc9b52b8539c0;hp=3fa034eb5eea2d556506159956eb32cdd4f8b191;hpb=50ad3f2a895c38f8d546f87490ca96ab7d9e011e;p=tinc diff --git a/src/control_common.h b/src/control_common.h index 3fa034eb..720c2360 100644 --- a/src/control_common.h +++ b/src/control_common.h @@ -12,11 +12,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_CONTROL_PROTOCOL_H__ @@ -26,6 +24,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 +39,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. */