X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol_common.h;h=2be4abd57869c2cb31da69f318c22f493d9f72ff;hb=1b777010e7255cb354e31ca28c6442ee86383bac;hp=56b2bde9f1102151c275de663921a2d60be75376;hpb=362d8a6358019cb97456c8133832f18798cea41f;p=tinc diff --git a/src/control_common.h b/src/control_common.h index 56b2bde9..2be4abd5 100644 --- a/src/control_common.h +++ b/src/control_common.h @@ -1,6 +1,10 @@ +#ifndef TINC_CONTROL_COMMON_H +#define TINC_CONTROL_COMMON_H + /* control_protocol.h -- control socket protocol. - Copyright (C) 2007 Scott Lamb + Copyright (C) 2007 Scott Lamb + 2009-2012 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,9 +21,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_CONTROL_PROTOCOL_H__ -#define __TINC_CONTROL_PROTOCOL_H__ - #include "protocol.h" enum request_type { @@ -38,6 +39,8 @@ enum request_type { REQ_CONNECT, REQ_DISCONNECT, REQ_DUMP_TRAFFIC, + REQ_PCAP, + REQ_LOG, }; #define TINC_CTL_VERSION_CURRENT 0