+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include <unistd.h>
#include <stdint.h>
#include <string.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef ALLOC_H
#define ALLOC_H
#include <stdio.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include "bitops.h"
#include "config.h"
#include <ccan/build_assert/build_assert.h>
+/* 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);
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include "tiny.h"
#include "bitops.h"
#include <assert.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_TINY_H
#define CCAN_TINY_H
#include <stdbool.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#ifndef ANTITHREAD_H
#define ANTITHREAD_H
#include <ccan/typesafe_cb/typesafe_cb.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_ARRAY_SIZE_H
#define CCAN_ARRAY_SIZE_H
#include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_ASEARCH_H
#define CCAN_ASEARCH_H
#include <stdlib.h>
*
* asort does both.
*
- * License: LGPL
+ * License: LGPL (v2.1 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_ASORT_H
#define CCAN_ASORT_H
#include "config.h"
+/* Licensed under BSD-MIT - see LICENSE file for details */
#include <ccan/asprintf/asprintf.h>
#include <stdarg.h>
#include <stdio.h>
+/* Licensed under BSD-MIT - see LICENSE file for details */
#ifndef CCAN_ASPRINTF_H
#define CCAN_ASPRINTF_H
#include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_BUILD_ASSERT_H
#define CCAN_BUILD_ASSERT_H
+/* Licensed under LGPLv3+ - see LICENSE file for details */
#ifndef CCAN_CAST_H
#define CCAN_CAST_H
#include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_CHECK_TYPE_H
#define CCAN_CHECK_TYPE_H
#include "config.h"
+/* Licensed under GPLv2+ - see LICENSE file for details */
#ifndef CCAN_CRC_H
#define CCAN_CRC_H
#include <stdint.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include "crcsync.h"
#include <ccan/crc/crc.h>
#include <string.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_CRCSYNC_H
#define CCAN_CRCSYNC_H
#include <stdint.h>
+/* Licensed under BSD 3-clause: see LICENSE */
#ifndef CCAN_DAEMON_WITH_NOTIFY_H
#define CCAN_DAEMON_WITH_NOTIFY_H
+/* Licensed under BSD-MIT - see LICENSE file for details */
#include <ccan/daemonize/daemonize.h>
#include <unistd.h>
#include <stdlib.h>
+/* Licensed under BSD-MIT - see LICENSE file for details */
#ifndef CCAN_DAEMONIZE_H
#define CCAN_DAEMONIZE_H
#include <stdbool.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_ENDIAN_H
#define CCAN_ENDIAN_H
#include <stdint.h>
+/* Licensed under LGPL - see LICENSE file for details */
#include "config.h"
#include <stdarg.h>
#include <string.h>
+/* Licensed under LGPL - see LICENSE file for details */
#ifndef CCAN_FAILTEST_H
#define CCAN_FAILTEST_H
#include "config.h"
+/* 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. */
+/* Licensed under LGPL - see LICENSE file for details */
#ifndef CCAN_FAILTEST_PROTO_H
#define CCAN_FAILTEST_PROTO_H
#include <stdlib.h>
+/* 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. */
+/* 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>
+/* Licensed under LGPLv3+ - see LICENSE file for details */
#ifndef CCAN_FOREACH_H
#define CCAN_FOREACH_H
#include "config.h"
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#include "grab_file.h"
#include <ccan/talloc/talloc.h>
#include <ccan/noerr/noerr.h>
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef CCAN_GRAB_FILE_H
#define CCAN_GRAB_FILE_H
#include <stdio.h> // For size_t
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#include <ccan/htable/htable.h>
#include <ccan/compiler/compiler.h>
#include <stdint.h>
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef CCAN_HTABLE_H
#define CCAN_HTABLE_H
#include "config.h"
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef CCAN_HTABLE_TYPE_H
#define CCAN_HTABLE_TYPE_H
#include <ccan/htable/htable.h>
+/* Licensed under GPLv2+ - see LICENSE file for details */
#ifndef CCAN_IDTREE_H
#define CCAN_IDTREE_H
#include <stdbool.h>
-/*(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>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#if !defined(_ilog_H)
# define _ilog_H (1)
# include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include <ccan/jbitset/jbitset.h>
#include <ccan/build_assert/build_assert.h>
#include <stdlib.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_JBITSET_H
#define CCAN_JBITSET_H
#include <Judy.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_JBITSET_TYPE_H
#define CCAN_JBITSET_TYPE_H
#include <ccan/jbitset/jbitset.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include <ccan/jmap/jmap.h>
#include <ccan/build_assert/build_assert.h>
#include <stdlib.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_JMAP_H
#define CCAN_JMAP_H
#include <stddef.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_JMAP_TYPE_H
#define CCAN_JMAP_TYPE_H
#include <ccan/jmap/jmap.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#include "config.h"
#include <string.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#include <ccan/lbalance/lbalance.h>
#include <ccan/tlist/tlist.h>
#include <sys/time.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#ifndef CCAN_LBALANCE_H
#define CCAN_LBALANCE_H
#include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifdef CCAN_LIKELY_DEBUG
#include <ccan/likely/likely.h>
#include <ccan/hash/hash.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_LIKELY_H
#define CCAN_LIKELY_H
#include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include <stdio.h>
#include <stdlib.h>
#include "list.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_LIST_H
#define CCAN_LIST_H
#include <stdbool.h>
+/* Licensed under GPLv2+ - see LICENSE file for details */
#ifndef CCAN_MD4_H
#define CCAN_MD4_H
#include <stdint.h>
+/* Licensed under BSD-MIT - see LICENSE file for details */
#include <ccan/net/net.h>
#include <sys/types.h>
#include <sys/socket.h>
+/* Licensed under BSD-MIT - see LICENSE file for details */
#ifndef CCAN_NET_H
#define CCAN_NET_H
/**
+/* Licensed under GPLv3+ - see LICENSE file for details */
#include <ccan/opt/opt.h>
#include <string.h>
#include <stdlib.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#include <ccan/opt/opt.h>
#include <string.h>
#include <errno.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#ifndef CCAN_OPT_H
#define CCAN_OPT_H
#include <ccan/compiler/compiler.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
/* Actual code to parse commandline. */
#include <ccan/opt/opt.h>
#include <string.h>
+/* Licensed under GPLv3+ - see LICENSE file for details */
#ifndef CCAN_OPT_PRIVATE_H
#define CCAN_OPT_PRIVATE_H
+/* Licensed under GPLv3+ - see LICENSE file for details */
#include <ccan/opt/opt.h>
#include <string.h>
#include <stdlib.h>
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#include "read_write_all.h"
#include <unistd.h>
#include <errno.h>
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef _CCAN_READ_WRITE_H
#define _CCAN_READ_WRITE_H
#include <stddef.h>
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#include "sparse_bsearch.h"
void *_sparse_bsearch(const void *key, const void *base,
+/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef SPARSE_BSEARCH_H
#define SPARSE_BSEARCH_H
#include <stdbool.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include "config.h"
#include <ccan/str/str_debug.h>
#include <assert.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include <ccan/str/str.h>
size_t strcount(const char *haystack, const char *needle)
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_STR_H
#define CCAN_STR_H
#include "config.h"
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_STR_DEBUG_H
#define CCAN_STR_DEBUG_H
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#include <unistd.h>
#include <stdint.h>
#include <string.h>
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_STR_TALLOC_H
#define CCAN_STR_TALLOC_H
#include <string.h>
+/* 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>
+/* Licensed under GPLv2+ - see LICENSE file for details */
#ifndef TALLOC_LINK_H
#define TALLOC_LINK_H
#include <ccan/talloc/talloc.h>
+/* 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>
+/* Licensed under LGPLv3+ - see LICENSE file for details */
#ifndef CCAN_TALLY_H
#define CCAN_TALLY_H
#include "config.h"
+ /*
+ 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 */
+/* Licensed under BSD-MIT - see LICENSE file for details */
#include <ccan/time/time.h>
#include <stdlib.h>
#include <assert.h>
+/* Licensed under BSD-MIT - see LICENSE file for details */
#ifndef CCAN_TIME_H
#define CCAN_TIME_H
#include "config.h"
+/* Licensed under LGPL - see LICENSE file for details */
#ifndef CCAN_TLIST_H
#define CCAN_TLIST_H
#include <ccan/list/list.h>
-\r
+/* Licensed under GPL - see LICENSE file for details */\r
#include <stdlib.h>\r
#include <string.h>\r
#include <stdio.h>\r
-
+/* Licensed under GPL - see LICENSE file for details */
typedef struct XmlNode {
char * name;
char ** attrib;
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
#ifndef CCAN_TYPESAFE_CB_H
#define CCAN_TYPESAFE_CB_H
#include "config.h"