Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/aliases.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/aliases.c')
-rw-r--r--nss/aliases.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/nss/aliases.c b/nss/aliases.c
index 307b374..6fe0a72 100644
--- a/nss/aliases.c
+++ b/nss/aliases.c
@@ -1,5 +1,34 @@
+/*
+ aliases.c - NSS lookup functions for aliases database
+
+ 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 "config.h"
+
+#include <string.h>
+#include <nss.h>
+#include <errno.h>
#include "exports.h"
+#include "nslcd-client.h"
+#include "common.h"
enum nss_status _nss_ldap_getaliasbyname_r(const char *name,struct aliasent *result,char *buffer,size_t buflen,int *errnop)
{}