Update all header guards.
[tinc] / src / control_common.h
1 #ifndef TINC_CONTROL_COMMON_H
2 #define TINC_CONTROL_COMMON_H
3
4 /*
5     control_protocol.h -- control socket protocol.
6     Copyright (C) 2007      Scott Lamb <slamb@slamb.org>
7                   2009-2012 Guus Sliepen <guus@tinc-vpn.org>
8
9     This program is free software; you can redistribute it and/or modify
10     it under the terms of the GNU General Public License as published by
11     the Free Software Foundation; either version 2 of the License, or
12     (at your option) any later version.
13
14     This program is distributed in the hope that it will be useful,
15     but WITHOUT ANY WARRANTY; without even the implied warranty of
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     GNU General Public License for more details.
18
19     You should have received a copy of the GNU General Public License along
20     with this program; if not, write to the Free Software Foundation, Inc.,
21     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 */
23
24 #include "protocol.h"
25
26 enum request_type {
27         REQ_INVALID = -1,
28         REQ_STOP = 0,
29         REQ_RELOAD,
30         REQ_RESTART,
31         REQ_DUMP_NODES,
32         REQ_DUMP_EDGES,
33         REQ_DUMP_SUBNETS,
34         REQ_DUMP_CONNECTIONS,
35         REQ_DUMP_GRAPH,
36         REQ_PURGE,
37         REQ_SET_DEBUG,
38         REQ_RETRY,
39         REQ_CONNECT,
40         REQ_DISCONNECT,
41         REQ_DUMP_TRAFFIC,
42         REQ_PCAP,
43         REQ_LOG,
44 };
45
46 #define TINC_CTL_VERSION_CURRENT 0
47
48 #endif