summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 fb024c85..cb292b7b 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 95ef1ed6..70d083e3 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 7ed01d71..bd0ca8eb 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 27eb88d5..e5b922da 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>