From 9d572f3b53259e0cae8c396539f9b0226016e24d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 28 Mar 2012 21:54:48 +0200 Subject: Add license headers to Flex and Bison files; also remove Quicktun note as we don't actually use any of is code --- src/config.c | 1 - src/config.l | 26 +++++++++++++++++++++++++ src/config.y | 26 +++++++++++++++++++++++++ src/fastd.c | 1 - src/fastd.h | 1 - src/handshake.c | 1 - src/handshake.h | 1 - src/packet.h | 1 - src/peer.c | 1 - src/peer.h | 1 - src/printf.c | 1 - src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c | 1 - src/protocol_null.c | 1 - src/queue.c | 1 - src/queue.h | 1 - src/random.c | 1 - src/task.c | 1 - src/task.h | 1 - src/types.h | 1 - 19 files changed, 52 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/config.c b/src/config.c index 6fd8def..f57696d 100644 --- a/src/config.c +++ b/src/config.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/config.l b/src/config.l index b1e61e6..808f96e 100644 --- a/src/config.l +++ b/src/config.l @@ -1,3 +1,29 @@ +/* + Copyright (c) 2012, Matthias Schiffer + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + %option prefix="fastd_config_yy" %option noyywrap %option bison-bridge diff --git a/src/config.y b/src/config.y index da2015b..c1d6053 100644 --- a/src/config.y +++ b/src/config.y @@ -1,3 +1,29 @@ +/* + Copyright (c) 2012, Matthias Schiffer + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + %define api.pure %define api.push-pull push %name-prefix "fastd_config_" diff --git a/src/fastd.c b/src/fastd.c index af17c24..423c8c2 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/fastd.h b/src/fastd.h index 5ea4260..fd6fead 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/handshake.c b/src/handshake.c index 735a80c..53224b0 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/handshake.h b/src/handshake.h index c485576..5e5e67f 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/packet.h b/src/packet.h index b99f7de..4da0110 100644 --- a/src/packet.h +++ b/src/packet.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/peer.c b/src/peer.c index a15efb1..8fbc598 100644 --- a/src/peer.c +++ b/src/peer.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/peer.h b/src/peer.h index 8754d2f..725ea9a 100644 --- a/src/peer.h +++ b/src/peer.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/printf.c b/src/printf.c index 15ca844..912953c 100644 --- a/src/printf.c +++ b/src/printf.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c b/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c index 33f20b3..6d7e652 100644 --- a/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c +++ b/src/protocol_ec25519_fhmqvc_xsalsa20_poly1305.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/protocol_null.c b/src/protocol_null.c index 77839d9..7ed4cd3 100644 --- a/src/protocol_null.c +++ b/src/protocol_null.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/queue.c b/src/queue.c index 4b5a3f0..a2ef3dc 100644 --- a/src/queue.c +++ b/src/queue.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/queue.h b/src/queue.h index 60e7818..50456ee 100644 --- a/src/queue.h +++ b/src/queue.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/random.c b/src/random.c index 0681d77..f3f0dd5 100644 --- a/src/random.c +++ b/src/random.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/task.c b/src/task.c index 472d491..48da733 100644 --- a/src/task.c +++ b/src/task.c @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/task.h b/src/task.h index 80c6852..951f30a 100644 --- a/src/task.h +++ b/src/task.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/types.h b/src/types.h index 0713250..9828c8f 100644 --- a/src/types.h +++ b/src/types.h @@ -1,6 +1,5 @@ /* Copyright (c) 2012, Matthias Schiffer - Partly based on QuickTun Copyright (c) 2010, Ivo Smits . All rights reserved. Redistribution and use in source and binary forms, with or without -- cgit v1.2.3