summaryrefslogtreecommitdiff
path: root/src/syncOnConnect.hpp
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2009-11-11 20:35:10 +0000
committerMarkus Grüneis <gimpf@gimpf.org>2009-11-11 20:35:10 +0000
commit7ca06c7c5a0ae4bb38a67948a03ad8585f925707 (patch)
tree3b6c04f5c3deb795f48d8419c7420e1820eacb59 /src/syncOnConnect.hpp
parentadded hidden ebuid-compat option to configure script (diff)
fixed header file include guards to be C++ compliant; now always use format ANYTUN_<filename>_INCLUDED
Diffstat (limited to 'src/syncOnConnect.hpp')
-rw-r--r--src/syncOnConnect.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/syncOnConnect.hpp b/src/syncOnConnect.hpp
index ac0c7f6..79df42f 100644
--- a/src/syncOnConnect.hpp
+++ b/src/syncOnConnect.hpp
@@ -30,6 +30,11 @@
* along with anytun. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef ANYTUN_syncOnConnect_hpp_INCLUDED
+#define ANYTUN_syncOnConnect_hpp_INCLUDED
+
+// TODO required headers
+
void syncOnConnect(SyncTcpConnection * connptr)
{
//TODO Locking here
@@ -67,3 +72,4 @@ void syncOnConnect(SyncTcpConnection * connptr)
}
}
+#endif