Regenerated: autoconf configure.in
[glibc.git] / nscd / nscd_proto.h
blobf82f86c1abd7b1c0b57303a02d9f3d29e2e4667b
1 /* Copyright (C) 1998 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Thorsten Kukuk <kukuk@uni-paderborn.de>, 1998.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
20 #ifndef _NSCD_PROTO_H
21 #define _NSCD_PROTO_H 1
23 #include <grp.h>
24 #include <pwd.h>
26 /* Variables for communication between NSCD handler functions and NSS. */
27 extern int __nss_not_use_nscd_passwd;
28 extern int __nss_not_use_nscd_group;
30 extern int __nscd_getpwnam_r __P ((const char *name, struct passwd *resultbuf,
31 char *buffer, size_t buflen));
32 extern int __nscd_getpwuid_r __P ((uid_t uid, struct passwd *resultbuf,
33 char *buffer, size_t buflen));
34 extern int __nscd_getgrnam_r __P ((const char *name, struct group *resultbuf,
35 char *buffer, size_t buflen));
36 extern int __nscd_getgrgid_r __P ((uid_t uid, struct group *resultbuf,
37 char *buffer, size_t buflen));
39 #endif /* _NSCD_PROTO_H */