From e272fab858d5d3eeb43ff9f36268d25d3c6d32f1 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 16 May 2011 09:46:54 +0200 Subject: [PATCH] Add tincctl.h. --- src/tincctl.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/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 + -- 2.39.5