]> git.ozlabs.org Git - ccan/commitdiff
various: add LICENSE comments.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jul 2011 05:19:56 +0000 (14:49 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Jul 2011 05:19:56 +0000 (14:49 +0930)
82 files changed:
ccan/alloc/alloc.c
ccan/alloc/alloc.h
ccan/alloc/bitops.c
ccan/alloc/bitops.h
ccan/alloc/tiny.c
ccan/alloc/tiny.h
ccan/antithread/antithread.c
ccan/antithread/antithread.h
ccan/array_size/array_size.h
ccan/asearch/asearch.h
ccan/asort/_info
ccan/asort/asort.h
ccan/asprintf/asprintf.c
ccan/asprintf/asprintf.h
ccan/build_assert/build_assert.h
ccan/cast/cast.h
ccan/check_type/check_type.h
ccan/crc/crc.h
ccan/crcsync/crcsync.c
ccan/crcsync/crcsync.h
ccan/daemon_with_notify/daemon_with_notify.h
ccan/daemonize/daemonize.c
ccan/daemonize/daemonize.h
ccan/endian/endian.h
ccan/failtest/failtest.c
ccan/failtest/failtest.h
ccan/failtest/failtest_override.h
ccan/failtest/failtest_proto.h
ccan/failtest/failtest_undo.h
ccan/foreach/foreach.c
ccan/foreach/foreach.h
ccan/grab_file/grab_file.c
ccan/grab_file/grab_file.h
ccan/htable/htable.c
ccan/htable/htable.h
ccan/htable/htable_type.h
ccan/idtree/idtree.h
ccan/ilog/ilog.c
ccan/ilog/ilog.h
ccan/jbitset/jbitset.c
ccan/jbitset/jbitset.h
ccan/jbitset/jbitset_type.h
ccan/jmap/jmap.c
ccan/jmap/jmap.h
ccan/jmap/jmap_type.h
ccan/lbalance/_info
ccan/lbalance/lbalance.c
ccan/lbalance/lbalance.h
ccan/likely/likely.c
ccan/likely/likely.h
ccan/list/list.c
ccan/list/list.h
ccan/md4/md4.h
ccan/net/net.c
ccan/net/net.h
ccan/opt/helpers.c
ccan/opt/opt.c
ccan/opt/opt.h
ccan/opt/parse.c
ccan/opt/private.h
ccan/opt/usage.c
ccan/read_write_all/read_write_all.c
ccan/read_write_all/read_write_all.h
ccan/sparse_bsearch/sparse_bsearch.c
ccan/sparse_bsearch/sparse_bsearch.h
ccan/str/debug.c
ccan/str/str.c
ccan/str/str.h
ccan/str/str_debug.h
ccan/str_talloc/str_talloc.c
ccan/str_talloc/str_talloc.h
ccan/talloc_link/talloc_link.c
ccan/talloc_link/talloc_link.h
ccan/tally/tally.c
ccan/tally/tally.h
ccan/tdb/hash.c
ccan/time/time.c
ccan/time/time.h
ccan/tlist/tlist.h
ccan/ttxml/ttxml.c
ccan/ttxml/ttxml.h
ccan/typesafe_cb/typesafe_cb.h

index 181f6302f458540d6549560954d41a76e204b2aa..e6f21f887e1a756c29667615db064db246259e80 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>
index a1dd9e2c953bc0a94f3df3269b4cddb945b78d91..8ffa169f67071c08b0e28acfef9f4d14e9670293 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef ALLOC_H
 #define ALLOC_H
 #include <stdio.h>
 #ifndef ALLOC_H
 #define ALLOC_H
 #include <stdio.h>
index e1f25f974e7ec36bf938741f561e366b83824039..978710eb1be13e74f1275bb9db198e4d87c8b698 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "bitops.h"
 #include "config.h"
 #include <ccan/build_assert/build_assert.h>
 #include "bitops.h"
 #include "config.h"
 #include <ccan/build_assert/build_assert.h>
index c6509c3182a5509b72f0cb6544c019e33b2a9bce..3feeed21fcc72a63aa0dddbb3a924726d34d920d 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ALLOC_BITOPS_H
 #define CCAN_ALLOC_BITOPS_H
 unsigned int afls(unsigned long val);
 #ifndef CCAN_ALLOC_BITOPS_H
 #define CCAN_ALLOC_BITOPS_H
 unsigned int afls(unsigned long val);
index 8ab3f7e4a9d758fc345ff60bc4bae85848c73d5f..ffd17c65734f881f1ca355ed9e1a5b705dd3ff46 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "tiny.h"
 #include "bitops.h"
 #include <assert.h>
 #include "tiny.h"
 #include "bitops.h"
 #include <assert.h>
index 37922d9c92d9b6bef917561c7e1a472427b0b22c..5ed4ee1a704db2e6371e227b4ce0e03a8097b786 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_TINY_H
 #define CCAN_TINY_H
 #include <stdbool.h>
 #ifndef CCAN_TINY_H
 #define CCAN_TINY_H
 #include <stdbool.h>
index f077221ed444305a12dbde2d4a1d54a2208a8be2..cd383599a1cf948f0abeb1d7bfde624ff0572046 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
index 77f722c39f1686a540a7626df3a5d62ac05a6da2..42d5a0fadf558b5f2dad28f76d87c70f849419b5 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #ifndef ANTITHREAD_H
 #define ANTITHREAD_H
 #include <ccan/typesafe_cb/typesafe_cb.h>
 #ifndef ANTITHREAD_H
 #define ANTITHREAD_H
 #include <ccan/typesafe_cb/typesafe_cb.h>
index 0876945c5e52a7c19e034fb8fdd1ff5e75d1305f..ae6e3788f769c5d7ae3d6e10a8b554407a34613b 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ARRAY_SIZE_H
 #define CCAN_ARRAY_SIZE_H
 #include "config.h"
 #ifndef CCAN_ARRAY_SIZE_H
 #define CCAN_ARRAY_SIZE_H
 #include "config.h"
index d252284e7d845b19070921868dbdbf45adabb60b..aae6eeda959acd9a18695f7f9707fa83c3170392 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ASEARCH_H
 #define CCAN_ASEARCH_H
 #include <stdlib.h>
 #ifndef CCAN_ASEARCH_H
 #define CCAN_ASEARCH_H
 #include <stdlib.h>
index cbd698acc3b0de68205ca61cdd10f5af099c4d81..c49f6dde4e247051ce57d8576a62d7feae017def 100644 (file)
@@ -11,7 +11,7 @@
  *
  * asort does both.
  *
  *
  * asort does both.
  *
- * License: LGPL
+ * License: LGPL (v2.1 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:
index b7178c5b1d50c1d8f08f8c63ebe8953b042fd42c..3506c2ae01640530c9187b26a9b3e49021b80d44 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ASORT_H
 #define CCAN_ASORT_H
 #include "config.h"
 #ifndef CCAN_ASORT_H
 #define CCAN_ASORT_H
 #include "config.h"
index b6ccce6a4b22bdf05984dd4933da161e62e84734..e9e02d7dd7482bbe2919397d978f46ca6f8d489c 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/asprintf/asprintf.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <ccan/asprintf/asprintf.h>
 #include <stdarg.h>
 #include <stdio.h>
index d006ea4df1298d432e4d3100c3798995e0791c58..958e244b56bc7a73ec71907da85dfcf810266315 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_ASPRINTF_H
 #define CCAN_ASPRINTF_H
 #include "config.h"
 #ifndef CCAN_ASPRINTF_H
 #define CCAN_ASPRINTF_H
 #include "config.h"
index 24e59c44cd930173178ac9b6e101b0af64a879e9..0d6ae8ee3ad21de21313fde2dc18fdb78da3dcd5 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_BUILD_ASSERT_H
 #define CCAN_BUILD_ASSERT_H
 
 #ifndef CCAN_BUILD_ASSERT_H
 #define CCAN_BUILD_ASSERT_H
 
index daebd8572391f07dfb17ae20c341c114c2507c3d..d54209170d73de84343e3dfb6609a17da982737a 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #ifndef CCAN_CAST_H
 #define CCAN_CAST_H
 #include "config.h"
 #ifndef CCAN_CAST_H
 #define CCAN_CAST_H
 #include "config.h"
index 0cf52543e38e6e2d6ef208873fe975839041ce44..1d85df0d3610bac4cd4aefe974c69c1f01b411a7 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_CHECK_TYPE_H
 #define CCAN_CHECK_TYPE_H
 #include "config.h"
 #ifndef CCAN_CHECK_TYPE_H
 #define CCAN_CHECK_TYPE_H
 #include "config.h"
index 6338000e23d937e5628f7a8191ceaf8d2e38a17c..25789b7712b7d307b394a6a246109b0bd003cc99 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_CRC_H
 #define CCAN_CRC_H
 #include <stdint.h>
 #ifndef CCAN_CRC_H
 #define CCAN_CRC_H
 #include <stdint.h>
index 41b9ed40859f1956bb6cde6b3244ca5329942f03..6e87dac43ec8d0a58d65847967a1a0abd737b46b 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "crcsync.h"
 #include <ccan/crc/crc.h>
 #include <string.h>
 #include "crcsync.h"
 #include <ccan/crc/crc.h>
 #include <string.h>
index db64b0f662ae809a4a9c388e38c1fba3ede3f7ec..028c390e45daea70bfb627a760e2d69fb2d7569a 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_CRCSYNC_H
 #define CCAN_CRCSYNC_H
 #include <stdint.h>
 #ifndef CCAN_CRCSYNC_H
 #define CCAN_CRCSYNC_H
 #include <stdint.h>
index f80e7f518c63030012e79c013d66338b10747f17..dff3315f463190fe42667917a42aefd1d2654265 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD 3-clause: see LICENSE */
 #ifndef CCAN_DAEMON_WITH_NOTIFY_H
 #define CCAN_DAEMON_WITH_NOTIFY_H
 
 #ifndef CCAN_DAEMON_WITH_NOTIFY_H
 #define CCAN_DAEMON_WITH_NOTIFY_H
 
index ff12bfce3f7d15dfcab1053f7a673cae23963125..3c0a53a8bfa11a25a6e0685dc4c7f7ed72a4ab10 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/daemonize/daemonize.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <ccan/daemonize/daemonize.h>
 #include <unistd.h>
 #include <stdlib.h>
index abff7cca3a8787673f54c6ff22d34d2da27edbbd..1f473eae22bfc5fca150066606c326801c57c990 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_DAEMONIZE_H
 #define CCAN_DAEMONIZE_H
 #include <stdbool.h>
 #ifndef CCAN_DAEMONIZE_H
 #define CCAN_DAEMONIZE_H
 #include <stdbool.h>
index baee60be144e624b7dee3f61118f3090ba6ec3c2..521911104a1637de9e0daae41707da2b47252389 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ENDIAN_H
 #define CCAN_ENDIAN_H
 #include <stdint.h>
 #ifndef CCAN_ENDIAN_H
 #define CCAN_ENDIAN_H
 #include <stdint.h>
index 2471510614a070c6c404e04d51789bbc28a8536e..d9a0849daf600d1518514df57b74c71be1b78709 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #include "config.h"
 #include <stdarg.h>
 #include <string.h>
 #include "config.h"
 #include <stdarg.h>
 #include <string.h>
index d4d9987b5e38e545244eebc18e0103a053149c8f..9cabd1a9a712d1ac2bb0c559e41a024b136f1f38 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_FAILTEST_H
 #define CCAN_FAILTEST_H
 #include "config.h"
 #ifndef CCAN_FAILTEST_H
 #define CCAN_FAILTEST_H
 #include "config.h"
index dfcc62e0dd5f4ff5630cc727230a1361ce09ca0c..0d71312c4a63f2820214231ea804988f30cd106f 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_FAILTEST_OVERRIDE_H
 #define CCAN_FAILTEST_OVERRIDE_H
 /* This file is included before the source file to test. */
 #ifndef CCAN_FAILTEST_OVERRIDE_H
 #define CCAN_FAILTEST_OVERRIDE_H
 /* This file is included before the source file to test. */
index 18576df62dd7e72852de19da0887a265fab7c2fb..d4967a3e51f8573d3136a9ed9f7ecd0c2f006d0a 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_FAILTEST_PROTO_H
 #define CCAN_FAILTEST_PROTO_H
 #include <stdlib.h>
 #ifndef CCAN_FAILTEST_PROTO_H
 #define CCAN_FAILTEST_PROTO_H
 #include <stdlib.h>
index c44dba47ac9ae611612bc41389c7d8e74cc26929..ff5e47b970730ee65559a1aff6be68712a175303 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_FAILTEST_RESTORE_H
 #define CCAN_FAILTEST_RESTORE_H
 /* This file undoes the effect of failtest_override.h. */
 #ifndef CCAN_FAILTEST_RESTORE_H
 #define CCAN_FAILTEST_RESTORE_H
 /* This file undoes the effect of failtest_override.h. */
index de79eb59af782e8544520e19b6750212a132ac97..879ab86e99c3df3a71a6d0b1dea49297d6818562 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #include <ccan/foreach/foreach.h>
 #if !HAVE_COMPOUND_LITERALS || !HAVE_FOR_LOOP_DECLARATION
 #include <ccan/list/list.h>
 #include <ccan/foreach/foreach.h>
 #if !HAVE_COMPOUND_LITERALS || !HAVE_FOR_LOOP_DECLARATION
 #include <ccan/list/list.h>
index 8e08548f5e33874715ad6bcd65f4b9ab40169fd8..71b4c0282f8e5b561d9c0f607ee8ca67d111d1eb 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #ifndef CCAN_FOREACH_H
 #define CCAN_FOREACH_H
 #include "config.h"
 #ifndef CCAN_FOREACH_H
 #define CCAN_FOREACH_H
 #include "config.h"
index 68a3b7cde32e483ba5cd8af768be15132a2ced13..2a9d0cd7632c5d5739fb3b5581ec2780db00f8ce 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #include "grab_file.h"
 #include <ccan/talloc/talloc.h>
 #include <ccan/noerr/noerr.h>
 #include "grab_file.h"
 #include <ccan/talloc/talloc.h>
 #include <ccan/noerr/noerr.h>
index 5d6d018c34e363ea530475ac8d0d3b65aed8fd2c..96381875781e6db100876b3ee9a0ce8052b7a19d 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef CCAN_GRAB_FILE_H
 #define CCAN_GRAB_FILE_H
 #include <stdio.h> // For size_t
 #ifndef CCAN_GRAB_FILE_H
 #define CCAN_GRAB_FILE_H
 #include <stdio.h> // For size_t
index a15c54d7958a6b779c7e3b7c7b951eb360ef0409..20b6f5ae2dc964c521aa7f517912cd3d4ab9aa6c 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #include <ccan/htable/htable.h>
 #include <ccan/compiler/compiler.h>
 #include <stdint.h>
 #include <ccan/htable/htable.h>
 #include <ccan/compiler/compiler.h>
 #include <stdint.h>
index b68442972c78cb41146f2439267a2fb703a1e11c..73f4da847a0864cd8912d5e8a624f7d4bb8a5a50 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef CCAN_HTABLE_H
 #define CCAN_HTABLE_H
 #include "config.h"
 #ifndef CCAN_HTABLE_H
 #define CCAN_HTABLE_H
 #include "config.h"
index 0d9e3fbb2dcce3ec7b183627d81fc577a3a82f24..af9da1b22692baa0331241a0bde56a84899a6165 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef CCAN_HTABLE_TYPE_H
 #define CCAN_HTABLE_TYPE_H
 #include <ccan/htable/htable.h>
 #ifndef CCAN_HTABLE_TYPE_H
 #define CCAN_HTABLE_TYPE_H
 #include <ccan/htable/htable.h>
index 3835d7f522b38582f7e592dda2e76dd99e792874..7e58aa56bac314672d475e9af6f757d1369a61fd 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_IDTREE_H
 #define CCAN_IDTREE_H
 #include <stdbool.h>
 #ifndef CCAN_IDTREE_H
 #define CCAN_IDTREE_H
 #include <stdbool.h>
index 7030b79a24d292168cbe0b8437aa4affa1ccc57d..22275d2a9e02d12cf983a2b4195787349af6cea6 100644 (file)
@@ -1,4 +1,5 @@
-/*(C) Timothy B. Terriberry (tterribe@xiph.org) 2001-2009 LGPL (v2 or later).*/
+/*(C) Timothy B. Terriberry (tterribe@xiph.org) 2001-2009 LGPL (v2 or later).
+ * See LICENSE file for details. */
 #include "ilog.h"
 #include <limits.h>
 
 #include "ilog.h"
 #include <limits.h>
 
index 55dd009885a73c488cb41280f64a319e84ed6233..1a471c2d347719febfaf735a8330919ebf99155e 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #if !defined(_ilog_H)
 # define _ilog_H (1)
 # include "config.h"
 #if !defined(_ilog_H)
 # define _ilog_H (1)
 # include "config.h"
index 4efc775099296069be0c3691f8a3fd4ffd2a5292..a077afa212cf6c10286696d9a5a71e1feb36db05 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <ccan/jbitset/jbitset.h>
 #include <ccan/build_assert/build_assert.h>
 #include <stdlib.h>
 #include <ccan/jbitset/jbitset.h>
 #include <ccan/build_assert/build_assert.h>
 #include <stdlib.h>
index 77a158c9c8f482177e0d93956b8f33bc8f00779c..6da79d77a7cadb952b9cee2782c2238f4ea09d8c 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_JBITSET_H
 #define CCAN_JBITSET_H
 #include <Judy.h>
 #ifndef CCAN_JBITSET_H
 #define CCAN_JBITSET_H
 #include <Judy.h>
index abd8c2b66ae1672f1711b37e68afddff55a0bb1c..c563a8e518d96db3b5f5e483c7ce9fdc6e1bf2b9 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_JBITSET_TYPE_H
 #define CCAN_JBITSET_TYPE_H
 #include <ccan/jbitset/jbitset.h>
 #ifndef CCAN_JBITSET_TYPE_H
 #define CCAN_JBITSET_TYPE_H
 #include <ccan/jbitset/jbitset.h>
index 1773d56f5ddecc8afe4420fb17bc106ffe601025..38b912fd200b98b1c5df8074c1a77d188306fd37 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <ccan/jmap/jmap.h>
 #include <ccan/build_assert/build_assert.h>
 #include <stdlib.h>
 #include <ccan/jmap/jmap.h>
 #include <ccan/build_assert/build_assert.h>
 #include <stdlib.h>
index f1b2f03864aa084e0675dca9c90d13a3b0508a29..26a8d339bd582e40e265759e8bfb4069dda0771d 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_JMAP_H
 #define CCAN_JMAP_H
 #include <stddef.h>
 #ifndef CCAN_JMAP_H
 #define CCAN_JMAP_H
 #include <stddef.h>
index 92850cbe135d516fc70e2b85793b6aed4b826452..43155a2c1abb5731563922e951486871bf2ceaed 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_JMAP_TYPE_H
 #define CCAN_JMAP_TYPE_H
 #include <ccan/jmap/jmap.h>
 #ifndef CCAN_JMAP_TYPE_H
 #define CCAN_JMAP_TYPE_H
 #include <ccan/jmap/jmap.h>
index e3e9c78e7a32434f858f27a2c4533f8b2afc1bdd..2121ed2b4da2f53756118fc75f1f7ec5076cec68 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include "config.h"
 #include <string.h>
 
 #include "config.h"
 #include <string.h>
 
index c3cc4a22752b77266be4d26e42daa4c52fbbe20e..d3763a3f7884259bb5c8b70379f287dd66194cb8 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/lbalance/lbalance.h>
 #include <ccan/tlist/tlist.h>
 #include <sys/time.h>
 #include <ccan/lbalance/lbalance.h>
 #include <ccan/tlist/tlist.h>
 #include <sys/time.h>
index b5de8aa67b33730fdb84a465b160334cace06b3b..943e1636603ea037e1de05bfb091785ed8c61396 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #ifndef CCAN_LBALANCE_H
 #define CCAN_LBALANCE_H
 #include "config.h"
 #ifndef CCAN_LBALANCE_H
 #define CCAN_LBALANCE_H
 #include "config.h"
index 8893d0b6d244b5af79831a66900375fcce48b324..faa2bd8eb8fe22e3c8d85df77883b6550008368c 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifdef CCAN_LIKELY_DEBUG
 #include <ccan/likely/likely.h>
 #include <ccan/hash/hash.h>
 #ifdef CCAN_LIKELY_DEBUG
 #include <ccan/likely/likely.h>
 #include <ccan/hash/hash.h>
index 0fad89c42bb80088f78116a8bfb054123c8ef355..5e4fc831c960dbe09d480fbc20182c596e3703f6 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_LIKELY_H
 #define CCAN_LIKELY_H
 #include "config.h"
 #ifndef CCAN_LIKELY_H
 #define CCAN_LIKELY_H
 #include "config.h"
index d876f21e7b06b0bd06a38fdd89b5b35ff6d62d31..29dc30ba195876690eba54cac576336cb1461a41 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <stdio.h>
 #include <stdlib.h>
 #include "list.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include "list.h"
index da2ac73537b6c9d46d67df62c51faa330c927e70..18f077aec20418c65711230ff051bc85670a2cbb 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_LIST_H
 #define CCAN_LIST_H
 #include <stdbool.h>
 #ifndef CCAN_LIST_H
 #define CCAN_LIST_H
 #include <stdbool.h>
index 22d0b85b9f9e8bc30fdfbadce5276b53eca4393f..9c3e37a3000f4dc8255038d4c998901859ebc92b 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_MD4_H
 #define CCAN_MD4_H
 #include <stdint.h>
 #ifndef CCAN_MD4_H
 #define CCAN_MD4_H
 #include <stdint.h>
index 816c8eef98872a71b8a9a54d9e83de4e896dcd0f..30f6560ea29a6423be34e4e04373857eb6dcf88e 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/net/net.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <ccan/net/net.h>
 #include <sys/types.h>
 #include <sys/socket.h>
index 456ca9d6d2052b624dbc450f25b4c33d1b732d77..a336281ef609417ca02b5c758534cefdb81f5664 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_NET_H
 #define CCAN_NET_H
 /**
 #ifndef CCAN_NET_H
 #define CCAN_NET_H
 /**
index e657ebff8727090c676e7e594520855fa208de89..9c181946d6122122c2d89cf3b137129b4bd2f1d9 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <stdlib.h>
index 827109e34074f0edc33226f8157ab31bd27bd70c..5aaa000b64a1cd31fd1078c021d62c4117c47146 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <errno.h>
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <errno.h>
index e06cd4424c746e215185481ce08375b6024e49d0..643c18de336ba17cdcec3f3f7161dee6b3b513ae 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #ifndef CCAN_OPT_H
 #define CCAN_OPT_H
 #include <ccan/compiler/compiler.h>
 #ifndef CCAN_OPT_H
 #define CCAN_OPT_H
 #include <ccan/compiler/compiler.h>
index 7b7c02c5936f5af60d7b702979473fdf2dbd1820..b92bcb14871eed40e4873e8473ac1c359e46d5e7 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 /* Actual code to parse commandline. */
 #include <ccan/opt/opt.h>
 #include <string.h>
 /* Actual code to parse commandline. */
 #include <ccan/opt/opt.h>
 #include <string.h>
index 048951e90c55f47285ccf1463567cf8241c1a5f1..f2199e48dc90b3581e376d91323a64d843fa2e2b 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #ifndef CCAN_OPT_PRIVATE_H
 #define CCAN_OPT_PRIVATE_H
 
 #ifndef CCAN_OPT_PRIVATE_H
 #define CCAN_OPT_PRIVATE_H
 
index 4d784bc2be73550a5b9818a31a245eafbc56adf7..f321ed2949a8bfb7cd5cdbce5955780dba1cd233 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <stdlib.h>
index 92efd4298f7edb623225862512491451f0ae5df9..7f0b70b9d020f5665cdd3ceec467d9115b120c4a 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #include "read_write_all.h"
 #include <unistd.h>
 #include <errno.h>
 #include "read_write_all.h"
 #include <unistd.h>
 #include <errno.h>
index 05f79852af642a8649307e3239e2aa12ce3427e4..aa2635aaf26b93912c3b6e7f37ba322ebf2959d1 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef _CCAN_READ_WRITE_H
 #define _CCAN_READ_WRITE_H
 #include <stddef.h>
 #ifndef _CCAN_READ_WRITE_H
 #define _CCAN_READ_WRITE_H
 #include <stddef.h>
index f0d58d23bf601cf9455e8826366ba0707b2508a2..6db7cc24ec84a58d7a732d65cdd5f485bb6a2077 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #include "sparse_bsearch.h"
 
 void *_sparse_bsearch(const void *key, const void *base,
 #include "sparse_bsearch.h"
 
 void *_sparse_bsearch(const void *key, const void *base,
index 5a0a7348f1d50b0362a49d3f290a19f8df4cc8b8..a673371433735d9ed9a1a170386b027a4a88cbcf 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef SPARSE_BSEARCH_H
 #define SPARSE_BSEARCH_H
 #include <stdbool.h>
 #ifndef SPARSE_BSEARCH_H
 #define SPARSE_BSEARCH_H
 #include <stdbool.h>
index 9ef756766aa557b61e1ab4abeaaceba71900beaf..42d19f8197f9ff03795397843a1385e19a1a225f 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "config.h"
 #include <ccan/str/str_debug.h>
 #include <assert.h>
 #include "config.h"
 #include <ccan/str/str_debug.h>
 #include <assert.h>
index fa9809fbd94d3670ac6190697f253f9c208b4342..0271a59885f0c5cdd3f1445f1f1abd2158df8f4d 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <ccan/str/str.h>
 
 size_t strcount(const char *haystack, const char *needle)
 #include <ccan/str/str.h>
 
 size_t strcount(const char *haystack, const char *needle)
index ae51cdcc998e85b6a5014239bbd5cadc1bc9cda8..7392e30fbacd7b1706658f7cff1dbb5a031ee56a 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_STR_H
 #define CCAN_STR_H
 #include "config.h"
 #ifndef CCAN_STR_H
 #define CCAN_STR_H
 #include "config.h"
index 6b56477689efe31b0e622779a8a0130f45a6b2b2..f029e8ef90dfe38da1a0ebfc66e25ae7c2ceea35 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_STR_DEBUG_H
 #define CCAN_STR_DEBUG_H
 
 #ifndef CCAN_STR_DEBUG_H
 #define CCAN_STR_DEBUG_H
 
index 88e02ef2edfc58bab2a33c1abad4b9000a19fc61..ce7fdf8f557962de34eeaeaec10b6985f9b0f429 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>
index 337422dee3e9af037051890e6db3f5ef02306b6f..c6e6a84bb00d64a496973d5a756ac31d993c9261 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_STR_TALLOC_H
 #define CCAN_STR_TALLOC_H
 #include <string.h>
 #ifndef CCAN_STR_TALLOC_H
 #define CCAN_STR_TALLOC_H
 #include <string.h>
index b72b436e8a9a70b6da8aca8e6bf03e84a372f8ec..280f8eb2f3d838cda7cbfeb1bd55af9e13d1aafd 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #include <ccan/list/list.h>
 #include <ccan/talloc/talloc.h>
 #include <ccan/talloc_link/talloc_link.h>
 #include <ccan/list/list.h>
 #include <ccan/talloc/talloc.h>
 #include <ccan/talloc_link/talloc_link.h>
index a51b760c139148a7a2da63ec474810091458a8e2..2cd0df88b3a267319f9f012c3b9fbdb82fdc6e80 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef TALLOC_LINK_H
 #define TALLOC_LINK_H
 #include <ccan/talloc/talloc.h>
 #ifndef TALLOC_LINK_H
 #define TALLOC_LINK_H
 #include <ccan/talloc/talloc.h>
index 396474b250e0c04be0b8a581a2fddc1bb553c7a4..0d49319608d2ff6dc53edf9d62429e055c50f152 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #include <ccan/tally/tally.h>
 #include <ccan/build_assert/build_assert.h>
 #include <ccan/likely/likely.h>
 #include <ccan/tally/tally.h>
 #include <ccan/build_assert/build_assert.h>
 #include <ccan/likely/likely.h>
index 650e2656cd888b7c624455550b573b93f035fb52..c9272f1000fa516cb5c321249ee711088301a2c2 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #ifndef CCAN_TALLY_H
 #define CCAN_TALLY_H
 #include "config.h"
 #ifndef CCAN_TALLY_H
 #define CCAN_TALLY_H
 #include "config.h"
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 */
 #include "tdb_private.h"
 
 /* This is based on the hash algorithm from gdbm */
index 1f36c081a0c99b0a3dfb448a211d2f73a8aa3308..5e36bf7b48dec210ac3f9341b9caee53b7164acb 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/time/time.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <ccan/time/time.h>
 #include <stdlib.h>
 #include <assert.h>
index e3a579115c56c9c680ca873fbe0d61e2b715d53a..fb2ee459d694a99c40f31efcbacc1530c549eeed 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_TIME_H
 #define CCAN_TIME_H
 #include "config.h"
 #ifndef CCAN_TIME_H
 #define CCAN_TIME_H
 #include "config.h"
index 82471d67a0bf091869f65df4f2002703d64c27e0..7e43fe29ee8a8ed664374ec8b59ca82376f988f1 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_TLIST_H
 #define CCAN_TLIST_H
 #include <ccan/list/list.h>
 #ifndef CCAN_TLIST_H
 #define CCAN_TLIST_H
 #include <ccan/list/list.h>
index e362ed284f1beb02131357f4d201171070872f27..80c34841297b109c049ebb68f40bee10bd8090f8 100644 (file)
@@ -1,4 +1,4 @@
-\r
+/* Licensed under GPL - see LICENSE file for details */\r
 #include <stdlib.h>\r
 #include <string.h>\r
 #include <stdio.h>\r
 #include <stdlib.h>\r
 #include <string.h>\r
 #include <stdio.h>\r
index 0b8c156d84d9907fdf4a2af3950f82d264552682..e201a36cdc1cdf39c9edc09f4a7e12e00105be39 100644 (file)
@@ -1,4 +1,4 @@
-
+/* Licensed under GPL - see LICENSE file for details */
 typedef struct XmlNode {
        char * name;
        char ** attrib;
 typedef struct XmlNode {
        char * name;
        char ** attrib;
index 40cfa3979891c3ac04cac3a8204e8d59693d8e70..3dddd501a3f8f00eaa5ad33ae6357776e24f9110 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_TYPESAFE_CB_H
 #define CCAN_TYPESAFE_CB_H
 #include "config.h"
 #ifndef CCAN_TYPESAFE_CB_H
 #define CCAN_TYPESAFE_CB_H
 #include "config.h"