diff --git a/examples/rpl_udp/helper.c b/examples/rpl_udp/helper.c index 1f60255498..86667ca726 100644 --- a/examples/rpl_udp/helper.c +++ b/examples/rpl_udp/helper.c @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2013 INRIA + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License. See the file LICENSE in the top level directory for more + * details. + */ + +/** + * @ingroup examples + * @{ + * + * @file + * @brief UDP RPL example application + * + * @author Oliver Hahm + * + * @} + */ + #include #include #include diff --git a/sys/lib/hash_string.c b/sys/lib/hash_string.c index ecf6032330..f5a6ca81b4 100644 --- a/sys/lib/hash_string.c +++ b/sys/lib/hash_string.c @@ -1,3 +1,19 @@ +/** + * Hash string implementation + * + * Copyright (C) 2013 Kaspar Schleiser + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License. See the file LICENSE in the top level directory for more + * details. + * + * @ingroup sys_lib + * @{ + * @file + * @author Kaspar Schleiser + * @} + */ + #include #include "hash_string.h" diff --git a/sys/lib/hashtable.c b/sys/lib/hashtable.c index 4641b0b3ee..929042006c 100644 --- a/sys/lib/hashtable.c +++ b/sys/lib/hashtable.c @@ -1,4 +1,35 @@ -/* Copyright (C) 2004 Christopher Clark */ +/* + * Copyright (c) 2002, Christopher Clark + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * 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. + * + * * Neither the name of the original author; nor the names of any contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * + * 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 OWNER + * 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. +*/ #include #include @@ -295,36 +326,3 @@ hashtable_destroy(struct hashtable *h, int free_values) free(h->table); free(h); } - -/* - * Copyright (c) 2002, Christopher Clark - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * * 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. - * - * * Neither the name of the original author; nor the names of any contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * - * 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 OWNER - * 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. -*/ diff --git a/sys/net/routing/rpl/etx_beaconing.c b/sys/net/routing/rpl/etx_beaconing.c index 6087595059..991413873a 100644 --- a/sys/net/routing/rpl/etx_beaconing.c +++ b/sys/net/routing/rpl/etx_beaconing.c @@ -1,9 +1,19 @@ -/* - * etx_beaconing.c +/** + * ETX beaconing implementation * - * Created on: Feb 26, 2013 - * Author: stephan + * Copyright (C) 2013 Stephan Arndt + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License. See the file LICENSE in the top level directory for more + * details. + * + * @ingroup rpl + * @{ + * @file + * @author Stephan Arndt + * @} */ + #include "etx_beaconing.h" #include diff --git a/sys/net/routing/rpl/etx_beaconing.h b/sys/net/routing/rpl/etx_beaconing.h index b21157a6ca..a7eb040ac9 100644 --- a/sys/net/routing/rpl/etx_beaconing.h +++ b/sys/net/routing/rpl/etx_beaconing.h @@ -1,11 +1,3 @@ -/* - * Header for the ETX-beaconing module - * etx_beaconing.h - * - * Created on: Feb 26, 2013 - * Author: stephan - */ - #ifndef ETX_BEACONING_H_ #define ETX_BEACONING_H_ #include diff --git a/sys/net/routing/rpl/of_mrhof.c b/sys/net/routing/rpl/of_mrhof.c index 56771ea288..5d60dd1ae2 100644 --- a/sys/net/routing/rpl/of_mrhof.c +++ b/sys/net/routing/rpl/of_mrhof.c @@ -1,3 +1,19 @@ +/** + * OF MRHOF implementation + * + * Copyright (C) 2013 Stephan Arndt + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License. See the file LICENSE in the top level directory for more + * details. + * + * @ingroup rpl + * @{ + * @file + * @author Stephan Arndt + * @} + */ + #include #include #include "of_mrhof.h" diff --git a/sys/ping/ping.c b/sys/ping/ping.c index 11f37ccfe9..c214f50395 100644 --- a/sys/ping/ping.c +++ b/sys/ping/ping.c @@ -1,3 +1,19 @@ +/** + * Ping: low level ping pong + * + * Copyright (C) 2013, Igor Merkulow + * + * This file is subject to the terms and conditions of the GNU Lesser General + * Public License. See the file LICENSE in the top level directory for more + * details. + */ + +/** + * @file + * @author Igor Merkulow + * + */ + #include #include #include "thread.h"