root/source4/heimdal_build/roken.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2   a wrapper to override some of the defines that the heimdal roken system looks at
   3  */
   4 #ifndef _ROKEN_H_
   5 #define _ROKEN_H_
   6 
   7 /* path to sysconf - should we force this to samba LIBDIR ? */
   8 #define SYSCONFDIR "/etc"
   9 
  10 /* HDB module dir - set to Samba LIBDIR/hdb ? */
  11 #define HDBDIR "/usr/heimdal/lib"
  12 #define LIBDIR "/usr/heimdal/lib"
  13 
  14 /* Maximum values on all known systems */
  15 #define MaxHostNameLen (64+4)
  16 #define MaxPathLen (1024+4)
  17 
  18 /* We want PKINIT */
  19 #define PKINIT 1
  20 
  21 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.8pre"}
  22 
  23 #define VERSION "Samba"
  24 
  25 #define ROKEN_LIB_FUNCTION
  26 
  27 #define GETHOSTBYADDR_PROTO_COMPATIBLE
  28 #define GETSERVBYNAME_PROTO_COMPATIBLE
  29 #define OPENLOG_PROTO_COMPATIBLE
  30 #define GETSOCKNAME_PROTO_COMPATIBLE
  31 
  32 /* even if we do have dlopen, we don't want heimdal using it */
  33 #undef HAVE_DLOPEN
  34 
  35 /* we need to tell roken about the functions that Samba replaces in lib/replace */
  36 #ifndef HAVE_SETEUID
  37 #define HAVE_SETEUID 1
  38 #endif
  39 
  40 #ifndef HAVE_STRNDUP
  41 #define HAVE_STRNDUP
  42 #endif
  43 
  44 #ifndef HAVE_SETENV
  45 #define HAVE_SETENV
  46 #endif
  47 
  48 #ifndef HAVE_UNSETENV
  49 #define HAVE_UNSETENV
  50 #endif
  51 
  52 #ifndef HAVE_VSYSLOG
  53 #define HAVE_VSYSLOG
  54 #endif
  55 
  56 #ifndef HAVE_SSIZE_T
  57 #define HAVE_SSIZE_T
  58 #endif
  59 
  60 #ifndef HAVE_STRPTIME
  61 #define HAVE_STRPTIME
  62 #endif
  63 
  64 #ifndef HAVE_TIMEGM
  65 #define HAVE_TIMEGM
  66 #endif
  67 
  68 #ifndef HAVE_INNETGR
  69 #define HAVE_INNETGR
  70 #endif
  71 
  72 #if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
  73 #ifndef HAVE___ATTRIBUTE__
  74 #define HAVE___ATTRIBUTE__
  75 #endif
  76 #endif
  77 
  78 #include "system/network.h"
  79 
  80 /*
  81  * we don't want that roken.h.in includes socket_wrapper
  82  * we include socket_wrapper via "system/network.h"
  83  */
  84 #undef SOCKET_WRAPPER_REPLACE
  85 #include "heimdal/lib/roken/roken.h.in"
  86 
  87 #endif

/* [<][>][^][v][top][bottom][index][help] */