X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol_common.h;h=720c2360dfbe195b42dc89202a24a6342d8c85ab;hb=108b238915c5f58b3d94ab433dc5d04e064c2b11;hp=750098e3515523892a29fa74ffdb8a4e2b690360;hpb=6eaefb4dbce240334e35f67d9f3db5d4f44e49c9;p=tinc diff --git a/src/control_common.h b/src/control_common.h index 750098e3..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__ @@ -31,6 +29,9 @@ enum request_type { REQ_DUMP_SUBNETS, REQ_DUMP_CONNECTIONS, REQ_DUMP_GRAPH, + REQ_PURGE, + REQ_SET_DEBUG, + REQ_RETRY, }; #define TINC_CTL_VERSION_CURRENT 0 @@ -38,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. */