X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol_common.h;h=2be4abd57869c2cb31da69f318c22f493d9f72ff;hb=5822f817aa802c2c5a83e9d99a8ae78cb822799b;hp=615e10a7c180a06865c7b2e2c296fc726fbe4773;hpb=f5dc136cfd7a3a195b75f7174722734e25f30fd9;p=tinc diff --git a/src/control_common.h b/src/control_common.h index 615e10a7..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 { @@ -39,6 +40,7 @@ enum request_type { REQ_DISCONNECT, REQ_DUMP_TRAFFIC, REQ_PCAP, + REQ_LOG, }; #define TINC_CTL_VERSION_CURRENT 0