X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2FsyncOnConnect.hpp;h=79df42f90a5b506c5552c17678fe115a8efdfa7c;hb=f9ad69dfae6bcec427652b0c4230603e465bd544;hp=0b454e757f410036a0245cc0459de259bc6b766a;hpb=058ae090a970436caec3b3059e9e18b310dd6b0d;p=anytun.git diff --git a/src/syncOnConnect.hpp b/src/syncOnConnect.hpp index 0b454e7..79df42f 100644 --- a/src/syncOnConnect.hpp +++ b/src/syncOnConnect.hpp @@ -11,14 +11,15 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2008 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. * * Anytun is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. * * Anytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -29,6 +30,11 @@ * along with anytun. If not, see . */ +#ifndef ANYTUN_syncOnConnect_hpp_INCLUDED +#define ANYTUN_syncOnConnect_hpp_INCLUDED + +// TODO required headers + void syncOnConnect(SyncTcpConnection * connptr) { //TODO Locking here @@ -66,3 +72,4 @@ void syncOnConnect(SyncTcpConnection * connptr) } } +#endif