aboutsummaryrefslogtreecommitdiff
path: root/nis/nisplus-parser.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-29 16:26:41 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-29 16:26:41 +0000
commit5b4f9fad384b00014d95731bfbfc7822a7d6e185 (patch)
treebbfefaec00f42d9abcd50d831c23b90b03c4abc6 /nis/nisplus-parser.h
parente0d4e91d2b0e8069fc044899cf04a41db3612ffb (diff)
downloadglibc-5b4f9fad384b00014d95731bfbfc7822a7d6e185.zip
glibc-5b4f9fad384b00014d95731bfbfc7822a7d6e185.tar.gz
glibc-5b4f9fad384b00014d95731bfbfc7822a7d6e185.tar.bz2
* nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove
hidden_def definitions. * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto definitions.
Diffstat (limited to 'nis/nisplus-parser.h')
-rw-r--r--nis/nisplus-parser.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/nis/nisplus-parser.h b/nis/nisplus-parser.h
index f4b8d49..e629119 100644
--- a/nis/nisplus-parser.h
+++ b/nis/nisplus-parser.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2004, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
@@ -24,15 +24,12 @@
#include <grp.h>
#include <shadow.h>
-extern int _nss_nisplus_parse_pwent (nis_result *, struct passwd *,
- char *, size_t, int *);
-extern int _nss_nisplus_parse_grent (nis_result *, u_long, struct group *,
- char *, size_t, int *);
-extern int _nss_nisplus_parse_spent (nis_result *, struct spwd *,
- char *, size_t, int *);
-
-libnss_nisplus_hidden_proto (_nss_nisplus_parse_pwent)
-libnss_nisplus_hidden_proto (_nss_nisplus_parse_grent)
-libnss_nisplus_hidden_proto (_nss_nisplus_parse_spent)
+extern int _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw,
+ char *buffer, size_t buflen, int *errnop);
+extern int _nss_nisplus_parse_grent (nis_result *result, u_long entry,
+ struct group *gr, char *buffer,
+ size_t buflen, int *errnop);
+extern int _nss_nisplus_parse_spent (nis_result *result, struct spwd *sp,
+ char *buffer, size_t buflen, int *errnop);
#endif