From: Guus Sliepen Date: Mon, 16 May 2011 07:46:54 +0000 (+0200) Subject: Add tincctl.h. X-Git-Tag: release-1.1pre1~54 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=e272fab858d5d3eeb43ff9f36268d25d3c6d32f1 Add tincctl.h. --- diff --git a/src/tincctl.h b/src/tincctl.h new file mode 100644 index 00000000..114b931e --- /dev/null +++ b/src/tincctl.h @@ -0,0 +1,27 @@ +/* + tincctl.h -- header for tincctl.c. + Copyright (C) 2011 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 + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#ifndef __TINC_TINCCTL_H__ +#define __TINC_TINCCTL_H__ + +extern bool sendline(int fd, char *format, ...); +extern bool recvline(int fd, char *line, size_t len); + +#endif +