summaryrefslogtreecommitdiffstats
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:48:05 -0500
commit8878997baaec88d344bd1cb9eabd261cfe4b532c (patch)
treec8c753fff73525a76e02c5413d42e6b1df45a8cb
parent8f340990c1e802858f50ad60952464776872cf06 (diff)
downloadsssd-8878997baaec88d344bd1cb9eabd261cfe4b532c.tar.gz
sssd-8878997baaec88d344bd1cb9eabd261cfe4b532c.tar.xz
sssd-8878997baaec88d344bd1cb9eabd261cfe4b532c.zip
Properly license libdhash
-rw-r--r--common/dhash/dhash.c24
-rw-r--r--common/dhash/dhash.h24
-rw-r--r--common/dhash/dhash_example.c20
-rw-r--r--common/dhash/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 47f96733e..966b15c01 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/dhash_example.c b/common/dhash/dhash_example.c
index 7ed01d71a..bd0ca8eb5 100644
--- a/common/dhash/dhash_example.c
+++ b/common/dhash/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/dhash_test.c b/common/dhash/dhash_test.c
index 27eb88d52..e5b922dad 100644
--- a/common/dhash/dhash_test.c
+++ b/common/dhash/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>