summaryrefslogtreecommitdiff
path: root/adapters
diff options
context:
space:
mode:
Diffstat (limited to 'adapters')
-rw-r--r--adapters/ae.h27
-rw-r--r--adapters/glib.h11
-rw-r--r--adapters/ivykis.h11
-rw-r--r--adapters/libev.h25
-rw-r--r--adapters/libevent.h27
-rw-r--r--adapters/libhv.h11
-rw-r--r--adapters/libsdevent.h11
-rw-r--r--adapters/libuv.h11
-rw-r--r--adapters/macosx.h14
-rw-r--r--adapters/poll.h10
-rw-r--r--adapters/qt.h26
-rw-r--r--adapters/redismoduleapi.h11
12 files changed, 104 insertions, 91 deletions
diff --git a/adapters/ae.h b/adapters/ae.h
index 660d82e..9923f1b 100644
--- a/adapters/ae.h
+++ b/adapters/ae.h
@@ -1,31 +1,12 @@
/*
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
- * All rights reserved.
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
*
- * * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Redis nor the names of its contributors may be used
- * to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __HIREDIS_AE_H__
diff --git a/adapters/glib.h b/adapters/glib.h
index ad59dd1..3b6772c 100644
--- a/adapters/glib.h
+++ b/adapters/glib.h
@@ -1,3 +1,14 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
+
#ifndef __HIREDIS_GLIB_H__
#define __HIREDIS_GLIB_H__
diff --git a/adapters/ivykis.h b/adapters/ivykis.h
index 179f6ab..3de8d0c 100644
--- a/adapters/ivykis.h
+++ b/adapters/ivykis.h
@@ -1,3 +1,14 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
+
#ifndef __HIREDIS_IVYKIS_H__
#define __HIREDIS_IVYKIS_H__
#include <iv.h>
diff --git a/adapters/libev.h b/adapters/libev.h
index c59d3da..ad8e79c 100644
--- a/adapters/libev.h
+++ b/adapters/libev.h
@@ -3,29 +3,12 @@
*
* All rights reserved.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
- * * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Redis nor the names of its contributors may be used
- * to endorse or promote products derived from this software without
- * specific prior written permission.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __HIREDIS_LIBEV_H__
diff --git a/adapters/libevent.h b/adapters/libevent.h
index 73bb8ed..c7cc4e7 100644
--- a/adapters/libevent.h
+++ b/adapters/libevent.h
@@ -1,31 +1,12 @@
/*
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
- * All rights reserved.
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
*
- * * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of Redis nor the names of its contributors may be used
- * to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __HIREDIS_LIBEVENT_H__
diff --git a/adapters/libhv.h b/adapters/libhv.h
index 3b54c70..3dd6978 100644
--- a/adapters/libhv.h
+++ b/adapters/libhv.h
@@ -1,3 +1,14 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
+
#ifndef __HIREDIS_LIBHV_H__
#define __HIREDIS_LIBHV_H__
diff --git a/adapters/libsdevent.h b/adapters/libsdevent.h
index 1268ed9..74364a5 100644
--- a/adapters/libsdevent.h
+++ b/adapters/libsdevent.h
@@ -1,3 +1,14 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
+
#ifndef HIREDIS_LIBSDEVENT_H
#define HIREDIS_LIBSDEVENT_H
#include <systemd/sd-event.h>
diff --git a/adapters/libuv.h b/adapters/libuv.h
index ec67c15..85e12ed 100644
--- a/adapters/libuv.h
+++ b/adapters/libuv.h
@@ -1,3 +1,14 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
+
#ifndef __HIREDIS_LIBUV_H__
#define __HIREDIS_LIBUV_H__
#include <stdlib.h>
diff --git a/adapters/macosx.h b/adapters/macosx.h
index 3c87f1b..fafd43b 100644
--- a/adapters/macosx.h
+++ b/adapters/macosx.h
@@ -1,7 +1,13 @@
-//
-// Created by Дмитрий Бахвалов on 13.07.15.
-// Copyright (c) 2015 Dmitry Bakhvalov. All rights reserved.
-//
+/*
+ * Copyright (c) 2015 Dmitry Bakhvalov
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Dmitry Bakhvalov
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
#ifndef __HIREDIS_MACOSX_H__
#define __HIREDIS_MACOSX_H__
diff --git a/adapters/poll.h b/adapters/poll.h
index f138650..23b3eba 100644
--- a/adapters/poll.h
+++ b/adapters/poll.h
@@ -1,3 +1,13 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
#ifndef HIREDIS_POLL_H
#define HIREDIS_POLL_H
diff --git a/adapters/qt.h b/adapters/qt.h
index 5cc02e6..a75cf31 100644
--- a/adapters/qt.h
+++ b/adapters/qt.h
@@ -1,26 +1,12 @@
-/*-
+/*
* Copyright (C) 2014 Pietro Cerutti <gahr@gahr.ch>
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Pietro Cerutti <gahr@gahr.ch>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
*
- * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
*/
#ifndef __HIREDIS_QT_H__
diff --git a/adapters/redismoduleapi.h b/adapters/redismoduleapi.h
index 8a076fe..4614b8d 100644
--- a/adapters/redismoduleapi.h
+++ b/adapters/redismoduleapi.h
@@ -1,3 +1,14 @@
+/*
+ * Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-FileCopyrightText: 2024 Hiredict Contributors
+ * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo <antirez at gmail dot com>
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ *
+ */
+
#ifndef __HIREDIS_REDISMODULEAPI_H__
#define __HIREDIS_REDISMODULEAPI_H__