summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-07-21 14:44:50 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-08-31 09:52:43 +0200
commit80f4a936f27ff457855dbc21979fc4c0306ffb76 (patch)
tree5ff7169b48e323dede4e9c97bd9949e1c7923d6c /lib
parentcdce32470a9e6f16da5149c91989382390012663 (diff)
downloadsamba-80f4a936f27ff457855dbc21979fc4c0306ffb76.tar.gz
samba-80f4a936f27ff457855dbc21979fc4c0306ffb76.tar.bz2
samba-80f4a936f27ff457855dbc21979fc4c0306ffb76.zip
tdb2: add full LGPL headers
This is for SAMBA, so we follow their rules and do full license headers. Two files were missing them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 58025731) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Aug 31 09:52:43 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb2/open.c17
-rw-r--r--lib/tdb2/tdb.c17
2 files changed, 34 insertions, 0 deletions
diff --git a/lib/tdb2/open.c b/lib/tdb2/open.c
index c35598cdcc..63076ec77f 100644
--- a/lib/tdb2/open.c
+++ b/lib/tdb2/open.c
@@ -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>
diff --git a/lib/tdb2/tdb.c b/lib/tdb2/tdb.c
index 753ccb0c8b..82b9c323d6 100644
--- a/lib/tdb2/tdb.c
+++ b/lib/tdb2/tdb.c
@@ -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"
#ifndef _SAMBA_BUILD_
#include <ccan/asprintf/asprintf.h>