summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nslcd-common.h24
-rw-r--r--testnss.c21
2 files changed, 43 insertions, 2 deletions
diff --git a/nslcd-common.h b/nslcd-common.h
index 50c24e1..b424982 100644
--- a/nslcd-common.h
+++ b/nslcd-common.h
@@ -1,5 +1,25 @@
-
-/* common macros for reading and writing from streams */
+/*
+ nslcd-common.h - helper macros for reading and writing in
+ protocol streams
+
+ Copyright (C) 2006 West Consulting
+ Copyright (C) 2006 Arthur de Jong
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301 USA
+*/
#ifndef _NSLCD_COMMON_H
#define _NSLCD_COMMON_H 1
diff --git a/testnss.c b/testnss.c
index 08d7d4e..72ae187 100644
--- a/testnss.c
+++ b/testnss.c
@@ -1,3 +1,24 @@
+/*
+ testnss.c - simple tests of developed nss code
+
+ Copyright (C) 2006 West Consulting
+ Copyright (C) 2006 Arthur de Jong
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301 USA
+*/
#include <string.h>
#include <stdio.h>