Merge pull request #590 from authmillenon/licensing

Fix authmillenon's licensing
dev/timer
Martin Lenders 10 years ago
commit f7244fbb7c

@ -6,6 +6,15 @@
* details.
*/
/**
* @ingroup posix
* @{
* @file fd.c
* @brief Providing unifying file descriptor wrapper for POSIX-compliant
* operations.
* @author Christian Mehlis <mehlis@inf.fu-berlin.de>
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@ -97,3 +106,7 @@ void fd_destroy(int fd)
memset(cur, 0, sizeof(fd_t));
}
/**
* @}
*/

@ -5,6 +5,13 @@
* Public License. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @{
* @file netinet_in.c
* @brief Providing values for in6addr_any and in6addr_loopback.
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
*/
#include <netinet/in.h>
const struct sockaddr_in6 in6addr_any = {{AF_INET6, 0, 0, IN6ADDR_ANY_INIT}, 0};
@ -12,3 +19,7 @@ const struct sockaddr_in6 in6addr_loopback = {{
AF_INET6, 0, 0, IN6ADDR_LOOPBACK_INIT
}, 0
};
/**
* @}
*/

@ -6,6 +6,12 @@
* details.
*/
/**
* @{
* @file sys_socket.c
* @brief Providing implementation for POSIX socket wrapper.
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
*/
#include <errno.h>
#include "destiny/socket.h"
@ -175,3 +181,7 @@ int setsockopt(int socket, int level, int option_name, const void *option_value,
// TODO
return -1;
}
/**
* @}
*/

@ -1,3 +1,17 @@
/*
* Copyright (C) 2013 Freie Universität Berlin
*
* This file 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 strings.c
* @brief Providing implementation for prototypes defined in strings.h.
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
*/
#include <strings.h>
#include <ctype.h>
@ -14,3 +28,7 @@ int strncasecmp(const char *s1, const char *s2, size_t n)
return (tolower((unsigned char) *s1) - tolower((unsigned char) *s2));
}
/**
* @}
*/

@ -5,6 +5,13 @@
* Public License. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @{
* @file fd.c
* @brief Providing implementation for close for fds defined in fd.h.
* @author Martin Lenders <mlenders@inf.fu-berlin.de>
*/
#include <errno.h>
#include "fd.h"
@ -28,3 +35,7 @@ int close(int fildes)
return 0;
}
/**
* @}
*/

Loading…
Cancel
Save