aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2009-07-28 11:01:52 +0300
committerPetri Lehtinen <petri@digip.org>2009-07-30 11:32:24 +0300
commit2f4d6f8ae768886f8ee831bae169763856b5a827 (patch)
treeab9565367d59b31d11984e5e8032c84fe30a14fe /src
parentf41e3809844319feae0033ce84d3acc2c5340e8d (diff)
downloadjansson-2f4d6f8ae768886f8ee831bae169763856b5a827.zip
jansson-2f4d6f8ae768886f8ee831bae169763856b5a827.tar.gz
jansson-2f4d6f8ae768886f8ee831bae169763856b5a827.tar.bz2
Add LICENSE and a copyright note to all sources
Diffstat (limited to 'src')
-rw-r--r--src/dump.c7
-rw-r--r--src/jansson.h7
-rw-r--r--src/jansson_private.h7
-rw-r--r--src/load.c7
-rw-r--r--src/strbuffer.c7
-rw-r--r--src/strbuffer.h7
-rw-r--r--src/utf.c7
-rw-r--r--src/utf.h7
-rw-r--r--src/util.h7
-rw-r--r--src/value.c7
10 files changed, 70 insertions, 0 deletions
diff --git a/src/dump.c b/src/dump.c
index 9645e9f..c00260c 100644
--- a/src/dump.c
+++ b/src/dump.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 <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
diff --git a/src/load.c b/src/load.c
index d28721e..88cd1f0 100644
--- a/src/load.c
+++ b/src/load.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 <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
diff --git a/src/utf.c b/src/utf.c
index 0adf01b..cf2e8e4 100644
--- a/src/utf.c
+++ b/src/utf.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 <string.h>
int utf8_encode(int codepoint, char *buffer, int *size)
diff --git a/src/utf.h b/src/utf.h
index b49d8a1..75d7b6e 100644
--- a/src/utf.h
+++ b/src/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 UTF_H
#define UTF_H
diff --git a/src/util.h b/src/util.h
index 5bffa9b..66066c5 100644
--- a/src/util.h
+++ b/src/util.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>