Apply some more of Derrell Lipman's changes.
[Samba/gebeck_regimport.git] / source3 / nsswitch / winbind_nss_irix.h
blob7878abb981a7d1ad99a36abba0db337ad40a4538
1 /*
2 Unix SMB/CIFS implementation.
4 Winbind daemon for ntdom nss module
6 Copyright (C) Tim Potter 2000
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.
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.
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.
24 #ifndef _WINBIND_NSS_IRIX_H
25 #define _WINBIND_NSS_IRIX_H
27 /* following required to prevent warnings of double definition
28 * of datum from ns_api.h
30 #ifdef DATUM
31 #define _DATUM_DEFINED
32 #endif
34 #include <ns_api.h>
36 typedef enum
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;
44 #define NSD_MEM_STATIC 0
45 #define NSD_MEM_VOLATILE 1
46 #define NSD_MEM_DYNAMIC 2
48 #endif /* _WINBIND_NSS_IRIX_H */