add approprate per-file license headers

This commit is contained in:
David Lamparter 2016-02-28 12:47:42 +01:00
parent 06f6e98d12
commit ae746a3e08
11 changed files with 89 additions and 0 deletions

View file

@ -1,3 +1,10 @@
/* capn-list.inc
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#define CAT2(A,B) A ## B #define CAT2(A,B) A ## B
#define CAT(A,B) CAT2(A, B) #define CAT(A,B) CAT2(A, B)

View file

@ -1,4 +1,13 @@
/* vim: set sw=8 ts=8 sts=8 noet: */ /* vim: set sw=8 ts=8 sts=8 noet: */
/* capn-malloc.c
*
* Copyright (C) 2013 James McKaskill
* Copyright (C) 2014 Steve Dee
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "capn.h" #include "capn.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View file

@ -1,3 +1,12 @@
/* capn-stream-test.cpp
*
* Copyright (C) 2013 James McKaskill
* Copyright (C) 2014 Steve Dee
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "capn-stream.c" #include "capn-stream.c"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View file

@ -1,4 +1,12 @@
/* vim: set sw=8 ts=8 sts=8 noet: */ /* vim: set sw=8 ts=8 sts=8 noet: */
/* capn-stream.c
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "capn.h" #include "capn.h"
#include <string.h> #include <string.h>

View file

@ -1,3 +1,11 @@
/* capn-test.cpp
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <cstdint> #include <cstdint>

8
capn.c
View file

@ -1,4 +1,12 @@
/* vim: set sw=8 ts=8 sts=8 noet: */ /* vim: set sw=8 ts=8 sts=8 noet: */
/* capn.c
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "capn.h" #include "capn.h"
#include <stdlib.h> #include <stdlib.h>

8
capn.h
View file

@ -1,4 +1,12 @@
/* vim: set sw=8 ts=8 sts=8 noet: */ /* vim: set sw=8 ts=8 sts=8 noet: */
/* capn.h
*
* Copyright (C) 2013 James McKaskill
* Copyright (C) 2014 Steve Dee
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#ifndef CAPN_H #ifndef CAPN_H
#define CAPN_H #define CAPN_H

View file

@ -1,3 +1,11 @@
/* capnpc-c.c
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "schema.capnp.h" #include "schema.capnp.h"
#include "str.h" #include "str.h"
#include <stdlib.h> #include <stdlib.h>

View file

@ -1,3 +1,11 @@
/* schema-test.cpp
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "schema.capnp.h" #include "schema.capnp.h"
#include <gtest/gtest.h> #include <gtest/gtest.h>

View file

@ -1,3 +1,11 @@
/* str.c
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "str.h" #include "str.h"
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>

View file

@ -1,4 +1,12 @@
/* vim: set sw=8 ts=8 sts=8 noet: */ /* vim: set sw=8 ts=8 sts=8 noet: */
/* str.h
*
* Copyright (C) 2013 James McKaskill
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <capn.h> #include <capn.h>
#include <stdlib.h> #include <stdlib.h>