Browse Source

various: add LICENSE comments.

Rusty Russell 14 years ago
parent
commit
74257cee33
82 changed files with 106 additions and 4 deletions
  1. 1 0
      ccan/alloc/alloc.c
  2. 1 0
      ccan/alloc/alloc.h
  3. 1 0
      ccan/alloc/bitops.c
  4. 1 0
      ccan/alloc/bitops.h
  5. 1 0
      ccan/alloc/tiny.c
  6. 1 0
      ccan/alloc/tiny.h
  7. 1 0
      ccan/antithread/antithread.c
  8. 1 0
      ccan/antithread/antithread.h
  9. 1 0
      ccan/array_size/array_size.h
  10. 1 0
      ccan/asearch/asearch.h
  11. 1 1
      ccan/asort/_info
  12. 1 0
      ccan/asort/asort.h
  13. 1 0
      ccan/asprintf/asprintf.c
  14. 1 0
      ccan/asprintf/asprintf.h
  15. 1 0
      ccan/build_assert/build_assert.h
  16. 1 0
      ccan/cast/cast.h
  17. 1 0
      ccan/check_type/check_type.h
  18. 1 0
      ccan/crc/crc.h
  19. 1 0
      ccan/crcsync/crcsync.c
  20. 1 0
      ccan/crcsync/crcsync.h
  21. 1 0
      ccan/daemon_with_notify/daemon_with_notify.h
  22. 1 0
      ccan/daemonize/daemonize.c
  23. 1 0
      ccan/daemonize/daemonize.h
  24. 1 0
      ccan/endian/endian.h
  25. 1 0
      ccan/failtest/failtest.c
  26. 1 0
      ccan/failtest/failtest.h
  27. 1 0
      ccan/failtest/failtest_override.h
  28. 1 0
      ccan/failtest/failtest_proto.h
  29. 1 0
      ccan/failtest/failtest_undo.h
  30. 1 0
      ccan/foreach/foreach.c
  31. 1 0
      ccan/foreach/foreach.h
  32. 1 0
      ccan/grab_file/grab_file.c
  33. 1 0
      ccan/grab_file/grab_file.h
  34. 1 0
      ccan/htable/htable.c
  35. 1 0
      ccan/htable/htable.h
  36. 1 0
      ccan/htable/htable_type.h
  37. 1 0
      ccan/idtree/idtree.h
  38. 2 1
      ccan/ilog/ilog.c
  39. 1 0
      ccan/ilog/ilog.h
  40. 1 0
      ccan/jbitset/jbitset.c
  41. 1 0
      ccan/jbitset/jbitset.h
  42. 1 0
      ccan/jbitset/jbitset_type.h
  43. 1 0
      ccan/jmap/jmap.c
  44. 1 0
      ccan/jmap/jmap.h
  45. 1 0
      ccan/jmap/jmap_type.h
  46. 1 0
      ccan/lbalance/_info
  47. 1 0
      ccan/lbalance/lbalance.c
  48. 1 0
      ccan/lbalance/lbalance.h
  49. 1 0
      ccan/likely/likely.c
  50. 1 0
      ccan/likely/likely.h
  51. 1 0
      ccan/list/list.c
  52. 1 0
      ccan/list/list.h
  53. 1 0
      ccan/md4/md4.h
  54. 1 0
      ccan/net/net.c
  55. 1 0
      ccan/net/net.h
  56. 1 0
      ccan/opt/helpers.c
  57. 1 0
      ccan/opt/opt.c
  58. 1 0
      ccan/opt/opt.h
  59. 1 0
      ccan/opt/parse.c
  60. 1 0
      ccan/opt/private.h
  61. 1 0
      ccan/opt/usage.c
  62. 1 0
      ccan/read_write_all/read_write_all.c
  63. 1 0
      ccan/read_write_all/read_write_all.h
  64. 1 0
      ccan/sparse_bsearch/sparse_bsearch.c
  65. 1 0
      ccan/sparse_bsearch/sparse_bsearch.h
  66. 1 0
      ccan/str/debug.c
  67. 1 0
      ccan/str/str.c
  68. 1 0
      ccan/str/str.h
  69. 1 0
      ccan/str/str_debug.h
  70. 1 0
      ccan/str_talloc/str_talloc.c
  71. 1 0
      ccan/str_talloc/str_talloc.h
  72. 1 0
      ccan/talloc_link/talloc_link.c
  73. 1 0
      ccan/talloc_link/talloc_link.h
  74. 1 0
      ccan/tally/tally.c
  75. 1 0
      ccan/tally/tally.h
  76. 24 0
      ccan/tdb/hash.c
  77. 1 0
      ccan/time/time.c
  78. 1 0
      ccan/time/time.h
  79. 1 0
      ccan/tlist/tlist.h
  80. 1 1
      ccan/ttxml/ttxml.c
  81. 1 1
      ccan/ttxml/ttxml.h
  82. 1 0
      ccan/typesafe_cb/typesafe_cb.h

+ 1 - 0
ccan/alloc/alloc.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>

+ 1 - 0
ccan/alloc/alloc.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef ALLOC_H
 #define ALLOC_H
 #include <stdio.h>

+ 1 - 0
ccan/alloc/bitops.c

@@ -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>

+ 1 - 0
ccan/alloc/bitops.h

@@ -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);

+ 1 - 0
ccan/alloc/tiny.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "tiny.h"
 #include "bitops.h"
 #include <assert.h>

+ 1 - 0
ccan/alloc/tiny.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_TINY_H
 #define CCAN_TINY_H
 #include <stdbool.h>

+ 1 - 0
ccan/antithread/antithread.c

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>

+ 1 - 0
ccan/antithread/antithread.h

@@ -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>

+ 1 - 0
ccan/array_size/array_size.h

@@ -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"

+ 1 - 0
ccan/asearch/asearch.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ASEARCH_H
 #define CCAN_ASEARCH_H
 #include <stdlib.h>

+ 1 - 1
ccan/asort/_info

@@ -11,7 +11,7 @@
  *
  * asort does both.
  *
- * License: LGPL
+ * License: LGPL (v2.1 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:

+ 1 - 0
ccan/asort/asort.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ASORT_H
 #define CCAN_ASORT_H
 #include "config.h"

+ 1 - 0
ccan/asprintf/asprintf.c

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/asprintf/asprintf.h>
 #include <stdarg.h>
 #include <stdio.h>

+ 1 - 0
ccan/asprintf/asprintf.h

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_ASPRINTF_H
 #define CCAN_ASPRINTF_H
 #include "config.h"

+ 1 - 0
ccan/build_assert/build_assert.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_BUILD_ASSERT_H
 #define CCAN_BUILD_ASSERT_H
 

+ 1 - 0
ccan/cast/cast.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #ifndef CCAN_CAST_H
 #define CCAN_CAST_H
 #include "config.h"

+ 1 - 0
ccan/check_type/check_type.h

@@ -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"

+ 1 - 0
ccan/crc/crc.h

@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_CRC_H
 #define CCAN_CRC_H
 #include <stdint.h>

+ 1 - 0
ccan/crcsync/crcsync.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "crcsync.h"
 #include <ccan/crc/crc.h>
 #include <string.h>

+ 1 - 0
ccan/crcsync/crcsync.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_CRCSYNC_H
 #define CCAN_CRCSYNC_H
 #include <stdint.h>

+ 1 - 0
ccan/daemon_with_notify/daemon_with_notify.h

@@ -1,3 +1,4 @@
+/* Licensed under BSD 3-clause: see LICENSE */
 #ifndef CCAN_DAEMON_WITH_NOTIFY_H
 #define CCAN_DAEMON_WITH_NOTIFY_H
 

+ 1 - 0
ccan/daemonize/daemonize.c

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/daemonize/daemonize.h>
 #include <unistd.h>
 #include <stdlib.h>

+ 1 - 0
ccan/daemonize/daemonize.h

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_DAEMONIZE_H
 #define CCAN_DAEMONIZE_H
 #include <stdbool.h>

+ 1 - 0
ccan/endian/endian.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_ENDIAN_H
 #define CCAN_ENDIAN_H
 #include <stdint.h>

+ 1 - 0
ccan/failtest/failtest.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #include "config.h"
 #include <stdarg.h>
 #include <string.h>

+ 1 - 0
ccan/failtest/failtest.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPL - see LICENSE file for details */
 #ifndef CCAN_FAILTEST_H
 #define CCAN_FAILTEST_H
 #include "config.h"

+ 1 - 0
ccan/failtest/failtest_override.h

@@ -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. */

+ 1 - 0
ccan/failtest/failtest_proto.h

@@ -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>

+ 1 - 0
ccan/failtest/failtest_undo.h

@@ -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. */

+ 1 - 0
ccan/foreach/foreach.c

@@ -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>

+ 1 - 0
ccan/foreach/foreach.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #ifndef CCAN_FOREACH_H
 #define CCAN_FOREACH_H
 #include "config.h"

+ 1 - 0
ccan/grab_file/grab_file.c

@@ -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>

+ 1 - 0
ccan/grab_file/grab_file.h

@@ -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

+ 1 - 0
ccan/htable/htable.c

@@ -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>

+ 1 - 0
ccan/htable/htable.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef CCAN_HTABLE_H
 #define CCAN_HTABLE_H
 #include "config.h"

+ 1 - 0
ccan/htable/htable_type.h

@@ -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>

+ 1 - 0
ccan/idtree/idtree.h

@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_IDTREE_H
 #define CCAN_IDTREE_H
 #include <stdbool.h>

+ 2 - 1
ccan/ilog/ilog.c

@@ -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>
 

+ 1 - 0
ccan/ilog/ilog.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #if !defined(_ilog_H)
 # define _ilog_H (1)
 # include "config.h"

+ 1 - 0
ccan/jbitset/jbitset.c

@@ -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>

+ 1 - 0
ccan/jbitset/jbitset.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_JBITSET_H
 #define CCAN_JBITSET_H
 #include <Judy.h>

+ 1 - 0
ccan/jbitset/jbitset_type.h

@@ -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>

+ 1 - 0
ccan/jmap/jmap.c

@@ -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>

+ 1 - 0
ccan/jmap/jmap.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_JMAP_H
 #define CCAN_JMAP_H
 #include <stddef.h>

+ 1 - 0
ccan/jmap/jmap_type.h

@@ -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>

+ 1 - 0
ccan/lbalance/_info

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include "config.h"
 #include <string.h>
 

+ 1 - 0
ccan/lbalance/lbalance.c

@@ -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>

+ 1 - 0
ccan/lbalance/lbalance.h

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #ifndef CCAN_LBALANCE_H
 #define CCAN_LBALANCE_H
 #include "config.h"

+ 1 - 0
ccan/likely/likely.c

@@ -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>

+ 1 - 0
ccan/likely/likely.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_LIKELY_H
 #define CCAN_LIKELY_H
 #include "config.h"

+ 1 - 0
ccan/list/list.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <stdio.h>
 #include <stdlib.h>
 #include "list.h"

+ 1 - 0
ccan/list/list.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_LIST_H
 #define CCAN_LIST_H
 #include <stdbool.h>

+ 1 - 0
ccan/md4/md4.h

@@ -1,3 +1,4 @@
+/* Licensed under GPLv2+ - see LICENSE file for details */
 #ifndef CCAN_MD4_H
 #define CCAN_MD4_H
 #include <stdint.h>

+ 1 - 0
ccan/net/net.c

@@ -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>

+ 1 - 0
ccan/net/net.h

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_NET_H
 #define CCAN_NET_H
 /**

+ 1 - 0
ccan/opt/helpers.c

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <stdlib.h>

+ 1 - 0
ccan/opt/opt.c

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <errno.h>

+ 1 - 0
ccan/opt/opt.h

@@ -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>

+ 1 - 0
ccan/opt/parse.c

@@ -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>

+ 1 - 0
ccan/opt/private.h

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #ifndef CCAN_OPT_PRIVATE_H
 #define CCAN_OPT_PRIVATE_H
 

+ 1 - 0
ccan/opt/usage.c

@@ -1,3 +1,4 @@
+/* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <string.h>
 #include <stdlib.h>

+ 1 - 0
ccan/read_write_all/read_write_all.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #include "read_write_all.h"
 #include <unistd.h>
 #include <errno.h>

+ 1 - 0
ccan/read_write_all/read_write_all.h

@@ -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>

+ 1 - 0
ccan/sparse_bsearch/sparse_bsearch.c

@@ -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,

+ 1 - 0
ccan/sparse_bsearch/sparse_bsearch.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2+ - see LICENSE file for details */
 #ifndef SPARSE_BSEARCH_H
 #define SPARSE_BSEARCH_H
 #include <stdbool.h>

+ 1 - 0
ccan/str/debug.c

@@ -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>

+ 1 - 0
ccan/str/str.c

@@ -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)

+ 1 - 0
ccan/str/str.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_STR_H
 #define CCAN_STR_H
 #include "config.h"

+ 1 - 0
ccan/str/str_debug.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #ifndef CCAN_STR_DEBUG_H
 #define CCAN_STR_DEBUG_H
 

+ 1 - 0
ccan/str_talloc/str_talloc.c

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>

+ 1 - 0
ccan/str_talloc/str_talloc.h

@@ -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>

+ 1 - 0
ccan/talloc_link/talloc_link.c

@@ -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>

+ 1 - 0
ccan/talloc_link/talloc_link.h

@@ -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>

+ 1 - 0
ccan/tally/tally.c

@@ -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>

+ 1 - 0
ccan/tally/tally.h

@@ -1,3 +1,4 @@
+/* Licensed under LGPLv3+ - see LICENSE file for details */
 #ifndef CCAN_TALLY_H
 #define CCAN_TALLY_H
 #include "config.h"

+ 24 - 0
ccan/tdb/hash.c

@@ -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 */

+ 1 - 0
ccan/time/time.c

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/time/time.h>
 #include <stdlib.h>
 #include <assert.h>

+ 1 - 0
ccan/time/time.h

@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #ifndef CCAN_TIME_H
 #define CCAN_TIME_H
 #include "config.h"

+ 1 - 0
ccan/tlist/tlist.h

@@ -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>

+ 1 - 1
ccan/ttxml/ttxml.c

@@ -1,4 +1,4 @@
-
+/* Licensed under GPL - see LICENSE file for details */
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>

+ 1 - 1
ccan/ttxml/ttxml.h

@@ -1,4 +1,4 @@
-
+/* Licensed under GPL - see LICENSE file for details */
 typedef struct XmlNode {
 	char * name;
 	char ** attrib;

+ 1 - 0
ccan/typesafe_cb/typesafe_cb.h

@@ -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"