nsswitch/winbind_nss.h

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003 
00004    A common place to work out how to define NSS_STATUS on various
00005    platforms.
00006 
00007    Copyright (C) Tim Potter 2000
00008    
00009    This library is free software; you can redistribute it and/or
00010    modify it under the terms of the GNU Library General Public
00011    License as published by the Free Software Foundation; either
00012    version 2 of the License, or (at your option) any later version.
00013    
00014    This library is distributed in the hope that it will be useful,
00015    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017    Library General Public License for more details.
00018    
00019    You should have received a copy of the GNU Library General Public
00020    License along with this library; if not, write to the
00021    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00022    Boston, MA  02111-1307, USA.   
00023 */
00024 
00025 #ifndef _NSSWITCH_NSS_H
00026 #define _NSSWITCH_NSS_H
00027 
00028 #ifdef HAVE_NSS_COMMON_H
00029 
00030 /* 
00031  * Sun Solaris 
00032  */
00033 
00034 #include "nsswitch/winbind_nss_solaris.h"
00035 
00036 #elif HAVE_NSS_H
00037 
00038 /*
00039  * Linux (glibc)
00040  */
00041 
00042 #include <nss.h>
00043 typedef enum nss_status NSS_STATUS;
00044 
00045 #elif HAVE_NS_API_H
00046 
00047 /*
00048  * SGI IRIX 
00049  */
00050 
00051 #include "nsswitch/winbind_nss_irix.h"
00052 
00053 #elif defined(HPUX) && defined(HAVE_NSSWITCH_H)
00054 
00055 /* HP-UX 11 */
00056 
00057 #include "nsswitch/winbind_nss_hpux.h"
00058 
00059 #elif defined(__NetBSD__) && defined(HAVE_GETPWENT_R)
00060 
00061 /*
00062  * NetBSD 3 and newer
00063  */
00064 
00065 #include "nsswitch/winbind_nss_netbsd.h"
00066 
00067 #else /* Nothing's defined. Neither gnu nor netbsd nor sun nor hp */
00068 
00069 typedef enum
00070 {
00071   NSS_STATUS_SUCCESS=0,
00072   NSS_STATUS_NOTFOUND=1,
00073   NSS_STATUS_UNAVAIL=2,
00074   NSS_STATUS_TRYAGAIN=3
00075 } NSS_STATUS;
00076 
00077 #endif
00078 
00079 #endif /* _NSSWITCH_NSS_H */

Sambaに対してSat Aug 29 21:23:09 2009に生成されました。  doxygen 1.4.7