nsswitch/winbind_nss_config.h

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003 
00004    Winbind daemon for ntdom nss module
00005 
00006    Copyright (C) Tim Potter 2000
00007    
00008    This library is free software; you can redistribute it and/or
00009    modify it under the terms of the GNU Library General Public
00010    License as published by the Free Software Foundation; either
00011    version 2 of the License, or (at your option) any later version.
00012    
00013    This library is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016    Library General Public License for more details.
00017    
00018    You should have received a copy of the GNU Library General Public
00019    License along with this library; if not, write to the
00020    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021    Boston, MA  02111-1307, USA.   
00022 */
00023 
00024 #ifndef _WINBIND_NSS_CONFIG_H
00025 #define _WINBIND_NSS_CONFIG_H
00026 
00027 /* shutup the compiler warnings due to krb5.h on 64-bit sles9 */
00028 #ifdef SIZEOF_LONG
00029 #undef SIZEOF_LONG
00030 #endif
00031 
00032 
00033 /* Include header files from data in config.h file */
00034 
00035 #ifndef NO_CONFIG_H
00036 #include "lib/replace/replace.h"
00037 #endif
00038 
00039 #include "system/filesys.h"
00040 #include "system/network.h"
00041 #include "system/passwd.h"
00042 
00043 #include "nsswitch/winbind_nss.h"
00044 
00045 /* I'm trying really hard not to include anything from smb.h with the
00046    result of some silly looking redeclaration of structures. */
00047 
00048 #ifndef _PSTRING
00049 #define _PSTRING
00050 #define PSTRING_LEN 1024
00051 #define FSTRING_LEN 256
00052 typedef char pstring[PSTRING_LEN];
00053 typedef char fstring[FSTRING_LEN];
00054 #endif
00055 
00056 #ifndef _UPPER_BOOL
00057 #define _UPPER_BOOL
00058 #define False (0)
00059 #define True (1)
00060 #define Auto (2)
00061 typedef int BOOL;
00062 #endif
00063 
00064 #if !defined(uint32)
00065 #if (SIZEOF_INT == 4)
00066 #define uint32 unsigned int
00067 #elif (SIZEOF_LONG == 4)
00068 #define uint32 unsigned long
00069 #elif (SIZEOF_SHORT == 4)
00070 #define uint32 unsigned short
00071 #endif
00072 #endif
00073 
00074 #if !defined(uint16)
00075 #if (SIZEOF_SHORT == 4)
00076 #define uint16 __ERROR___CANNOT_DETERMINE_TYPE_FOR_INT16;
00077 #else /* SIZEOF_SHORT != 4 */
00078 #define uint16 unsigned short
00079 #endif /* SIZEOF_SHORT != 4 */
00080 #endif
00081 
00082 #ifndef uint8
00083 #define uint8 unsigned char
00084 #endif
00085 
00086 /*
00087  * check for 8 byte long long
00088  */
00089 
00090 #if !defined(uint64)
00091 #if (SIZEOF_LONG == 8)
00092 #define uint64 unsigned long
00093 #elif (SIZEOF_LONG_LONG == 8)
00094 #define uint64 unsigned long long
00095 #endif  /* don't lie.  If we don't have it, then don't use it */
00096 #endif
00097 
00098 #if !defined(int64)
00099 #if (SIZEOF_LONG == 8)
00100 #define int64 long
00101 #elif (SIZEOF_LONG_LONG == 8)
00102 #define int64 long long
00103 #endif  /* don't lie.  If we don't have it, then don't use it */
00104 #endif
00105 
00106 /* Some systems (SCO) treat UNIX domain sockets as FIFOs */
00107 
00108 #ifndef S_IFSOCK
00109 #define S_IFSOCK S_IFIFO
00110 #endif
00111 
00112 #ifndef S_ISSOCK
00113 #define S_ISSOCK(mode)  ((mode & S_IFSOCK) == S_IFSOCK)
00114 #endif
00115 
00116 #ifndef HAVE_SOCKLEN_T_TYPE
00117 #define HAVE_SOCKLEN_T_TYPE
00118 typedef int socklen_t;
00119 #endif
00120 
00121 #endif

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