]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/hash.c
container_of: don't put member_ptr in container_off.
[ccan] / ccan / tdb / hash.c
index 2408f887c18be3f801e7e5e6d32c85fa2e6fcec7..5d920bb22731954b020587410413a2e98cfa6360 100644 (file)
@@ -1,3 +1,27 @@
+ /*
+   Unix SMB/CIFS implementation.
+
+   trivial database library
+
+   Copyright (C) Rusty Russell            2010
+
+     ** NOTE! The following LGPL license applies to the tdb
+     ** library. This does NOT imply that all of Samba is released
+     ** under the LGPL
+
+   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 "tdb_private.h"
 
 /* This is based on the hash algorithm from gdbm */