diff options
-rw-r--r-- | LICENSE | 19 | ||||
-rw-r--r-- | src/dump.c | 7 | ||||
-rw-r--r-- | src/jansson.h | 7 | ||||
-rw-r--r-- | src/jansson_private.h | 7 | ||||
-rw-r--r-- | src/load.c | 7 | ||||
-rw-r--r-- | src/strbuffer.c | 7 | ||||
-rw-r--r-- | src/strbuffer.h | 7 | ||||
-rw-r--r-- | src/utf.c | 7 | ||||
-rw-r--r-- | src/utf.h | 7 | ||||
-rw-r--r-- | src/util.h | 7 | ||||
-rw-r--r-- | src/value.c | 7 | ||||
-rw-r--r-- | test/load_file_dump_file.c | 7 | ||||
-rw-r--r-- | test/loadf_dumpf.c | 7 | ||||
-rw-r--r-- | test/loads_dumps.c | 7 | ||||
-rw-r--r-- | test/run-test | 5 | ||||
-rwxr-xr-x | test/split-testfile.py | 5 | ||||
-rwxr-xr-x | test/test-invalid | 5 | ||||
-rwxr-xr-x | test/test-valid | 5 |
18 files changed, 130 insertions, 0 deletions
@@ -0,0 +1,19 @@ +Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> diff --git a/src/jansson.h b/src/jansson.h index 9b79892..91bf553 100644 --- a/src/jansson.h +++ b/src/jansson.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #ifndef JANSSON_H #define JANSSON_H diff --git a/src/jansson_private.h b/src/jansson_private.h index d359ed5..ad8419a 100644 --- a/src/jansson_private.h +++ b/src/jansson_private.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #ifndef JANSSON_PRIVATE_H #define JANSSON_PRIVATE_H @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #define _GNU_SOURCE #include <ctype.h> #include <errno.h> diff --git a/src/strbuffer.c b/src/strbuffer.c index 7de7be4..1a71a53 100644 --- a/src/strbuffer.c +++ b/src/strbuffer.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #define _GNU_SOURCE #include <stdlib.h> #include <string.h> diff --git a/src/strbuffer.h b/src/strbuffer.h index ec1009e..4afefa9 100644 --- a/src/strbuffer.h +++ b/src/strbuffer.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #ifndef STRBUFFER_H #define STRBUFFER_H @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #include <string.h> int utf8_encode(int codepoint, char *buffer, int *size) @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #ifndef UTF_H #define UTF_H @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #ifndef UTIL_H #define UTIL_H diff --git a/src/value.c b/src/value.c index 6f0094b..1aaec90 100644 --- a/src/value.c +++ b/src/value.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #define _GNU_SOURCE #include <stdlib.h> #include <string.h> diff --git a/test/load_file_dump_file.c b/test/load_file_dump_file.c index 5add119..ac55afe 100644 --- a/test/load_file_dump_file.c +++ b/test/load_file_dump_file.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #include <stdio.h> #include <jansson.h> diff --git a/test/loadf_dumpf.c b/test/loadf_dumpf.c index ce9d873..75b889f 100644 --- a/test/loadf_dumpf.c +++ b/test/loadf_dumpf.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #include <stdio.h> #include <jansson.h> diff --git a/test/loads_dumps.c b/test/loads_dumps.c index ab8db1a..d2a7240 100644 --- a/test/loads_dumps.c +++ b/test/loads_dumps.c @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2009 Petri Lehtinen <petri@digip.org> + * + * Jansson is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + #include <stdio.h> #include <stdlib.h> #include <jansson.h> diff --git a/test/run-test b/test/run-test index 2086c82..0df1471 100644 --- a/test/run-test +++ b/test/run-test @@ -1,3 +1,8 @@ +# Copyright (c) 2009 Petri Lehtinen <petri@digip.org> +# +# Jansson is free software; you can redistribute it and/or modify +# it under the terms of the MIT license. See LICENSE for details. + VALGRIND_CMDLINE="valgrind --leak-check=full --show-reachable=yes --track-origins=yes -q" run_testprog() { diff --git a/test/split-testfile.py b/test/split-testfile.py index fdbe6ba..0191302 100755 --- a/test/split-testfile.py +++ b/test/split-testfile.py @@ -1,4 +1,9 @@ #!/usr/bin/python +# +# Copyright (c) 2009 Petri Lehtinen <petri@digip.org> +# +# Jansson is free software; you can redistribute it and/or modify +# it under the terms of the MIT license. See LICENSE for details. import os import sys diff --git a/test/test-invalid b/test/test-invalid index e7268da..60c4cca 100755 --- a/test/test-invalid +++ b/test/test-invalid @@ -1,4 +1,9 @@ #!/bin/sh +# +# Copyright (c) 2009 Petri Lehtinen <petri@digip.org> +# +# Jansson is free software; you can redistribute it and/or modify +# it under the terms of the MIT license. See LICENSE for details. TESTFILES="${srcdir}/testdata/invalid ${srcdir}/testdata/invalid-unicode" diff --git a/test/test-valid b/test/test-valid index 45c08fb..55489ea 100755 --- a/test/test-valid +++ b/test/test-valid @@ -1,4 +1,9 @@ #!/bin/sh +# +# Copyright (c) 2009 Petri Lehtinen <petri@digip.org> +# +# Jansson is free software; you can redistribute it and/or modify +# it under the terms of the MIT license. See LICENSE for details. TESTFILES="${srcdir}/testdata/valid" |