Initial import
[samba] / source / 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 Library General Public
10    License as published by the Free Software Foundation; either
11    version 2 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 Library General Public
19    License along with this library; if not, write to the
20    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21    Boston, MA  02111-1307, USA.   
22 */
23
24 #ifndef _WINBIND_NSS_IRIX_H
25 #define _WINBIND_NSS_IRIX_H
26
27 /* following required to prevent warnings of double definition
28  * of datum from ns_api.h
29 */
30 #ifdef DATUM
31 #define _DATUM_DEFINED
32 #endif
33
34 #include <ns_api.h>
35
36 typedef enum
37 {
38   NSS_STATUS_SUCCESS=NS_SUCCESS,
39   NSS_STATUS_NOTFOUND=NS_NOTFOUND,
40   NSS_STATUS_UNAVAIL=NS_UNAVAIL,
41   NSS_STATUS_TRYAGAIN=NS_TRYAGAIN
42 } NSS_STATUS;
43
44 #define NSD_MEM_STATIC 0
45 #define NSD_MEM_VOLATILE 1
46 #define NSD_MEM_DYNAMIC 2
47
48 #endif /* _WINBIND_NSS_IRIX_H */