From 1f49ee47ae442de13feb2c0369cc1f74797ab510 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Mon, 7 Apr 2014 14:39:21 +0930 Subject: [PATCH] Add missing copyright messages --- mdp_filter.c | 19 ++++++++++++++++++- msp_client.c | 18 ++++++++++++++++++ msp_client.h | 25 ++++++++++++++++++++++--- msp_proxy.c | 19 ++++++++++++++++++- overlay_interface.c | 3 ++- overlay_interface.h | 20 ++++++++++++++++++++ 6 files changed, 98 insertions(+), 6 deletions(-) diff --git a/mdp_filter.c b/mdp_filter.c index 997d1331..9c0760ed 100644 --- a/mdp_filter.c +++ b/mdp_filter.c @@ -1,3 +1,21 @@ +/* + MDP packet filtering + Copyright (C) 2013-2014 Serval Project Inc. + + 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. + */ #include "serval.h" #include "overlay_address.h" @@ -99,4 +117,3 @@ void load_mdp_packet_rules(const char *UNUSED(filename)) * * */ } - diff --git a/msp_client.c b/msp_client.c index 1d1ab13b..3a646040 100644 --- a/msp_client.c +++ b/msp_client.c @@ -1,3 +1,21 @@ +/* + Mesh Streaming Protocol (MSP) + Copyright (C) 2013-2014 Serval Project Inc. + + 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. + */ #include #include diff --git a/msp_client.h b/msp_client.h index 6a6e1dcc..bb961f54 100644 --- a/msp_client.h +++ b/msp_client.h @@ -1,5 +1,24 @@ -#ifndef __SERVALD_MSP_CLIENT_H -#define __SERVALD_MSP_CLIENT_H +/* + Mesh Streaming Protocol (MSP) + Copyright (C) 2013-2014 Serval Project Inc. + + 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 __SERVAL_DNA__MSP_CLIENT_H +#define __SERVAL_DNA__MSP_CLIENT_H #define MSP_STATE_UNINITIALISED 0 #define MSP_STATE_LISTENING (1<<0) @@ -54,4 +73,4 @@ int msp_recv(int mdp_sock); // next_action indicates the next time that msp_processing should be called int msp_processing(time_ms_t *next_action); -#endif \ No newline at end of file +#endif //__SERVAL_DNA__MSP_CLIENT_H diff --git a/msp_proxy.c b/msp_proxy.c index 8a39e14d..48a46198 100644 --- a/msp_proxy.c +++ b/msp_proxy.c @@ -1,3 +1,21 @@ +/* + Mesh Streaming Protocol (MSP) + Copyright (C) 2013-2014 Serval Project Inc. + + 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. + */ #include "serval.h" #include "str.h" @@ -504,4 +522,3 @@ end: unschedule(&mdp_sock); return ret; } - diff --git a/overlay_interface.c b/overlay_interface.c index e78858c6..eb9543f2 100644 --- a/overlay_interface.c +++ b/overlay_interface.c @@ -1,6 +1,7 @@ /* -Serval Distributed Numbering Architecture (DNA) +Serval DNA overlay network interfaces Copyright (C) 2010 Paul Gardner-Stephen +Copyright (C) 2012-2013 Serval Project Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/overlay_interface.h b/overlay_interface.h index 1b9369ec..9dd358c4 100644 --- a/overlay_interface.h +++ b/overlay_interface.h @@ -1,3 +1,23 @@ +/* +Serval DNA overlay network interfaces +Copyright (C) 2010 Paul Gardner-Stephen +Copyright (C) 2012-2013 Serval Project Inc. + +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 __SERVAL_DNA__OVERLAY_INTERFACE_H #define __SERVAL_DNA__OVERLAY_INTERFACE_H