Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

config-os2.h File Reference

#include <os2.h>
#include <math.h>
#include <io.h>
#include <types.h>

Go to the source code of this file.

Defines

#define SYSTEM_TYPE   "IBM OS/2 Warp"
#define MACHINE_TYPE   "i686"
#define PACKAGE   "mysql"
#define VERSION   MYSQL_SERVER_VERSION
#define MYSQL_UNIX_ADDR   "\\socket\\MySQL"
#define FN_LIBCHAR   '\\'
#define FN_ROOTDIR   "\\"
#define MY_NFILE   1024
#define HAVE_ACCESS
#define DEFAULT_MYSQL_HOME   "c:\\mysql"
#define DEFAULT_BASEDIR   "C:\\"
#define SHAREDIR   "share"
#define DEFAULT_CHARSET_HOME   "C:/mysql/"
#define _POSIX_PATH_MAX   255
#define DWORD   ULONG
#define O_SHARE   0x1000
#define FILE_BINARY   O_BINARY
#define S_IROTH   S_IREAD
#define CANT_DELETE_OPEN_FILES
#define O_NONBLOCK   0x10
#define NO_OPEN_3
#define SIGQUIT   SIGTERM
#define SIGALRM   14
#define NO_FCNTL_NONBLOCK
#define EFBIG   E2BIG
#define EROFS   147
#define sleep(A)   DosSleep((A)*1000)
#define closesocket(A)   soclose(A)
#define F_OK   0
#define W_OK   2
#define bzero(x, y)   memset((x),'\0',(y))
#define bcopy(x, y, z)   memcpy((y),(x),(z))
#define bcmp(x, y, z)   memcmp((y),(x),(z))
#define F_RDLCK   4
#define F_WRLCK   2
#define F_UNLCK   0
#define S_IFMT   0x17000
#define F_TO_EOF   0L
#define HUGE_PTR
#define SIZEOF_OFF_T   8
#define lseek(A, B, C)   _lseek64( A, B, C)
#define tell(A)   _lseek64( A, 0, SEEK_CUR)
#define HAVE_ALLOCA   1
#define HAVE_ST_RDEV   1
#define HAVE_TZNAME   1
#define HAVE_UTIME_NULL   1
#define HAVE_VPRINTF   1
#define RETSIGTYPE   void
#define STACK_DIRECTION   -1
#define STDC_HEADERS   1
#define TIME_WITH_SYS_TIME   1
#define DOT_FRM_VERSION   6
#define FIONREAD_IN_SYS_IOCTL   1
#define FIONREAD_IN_SYS_IOCTL   1
#define HAVE_BOOL   1
#define HAVE_COMPRESS   1
#define HAVE_POSIX_SIGNALS   0
#define HAVE_PTHREAD_ATTR_SETSCOPE   1
#define HAVE_CRYPT   1
#define HAVE_TIMESPEC_TS_SEC   1
#define HAVE_TZNAME   1
#define PROTOCOL_VERSION   10
#define QSORT_TYPE_IS_VOID   1
#define RETQSORTTYPE   void
#define SOCKET_SIZE_TYPE   int
#define SPRINTF_RETURNS_INT   1
#define STRUCT_DIRENT_HAS_D_INO   1
#define THREAD   1
#define VOID_SIGHANDLER   1
#define SIZEOF_CHAR   1
#define SIZEOF_INT   4
#define SIZEOF_LONG   4
#define SIZEOF_LONG_LONG   8
#define HAVE_ALARM   1
#define HAVE_BCMP   1
#define HAVE_BZERO   1
#define HAVE_CHSIZE   1
#define HAVE_DLERROR   1
#define HAVE_DLOPEN   1
#define HAVE_GETCWD   1
#define HAVE_GETPAGESIZE   1
#define HAVE_GETWD   1
#define HAVE_GMTIME_R   1
#define HAVE_INDEX   1
#define HAVE_LOCALTIME_R   1
#define HAVE_LONGJMP   1
#define HAVE_MEMCPY   1
#define HAVE_MEMMOVE   1
#define HAVE_PERROR   1
#define HAVE_PTHREAD_ATTR_SETPRIO   1
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE   1
#define HAVE_PTHREAD_SETPRIO   1
#define HAVE_PTHREAD_SIGMASK   1
#define HAVE_PUTENV   1
#define HAVE_RENAME   1
#define HAVE_RINT   1
#define HAVE_SELECT   1
#define HAVE_SETLOCALE   1
#define HAVE_SOCKET   1
#define HAVE_STRCOLL   1
#define HAVE_STRERROR   1
#define HAVE_STRPBRK   1
#define HAVE_STRSTR   1
#define HAVE_STRTOL   1
#define HAVE_STRTOUL   1
#define HAVE_TCGETATTR   1
#define HAVE_TELL   1
#define HAVE_TEMPNAM   1
#define HAVE_ARPA_INET_H   1
#define HAVE_CRYPT_H   1
#define HAVE_FCNTL_H   1
#define HAVE_FLOAT_H   1
#define HAVE_LIMITS_H   1
#define HAVE_LOCALE_H   1
#define HAVE_MEMORY_H   1
#define HAVE_NETINET_IN_H   1
#define HAVE_STDARG_H   1
#define HAVE_STDDEF_H   1
#define HAVE_STDLIB_H   1
#define HAVE_STRING_H   1
#define HAVE_SYS_IOCTL_H   1
#define HAVE_SYS_SELECT_H   1
#define HAVE_SYS_SOCKET_H   1
#define HAVE_SYS_TIMEB_H   1
#define HAVE_SYS_TYPES_H   1
#define HAVE_SYS_UN_H   1
#define HAVE_SYS_UTIME_H   1
#define HAVE_UNISTD_H   1
#define HAVE_UTIME_H   1
#define HAVE_VARARGS_H   1
#define HAVE_LIBCRYPT   1
#define HAVE_LIBDL   1
#define HAVE_LIBM   1

Typedefs

typedef unsigned long long os_off_t

Functions

double _cdecl rint (double nr)
DWORD TlsAlloc (void)
BOOL TlsFree (DWORD)
PVOID TlsGetValue (DWORD)
BOOL TlsSetValue (DWORD, PVOID)
void * dlopen (char *path, int flag)
char * dlerror (void)
void * dlsym (void *hmod, char *fn)
void dlclose (void *hmod)


Define Documentation

#define _POSIX_PATH_MAX   255
 

Definition at line 52 of file config-os2.h.

#define bcmp x,
y,
 )     memcmp((y),(x),(z))
 

Definition at line 84 of file config-os2.h.

#define bcopy x,
y,
 )     memcpy((y),(x),(z))
 

Definition at line 83 of file config-os2.h.

#define bzero x,
 )     memset((x),'\0',(y))
 

Definition at line 82 of file config-os2.h.

#define CANT_DELETE_OPEN_FILES
 

Definition at line 59 of file config-os2.h.

#define closesocket  )     soclose(A)
 

Definition at line 77 of file config-os2.h.

Referenced by ip_close(), and vsyslog().

#define DEFAULT_BASEDIR   "C:\\"
 

Definition at line 49 of file config-os2.h.

#define DEFAULT_CHARSET_HOME   "C:/mysql/"
 

Definition at line 51 of file config-os2.h.

#define DEFAULT_MYSQL_HOME   "c:\\mysql"
 

Definition at line 48 of file config-os2.h.

#define DOT_FRM_VERSION   6
 

Definition at line 201 of file config-os2.h.

#define DWORD   ULONG
 

Definition at line 53 of file config-os2.h.

Referenced by AddEventSource(), call_pipe(), GetAdapterFromList(), GetHostname(), PrintDeviceList(), route_delete(), and route_get().

#define EFBIG   E2BIG
 

Definition at line 69 of file config-os2.h.

#define EROFS   147
 

Definition at line 74 of file config-os2.h.

#define F_OK   0
 

Definition at line 79 of file config-os2.h.

#define F_RDLCK   4
 

Definition at line 86 of file config-os2.h.

#define F_TO_EOF   0L
 

Definition at line 91 of file config-os2.h.

#define F_UNLCK   0
 

Definition at line 88 of file config-os2.h.

#define F_WRLCK   2
 

Definition at line 87 of file config-os2.h.

#define FILE_BINARY   O_BINARY
 

Definition at line 56 of file config-os2.h.

#define FIONREAD_IN_SYS_IOCTL   1
 

Definition at line 210 of file config-os2.h.

#define FIONREAD_IN_SYS_IOCTL   1
 

Definition at line 210 of file config-os2.h.

#define FN_LIBCHAR   '\\'
 

Definition at line 42 of file config-os2.h.

#define FN_ROOTDIR   "\\"
 

Definition at line 43 of file config-os2.h.

#define HAVE_ACCESS
 

Definition at line 46 of file config-os2.h.

#define HAVE_ALARM   1
 

Definition at line 380 of file config-os2.h.

#define HAVE_ALLOCA   1
 

Definition at line 132 of file config-os2.h.

#define HAVE_ARPA_INET_H   1
 

Definition at line 647 of file config-os2.h.

#define HAVE_BCMP   1
 

Definition at line 386 of file config-os2.h.

#define HAVE_BOOL   1
 

Definition at line 219 of file config-os2.h.

#define HAVE_BZERO   1
 

Definition at line 395 of file config-os2.h.

#define HAVE_CHSIZE   1
 

Definition at line 398 of file config-os2.h.

#define HAVE_COMPRESS   1
 

Definition at line 234 of file config-os2.h.

#define HAVE_CRYPT   1
 

Definition at line 289 of file config-os2.h.

#define HAVE_CRYPT_H   1
 

Definition at line 653 of file config-os2.h.

#define HAVE_DLERROR   1
 

Definition at line 404 of file config-os2.h.

#define HAVE_DLOPEN   1
 

Definition at line 407 of file config-os2.h.

#define HAVE_FCNTL_H   1
 

Definition at line 662 of file config-os2.h.

#define HAVE_FLOAT_H   1
 

Definition at line 665 of file config-os2.h.

#define HAVE_GETCWD   1
 

Definition at line 434 of file config-os2.h.

#define HAVE_GETPAGESIZE   1
 

Definition at line 443 of file config-os2.h.

#define HAVE_GETWD   1
 

Definition at line 464 of file config-os2.h.

#define HAVE_GMTIME_R   1
 

Definition at line 467 of file config-os2.h.

#define HAVE_INDEX   1
 

Definition at line 470 of file config-os2.h.

#define HAVE_LIBCRYPT   1
 

Definition at line 803 of file config-os2.h.

#define HAVE_LIBDL   1
 

Definition at line 806 of file config-os2.h.

#define HAVE_LIBM   1
 

Definition at line 812 of file config-os2.h.

#define HAVE_LIMITS_H   1
 

Definition at line 677 of file config-os2.h.

#define HAVE_LOCALE_H   1
 

Definition at line 680 of file config-os2.h.

#define HAVE_LOCALTIME_R   1
 

Definition at line 476 of file config-os2.h.

#define HAVE_LONGJMP   1
 

Definition at line 482 of file config-os2.h.

#define HAVE_MEMCPY   1
 

Definition at line 494 of file config-os2.h.

#define HAVE_MEMMOVE   1
 

Definition at line 497 of file config-os2.h.

#define HAVE_MEMORY_H   1
 

Definition at line 683 of file config-os2.h.

#define HAVE_NETINET_IN_H   1
 

Definition at line 689 of file config-os2.h.

#define HAVE_PERROR   1
 

Definition at line 506 of file config-os2.h.

#define HAVE_POSIX_SIGNALS   0
 

Definition at line 274 of file config-os2.h.

#define HAVE_PTHREAD_ATTR_SETPRIO   1
 

Definition at line 518 of file config-os2.h.

#define HAVE_PTHREAD_ATTR_SETSCOPE   1
 

Definition at line 280 of file config-os2.h.

#define HAVE_PTHREAD_ATTR_SETSTACKSIZE   1
 

Definition at line 524 of file config-os2.h.

#define HAVE_PTHREAD_SETPRIO   1
 

Definition at line 539 of file config-os2.h.

#define HAVE_PTHREAD_SIGMASK   1
 

Definition at line 548 of file config-os2.h.

#define HAVE_PUTENV   1
 

Definition at line 551 of file config-os2.h.

#define HAVE_RENAME   1
 

Definition at line 560 of file config-os2.h.

#define HAVE_RINT   1
 

Definition at line 563 of file config-os2.h.

#define HAVE_SELECT   1
 

Definition at line 569 of file config-os2.h.

#define HAVE_SETLOCALE   1
 

Definition at line 575 of file config-os2.h.

#define HAVE_SOCKET   1
 

Definition at line 593 of file config-os2.h.

#define HAVE_ST_RDEV   1
 

Definition at line 148 of file config-os2.h.

#define HAVE_STDARG_H   1
 

Definition at line 704 of file config-os2.h.

#define HAVE_STDDEF_H   1
 

Definition at line 707 of file config-os2.h.

#define HAVE_STDLIB_H   1
 

Definition at line 710 of file config-os2.h.

#define HAVE_STRCOLL   1
 

Definition at line 602 of file config-os2.h.

#define HAVE_STRERROR   1
 

Definition at line 605 of file config-os2.h.

#define HAVE_STRING_H   1
 

Definition at line 713 of file config-os2.h.

#define HAVE_STRPBRK   1
 

Definition at line 611 of file config-os2.h.

#define HAVE_STRSTR   1
 

Definition at line 614 of file config-os2.h.

#define HAVE_STRTOL   1
 

Definition at line 620 of file config-os2.h.

#define HAVE_STRTOUL   1
 

Definition at line 623 of file config-os2.h.

#define HAVE_SYS_IOCTL_H   1
 

Definition at line 728 of file config-os2.h.

#define HAVE_SYS_SELECT_H   1
 

Definition at line 743 of file config-os2.h.

#define HAVE_SYS_SOCKET_H   1
 

Definition at line 746 of file config-os2.h.

#define HAVE_SYS_TIMEB_H   1
 

Definition at line 752 of file config-os2.h.

#define HAVE_SYS_TYPES_H   1
 

Definition at line 755 of file config-os2.h.

#define HAVE_SYS_UN_H   1
 

Definition at line 758 of file config-os2.h.

#define HAVE_SYS_UTIME_H   1
 

Definition at line 761 of file config-os2.h.

#define HAVE_TCGETATTR   1
 

Definition at line 629 of file config-os2.h.

#define HAVE_TELL   1
 

Definition at line 632 of file config-os2.h.

#define HAVE_TEMPNAM   1
 

Definition at line 635 of file config-os2.h.

#define HAVE_TIMESPEC_TS_SEC   1
 

Definition at line 296 of file config-os2.h.

#define HAVE_TZNAME   1
 

Definition at line 299 of file config-os2.h.

#define HAVE_TZNAME   1
 

Definition at line 299 of file config-os2.h.

#define HAVE_UNISTD_H   1
 

Definition at line 785 of file config-os2.h.

#define HAVE_UTIME_H   1
 

Definition at line 788 of file config-os2.h.

#define HAVE_UTIME_NULL   1
 

Definition at line 158 of file config-os2.h.

#define HAVE_VARARGS_H   1
 

Definition at line 791 of file config-os2.h.

#define HAVE_VPRINTF   1
 

Definition at line 161 of file config-os2.h.

#define HUGE_PTR
 

Definition at line 93 of file config-os2.h.

#define lseek A,
B,
 )     _lseek64( A, B, C)
 

Definition at line 107 of file config-os2.h.

#define MACHINE_TYPE   "i686"
 

Definition at line 34 of file config-os2.h.

#define MY_NFILE   1024
 

Definition at line 44 of file config-os2.h.

#define MYSQL_UNIX_ADDR   "\\socket\\MySQL"
 

Definition at line 40 of file config-os2.h.

#define NO_FCNTL_NONBLOCK
 

Definition at line 67 of file config-os2.h.

#define NO_OPEN_3
 

Definition at line 63 of file config-os2.h.

#define O_NONBLOCK   0x10
 

Definition at line 61 of file config-os2.h.

#define O_SHARE   0x1000
 

Definition at line 55 of file config-os2.h.

#define PACKAGE   "mysql"
 

Definition at line 36 of file config-os2.h.

#define PROTOCOL_VERSION   10
 

Definition at line 323 of file config-os2.h.

#define QSORT_TYPE_IS_VOID   1
 

Definition at line 326 of file config-os2.h.

#define RETQSORTTYPE   void
 

Definition at line 329 of file config-os2.h.

#define RETSIGTYPE   void
 

Definition at line 170 of file config-os2.h.

#define S_IFMT   0x17000
 

Definition at line 90 of file config-os2.h.

#define S_IROTH   S_IREAD
 

Definition at line 57 of file config-os2.h.

#define SHAREDIR   "share"
 

Definition at line 50 of file config-os2.h.

#define SIGALRM   14
 

Definition at line 65 of file config-os2.h.

Referenced by SnortMain().

#define SIGQUIT   SIGTERM
 

Definition at line 64 of file config-os2.h.

#define SIZEOF_CHAR   1
 

Definition at line 368 of file config-os2.h.

#define SIZEOF_INT   4
 

Definition at line 371 of file config-os2.h.

#define SIZEOF_LONG   4
 

Definition at line 374 of file config-os2.h.

#define SIZEOF_LONG_LONG   8
 

Definition at line 377 of file config-os2.h.

#define SIZEOF_OFF_T   8
 

Definition at line 106 of file config-os2.h.

#define sleep  )     DosSleep((A)*1000)
 

Definition at line 76 of file config-os2.h.

#define SOCKET_SIZE_TYPE   int
 

Definition at line 332 of file config-os2.h.

#define SPRINTF_RETURNS_INT   1
 

Definition at line 339 of file config-os2.h.

#define STACK_DIRECTION   -1
 

Definition at line 182 of file config-os2.h.

#define STDC_HEADERS   1
 

Definition at line 188 of file config-os2.h.

#define STRUCT_DIRENT_HAS_D_INO   1
 

Definition at line 343 of file config-os2.h.

#define SYSTEM_TYPE   "IBM OS/2 Warp"
 

Definition at line 32 of file config-os2.h.

#define tell  )     _lseek64( A, 0, SEEK_CUR)
 

Definition at line 108 of file config-os2.h.

#define THREAD   1
 

Definition at line 346 of file config-os2.h.

#define TIME_WITH_SYS_TIME   1
 

Definition at line 191 of file config-os2.h.

#define VERSION   MYSQL_SERVER_VERSION
 

Definition at line 38 of file config-os2.h.

#define VOID_SIGHANDLER   1
 

Definition at line 365 of file config-os2.h.

#define W_OK   2
 

Definition at line 80 of file config-os2.h.


Typedef Documentation

typedef unsigned long long os_off_t
 

Definition at line 116 of file config-os2.h.


Function Documentation

void dlclose void *  hmod  ) 
 

char* dlerror void   ) 
 

void* dlopen char *  path,
int  flag
 

void* dlsym void *  hmod,
char *  fn
 

double _cdecl rint double  nr  )  [inline]
 

Definition at line 209 of file config-win.h.

DWORD TlsAlloc void   ) 
 

BOOL TlsFree DWORD   ) 
 

PVOID TlsGetValue DWORD   ) 
 

BOOL TlsSetValue DWORD  ,
PVOID 
 


Generated on Sun May 14 14:51:28 2006 by  doxygen 1.4.2