summaryrefslogtreecommitdiffstats
path: root/common/dhash
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-18 14:43:39 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-18 15:46:56 -0500
commitef214ac48a5499353609443178a65ea1d2d34c97 (patch)
tree9f5a5e71aa829045be9353b1a715468bbf33f751 /common/dhash
parent41b90671ce533c8f08072ca706e7ed81a8254242 (diff)
downloadsssd-ef214ac48a5499353609443178a65ea1d2d34c97.tar.gz
sssd-ef214ac48a5499353609443178a65ea1d2d34c97.tar.xz
sssd-ef214ac48a5499353609443178a65ea1d2d34c97.zip
Properly license libdhash
Diffstat (limited to 'common/dhash')
-rw-r--r--common/dhash/dhash.c24
-rw-r--r--common/dhash/dhash.h24
-rw-r--r--common/dhash/examples/dhash_example.c20
-rw-r--r--common/dhash/examples/dhash_test.c20
4 files changed, 88 insertions, 0 deletions
diff --git a/common/dhash/dhash.c b/common/dhash/dhash.c
index fb024c85e..cb292b7be 100644
--- a/common/dhash/dhash.c
+++ b/common/dhash/dhash.c
@@ -1,3 +1,27 @@
+/*
+ Authors:
+ John Dennis <jdennis.redhat.com>
+ Esmond Pitt <ejp@ausmelb.oz.AU>
+
+ This implementation was based on a 3/7/1989 public domain submission
+ to comp.sources.misc by Esmond Pitt <ejp@ausmelb.oz.AU>.
+
+ Copyright (C) 2009 Red Hat
+
+ This program 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 program 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 program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
/*****************************************************************************/
/******************************** Documentation ******************************/
/*****************************************************************************/
diff --git a/common/dhash/dhash.h b/common/dhash/dhash.h
index 95ef1ed64..70d083e3c 100644
--- a/common/dhash/dhash.h
+++ b/common/dhash/dhash.h
@@ -1,3 +1,27 @@
+/*
+ Authors:
+ John Dennis <jdennis.redhat.com>
+ Esmond Pitt <ejp@ausmelb.oz.AU>
+
+ This implementation was based on a 3/7/1989 public domain submission
+ to comp.sources.misc by Esmond Pitt <ejp@ausmelb.oz.AU>.
+
+ Copyright (C) 2009 Red Hat
+
+ This program 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 program 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 program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef DHASH_H
#define DHASH_H
diff --git a/common/dhash/examples/dhash_example.c b/common/dhash/examples/dhash_example.c
index 7ed01d71a..bd0ca8eb5 100644
--- a/common/dhash/examples/dhash_example.c
+++ b/common/dhash/examples/dhash_example.c
@@ -1,3 +1,23 @@
+/*
+ Authors:
+ John Dennis <jdennis.redhat.com>
+
+ Copyright (C) 2009 Red Hat
+
+ This program 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 program 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 program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/common/dhash/examples/dhash_test.c b/common/dhash/examples/dhash_test.c
index 27eb88d52..e5b922dad 100644
--- a/common/dhash/examples/dhash_test.c
+++ b/common/dhash/examples/dhash_test.c
@@ -1,3 +1,23 @@
+/*
+ Authors:
+ John Dennis <jdennis.redhat.com>
+
+ Copyright (C) 2009 Red Hat
+
+ This program 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 program 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 program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include <stdio.h>
#include <assert.h>
#include <string.h>