-
Notifications
You must be signed in to change notification settings - Fork 7
/
irs-nss.h
60 lines (47 loc) · 1.94 KB
/
irs-nss.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* Copyright (C) 1997-2005 Luke Howard.
This file is part of the nss_ldap library.
Contributed by Luke Howard, <[email protected]>, 1997.
The nss_ldap 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.
The nss_ldap 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 the nss_ldap library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
$Id$
*/
#ifndef _LDAP_NSS_LDAP_IRS_H
#define _LDAP_NSS_LDAP_IRS_H
#ifdef HAVE_IRS_H
/*
* This header is only needed when using the BSD Information
* Retrieval Service. It is not necessary for the Solaris or
* GNU nameservice switch modules.
*/
#include <irs.h>
#endif
struct irs_gr *irs_ldap_gr __P ((struct irs_acc *));
struct irs_pw *irs_ldap_pw __P ((struct irs_acc *));
struct irs_sv *irs_ldap_sv __P ((struct irs_acc *));
struct irs_pr *irs_ldap_pr __P ((struct irs_acc *));
struct irs_ho *irs_ldap_ho __P ((struct irs_acc *));
struct irs_nw *irs_ldap_nw __P ((struct irs_acc *));
/* not done yet */
struct irs_ng *irs_ldap_ng __P ((struct irs_acc *));
/* Keep namespace clean. */
#define irs_ldap_acc __irs_ldap_acc
struct irs_acc *irs_ldap_acc __P ((const char *));
#define make_group_list __make_group_list
extern int make_group_list (struct irs_gr *, const char *,
gid_t, gid_t *, int *);
#ifdef HAVE_USERSEC_H /* aka AIX */
#define IRS_EXPORT
#else
#define IRS_EXPORT static
#endif
#endif /* _LDAP_NSS_LDAP_IRS_H */