nsswitch: make wb_reqtrans a common subsystem.
[samba.git] / nsswitch / winbind_nss_irix.h
1 /*
2    Unix SMB/CIFS implementation.
3
4    Winbind daemon for ntdom nss module
5
6    Copyright (C) Tim Potter 2000
7
8    This library is free software; you can redistribute it and/or
9    modify it under the terms of the GNU Lesser General Public
10    License as published by the Free Software Foundation; either
11    version 3 of the License, or (at your option) any later version.
12
13    This library is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16    Library General Public License for more details.
17
18    You should have received a copy of the GNU Lesser General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef _WINBIND_NSS_IRIX_H
23 #define _WINBIND_NSS_IRIX_H
24
25 /* following required to prevent warnings of double definition
26  * of datum from ns_api.h
27 */
28 #ifdef DATUM
29 #define _DATUM_DEFINED
30 #endif
31
32 #include <ns_api.h>
33
34 typedef enum
35 {
36   NSS_STATUS_SUCCESS=NS_SUCCESS,
37   NSS_STATUS_NOTFOUND=NS_NOTFOUND,
38   NSS_STATUS_UNAVAIL=NS_UNAVAIL,
39   NSS_STATUS_TRYAGAIN=NS_TRYAGAIN
40 } NSS_STATUS;
41
42 #endif /* _WINBIND_NSS_IRIX_H */