]> git.ozlabs.org Git - ccan/commitdiff
tdb2: add full LGPL headers
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jul 2011 05:14:50 +0000 (14:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jul 2011 05:14:50 +0000 (14:44 +0930)
This is for SAMBA, so we follow their rules and do full license
headers.  Two files were missing them.

ccan/tdb2/open.c
ccan/tdb2/tdb.c

index def816775c76efa8cd80db786084926c6e04e5d8..e88c9e694c531b67bf4a6ff33d113a3b4078ad59 100644 (file)
@@ -1,3 +1,20 @@
+ /*
+   Trivial Database 2: opening and closing TDBs
+   Copyright (C) Rusty Russell 2010
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, see <http://www.gnu.org/licenses/>.
+*/
 #include "private.h"
 #include <ccan/hash/hash.h>
 #include <assert.h>
index f11701d9ea9c686cfc2b0beefbea069eb3602542..a2d36b373c4b7d875aeb45e477366a2ae3371972 100644 (file)
@@ -1,3 +1,20 @@
+ /*
+   Trivial Database 2: fetch, store and misc routines.
+   Copyright (C) Rusty Russell 2010
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 3 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, see <http://www.gnu.org/licenses/>.
+*/
 #include "private.h"
 #include <ccan/asprintf/asprintf.h>
 #include <stdarg.h>