Eneboo - Documentación para desarrolladores
|
#include <sys/locking.h>
#include <windows.h>
#include <math.h>
#include <fcntl.h>
#include <io.h>
#include <malloc.h>
Ir al código fuente de este archivo.
'defines' | |
#define | HAVE_SMEM 1 |
#define | SYSTEM_TYPE "Windows" |
#define | MACHINE_TYPE "unknown" |
#define | _WIN32 |
#define | __WIN32__ |
#define | __WIN__ |
#define | MAX_INDEXES 64 |
#define | O_SHARE 0x1000 |
#define | F_RDLCK _LK_NBLCK |
#define | F_WRLCK _LK_NBRLCK |
#define | F_UNLCK _LK_UNLCK |
#define | F_EXCLUSIVE 1 |
#define | F_TO_EOF (INT_MAX32/2) |
#define | F_OK 0 |
#define | W_OK 2 |
#define | S_IROTH S_IREAD |
#define | O_BINARY _O_BINARY |
#define | FILE_BINARY _O_BINARY |
#define | O_TEMPORARY _O_TEMPORARY |
#define | O_SHORT_LIVED _O_SHORT_LIVED |
#define | SH_DENYNO _SH_DENYNO |
#define | NO_OPEN_3 |
#define | SIGQUIT SIGTERM |
#define | LL(A) ((__int64) A) |
#define | ULL(A) ((unsigned __int64) A) |
#define | LONGLONG_MIN LL(0x8000000000000000) |
#define | LONGLONG_MAX LL(0x7FFFFFFFFFFFFFFF) |
#define | ULONGLONG_MAX ULL(0xFFFFFFFFFFFFFFFF) |
#define | HAVE_UINT |
#define | longlong_defined |
#define | Socket_defined |
#define | my_socket SOCKET |
#define | bool BOOL |
#define | SIGPIPE SIGINT |
#define | RETQSORTTYPE void |
#define | QSORT_TYPE_IS_VOID |
#define | RETSIGTYPE void |
#define | SOCKET_SIZE_TYPE int |
#define | my_socket_defined |
#define | bool_defined |
#define | byte_defined |
#define | uintptr_t uint |
#define | HUGE_PTR |
#define | STDCALL __stdcall |
#define | isnan(X) _isnan(X) |
#define | finite(X) _finite(X) |
#define | THREAD |
#define | VOID_SIGHANDLER |
#define | SIZEOF_CHAR 1 |
#define | SIZEOF_LONG 4 |
#define | SIZEOF_LONG_LONG 8 |
#define | SIZEOF_OFF_T 8 |
#define | SIZEOF_CHARP 4 |
#define | HAVE_BROKEN_NETINET_INCLUDES |
#define | SIGNAL_WITH_VIO_CLOSE |
#define | USE_MB 1 |
#define | USE_MB_IDENT 1 |
#define | USE_STRCOLL 1 |
#define | USE_SYMDIR |
#define | ENABLED_LOCAL_INFILE 1 |
#define | ENABLED_PROFILING 1 |
#define | my_sigset(A, B) signal((A),(B)) |
#define | finite(A) _finite(A) |
#define | sleep(A) Sleep((A)*1000) |
#define | pclose(A) _pclose(A) |
#define | access(A, B) _access(A,B) |
#define | inline __inline |
#define | my_off_t2double(A) ulonglong2double(A) |
#define | lseek(A, B, C) _lseeki64((A),(longlong) (B),(C)) |
#define | tell(A) _telli64(A) |
#define | STACK_DIRECTION -1 |
#define | sint2korr(A) (*((int16 *) (A))) |
#define | sint3korr(A) |
#define | sint4korr(A) (*((long *) (A))) |
#define | uint2korr(A) (*((uint16 *) (A))) |
#define | uint3korr(A) (long) (*((unsigned int *) (A)) & 0xFFFFFF) |
#define | uint4korr(A) (*((unsigned long *) (A))) |
#define | uint5korr(A) |
#define | uint8korr(A) (*((ulonglong *) (A))) |
#define | sint8korr(A) (*((longlong *) (A))) |
#define | int2store(T, A) *((uint16*) (T))= (uint16) (A) |
#define | int3store(T, A) |
#define | int4store(T, A) *((long *) (T))= (long) (A) |
#define | int5store(T, A) |
#define | int8store(T, A) *((ulonglong *) (T))= (ulonglong) (A) |
#define | doubleget(V, M) |
#define | doublestore(T, V) |
#define | float4get(V, M) { *((long *) &(V)) = *((long*) (M)); } |
#define | floatstore(T, V) memcpy((byte*)(T), (byte*)(&V), sizeof(float)) |
#define | floatget(V, M) memcpy((byte*)(&V), (byte*)(M), sizeof(float)) |
#define | float8get(V, M) doubleget((V),(M)) |
#define | float4store(V, M) memcpy((byte*) V,(byte*) (&M),sizeof(float)) |
#define | float8store(V, M) doublestore((V),(M)) |
#define | HAVE_PERROR |
#define | HAVE_VFPRINT |
#define | HAVE_RENAME |
#define | HAVE_BINARY_STREAMS |
#define | HAVE_LONG_JMP |
#define | HAVE_LOCKING |
#define | HAVE_ERRNO_AS_DEFINE |
#define | HAVE_STDLIB |
#define | HAVE_MEMCPY |
#define | HAVE_MEMMOVE |
#define | HAVE_GETCWD |
#define | HAVE_TELL |
#define | HAVE_TZNAME |
#define | HAVE_PUTENV |
#define | HAVE_SELECT |
#define | HAVE_SETLOCALE |
#define | HAVE_SOCKET |
#define | HAVE_FLOAT_H |
#define | HAVE_LIMITS_H |
#define | HAVE_STDDEF_H |
#define | HAVE_RINT |
#define | NO_FCNTL_NONBLOCK |
#define | HAVE_ALLOCA |
#define | HAVE_STRPBRK |
#define | HAVE_STRSTR |
#define | HAVE_COMPRESS 1 |
#define | HAVE_CREATESEMAPHORE |
#define | HAVE_ISNAN |
#define | HAVE_FINITE |
#define | HAVE_QUERY_CACHE |
#define | SPRINTF_RETURNS_INT |
#define | HAVE_SETFILEPOINTER |
#define | HAVE_VIO_READ_BUFF |
#define | HAVE_STRNLEN |
#define | FILE_SHARE_DELETE 0 |
#define | my_reinterpret_cast(A) reinterpret_cast <A> |
#define | my_const_cast(A) const_cast<A> |
#define | DEFAULT_MYSQL_HOME "c:\\" |
#define | DATADIR "c:\\" |
#define | PACKAGE "mysql" |
#define | DEFAULT_BASEDIR "c:\\" |
#define | SHAREDIR "share" |
#define | DEFAULT_CHARSET_HOME "c:/" |
#define | DEFAULT_HOME_ENV MYSQL_HOME |
#define | DEFAULT_GROUP_SUFFIX_ENV MYSQL_GROUP_SUFFIX |
#define | FN_LIBCHAR '\\' |
#define | FN_ROOTDIR "\\" |
#define | FN_DEVCHAR ':' |
#define | FN_NETWORK_DRIVES |
#define | FN_NO_CASE_SENCE |
#define | OS_FILE_LIMIT 2048 |
#define | DO_NOT_REMOVE_THREAD_WRAPPERS |
#define | thread_safe_increment(V, L) InterlockedIncrement((long*) &(V)) |
#define | thread_safe_decrement(V, L) InterlockedDecrement((long*) &(V)) |
#define | thread_safe_add(V, C, L) pthread_mutex_lock((L)); (V)+=(C); pthread_mutex_unlock((L)); |
#define | thread_safe_sub(V, C, L) pthread_mutex_lock((L)); (V)-=(C); pthread_mutex_unlock((L)); |
#define | statistic_add(V, C, L) (V)+=(C) |
#define | statistic_increment(V, L) thread_safe_increment((V),(L)) |
#define | statistic_decrement(V, L) thread_safe_decrement((V),(L)) |
#define | shared_memory_buffer_length 16000 |
#define | default_shared_memory_base_name "MYSQL" |
#define | MYSQL_DEFAULT_CHARSET_NAME "latin1" |
#define | MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci" |
#define | HAVE_SPATIAL 1 |
#define | HAVE_RTREE_KEYS 1 |
#define | HAVE_CHARSET_cp932 1 |
#define | HAVE_CHARSET_latin1 1 |
#define | HAVE_CHARSET_utf8 1 |
#define | HAVE_UCA_COLLATIONS 1 |
'typedefs' | |
typedef unsigned short | ushort |
typedef unsigned int | uint |
typedef unsigned __int64 | ulonglong |
typedef __int64 | longlong |
typedef int | sigset_t |
typedef long | off_t |
typedef __int64 | os_off_t |
typedef unsigned int | size_t |
typedef uint | rf_SetTimer |
#define __WIN32__ |
#define __WIN__ |
#define _WIN32 |
#define access | ( | A, | |
B | |||
) | _access(A,B) |
#define bool BOOL |
#define bool_defined |
#define byte_defined |
#define DATADIR "c:\\" |
#define DEFAULT_BASEDIR "c:\\" |
#define DEFAULT_CHARSET_HOME "c:/" |
#define DEFAULT_GROUP_SUFFIX_ENV MYSQL_GROUP_SUFFIX |
#define DEFAULT_HOME_ENV MYSQL_HOME |
#define DEFAULT_MYSQL_HOME "c:\\" |
#define default_shared_memory_base_name "MYSQL" |
#define DO_NOT_REMOVE_THREAD_WRAPPERS |
#define doubleget | ( | V, | |
M | |||
) |
#define doublestore | ( | T, | |
V | |||
) |
#define ENABLED_LOCAL_INFILE 1 |
#define ENABLED_PROFILING 1 |
#define F_EXCLUSIVE 1 |
#define F_OK 0 |
#define F_RDLCK _LK_NBLCK |
#define F_TO_EOF (INT_MAX32/2) |
#define F_UNLCK _LK_UNLCK |
#define F_WRLCK _LK_NBRLCK |
#define FILE_BINARY _O_BINARY |
#define FILE_SHARE_DELETE 0 |
#define finite | ( | X | ) | _finite(X) |
#define finite | ( | A | ) | _finite(A) |
#define float4get | ( | V, | |
M | |||
) | { *((long *) &(V)) = *((long*) (M)); } |
#define float8get | ( | V, | |
M | |||
) | doubleget((V),(M)) |
#define float8store | ( | V, | |
M | |||
) | doublestore((V),(M)) |
#define FN_DEVCHAR ':' |
#define FN_LIBCHAR '\\' |
#define FN_NETWORK_DRIVES |
#define FN_NO_CASE_SENCE |
#define FN_ROOTDIR "\\" |
#define HAVE_ALLOCA |
#define HAVE_BINARY_STREAMS |
#define HAVE_BROKEN_NETINET_INCLUDES |
#define HAVE_CHARSET_cp932 1 |
#define HAVE_CHARSET_latin1 1 |
#define HAVE_CHARSET_utf8 1 |
#define HAVE_COMPRESS 1 |
#define HAVE_CREATESEMAPHORE |
#define HAVE_ERRNO_AS_DEFINE |
#define HAVE_FINITE |
#define HAVE_FLOAT_H |
#define HAVE_GETCWD |
#define HAVE_ISNAN |
#define HAVE_LIMITS_H |
#define HAVE_LOCKING |
#define HAVE_LONG_JMP |
#define HAVE_MEMCPY |
#define HAVE_MEMMOVE |
#define HAVE_PERROR |
#define HAVE_PUTENV |
#define HAVE_QUERY_CACHE |
#define HAVE_RENAME |
#define HAVE_RINT |
#define HAVE_RTREE_KEYS 1 |
#define HAVE_SELECT |
#define HAVE_SETFILEPOINTER |
#define HAVE_SETLOCALE |
#define HAVE_SMEM 1 |
#define HAVE_SOCKET |
#define HAVE_SPATIAL 1 |
#define HAVE_STDDEF_H |
#define HAVE_STDLIB |
#define HAVE_STRNLEN |
#define HAVE_STRPBRK |
#define HAVE_STRSTR |
#define HAVE_TELL |
#define HAVE_TZNAME |
#define HAVE_UCA_COLLATIONS 1 |
#define HAVE_UINT |
#define HAVE_VFPRINT |
#define HAVE_VIO_READ_BUFF |
#define HUGE_PTR |
#define inline __inline |
#define int3store | ( | T, | |
A | |||
) |
#define int4store | ( | T, | |
A | |||
) | *((long *) (T))= (long) (A) |
#define int5store | ( | T, | |
A | |||
) |
#define isnan | ( | X | ) | _isnan(X) |
#define LL | ( | A | ) | ((__int64) A) |
#define longlong_defined |
#define LONGLONG_MAX LL(0x7FFFFFFFFFFFFFFF) |
#define LONGLONG_MIN LL(0x8000000000000000) |
#define lseek | ( | A, | |
B, | |||
C | |||
) | _lseeki64((A),(longlong) (B),(C)) |
#define MACHINE_TYPE "unknown" |
#define MAX_INDEXES 64 |
#define my_const_cast | ( | A | ) | const_cast<A> |
#define my_off_t2double | ( | A | ) | ulonglong2double(A) |
#define my_reinterpret_cast | ( | A | ) | reinterpret_cast <A> |
#define my_sigset | ( | A, | |
B | |||
) | signal((A),(B)) |
#define my_socket SOCKET |
#define my_socket_defined |
#define MYSQL_DEFAULT_CHARSET_NAME "latin1" |
#define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci" |
#define NO_FCNTL_NONBLOCK |
#define NO_OPEN_3 |
#define O_BINARY _O_BINARY |
#define O_SHARE 0x1000 |
#define O_SHORT_LIVED _O_SHORT_LIVED |
#define O_TEMPORARY _O_TEMPORARY |
#define OS_FILE_LIMIT 2048 |
#define PACKAGE "mysql" |
#define pclose | ( | A | ) | _pclose(A) |
#define QSORT_TYPE_IS_VOID |
#define RETQSORTTYPE void |
#define RETSIGTYPE void |
#define S_IROTH S_IREAD |
#define SH_DENYNO _SH_DENYNO |
#define shared_memory_buffer_length 16000 |
#define SHAREDIR "share" |
#define SIGNAL_WITH_VIO_CLOSE |
#define SIGPIPE SIGINT |
#define SIGQUIT SIGTERM |
#define sint2korr | ( | A | ) | (*((int16 *) (A))) |
#define sint3korr | ( | A | ) |
#define sint4korr | ( | A | ) | (*((long *) (A))) |
#define sint8korr | ( | A | ) | (*((longlong *) (A))) |
#define SIZEOF_CHAR 1 |
#define SIZEOF_CHARP 4 |
#define SIZEOF_LONG 4 |
#define SIZEOF_LONG_LONG 8 |
#define SIZEOF_OFF_T 8 |
#define sleep | ( | A | ) | Sleep((A)*1000) |
#define Socket_defined |
#define SOCKET_SIZE_TYPE int |
#define SPRINTF_RETURNS_INT |
#define STACK_DIRECTION -1 |
#define statistic_add | ( | V, | |
C, | |||
L | |||
) | (V)+=(C) |
#define statistic_decrement | ( | V, | |
L | |||
) | thread_safe_decrement((V),(L)) |
#define statistic_increment | ( | V, | |
L | |||
) | thread_safe_increment((V),(L)) |
#define STDCALL __stdcall |
#define SYSTEM_TYPE "Windows" |
#define tell | ( | A | ) | _telli64(A) |
#define THREAD |
#define thread_safe_add | ( | V, | |
C, | |||
L | |||
) | pthread_mutex_lock((L)); (V)+=(C); pthread_mutex_unlock((L)); |
#define thread_safe_decrement | ( | V, | |
L | |||
) | InterlockedDecrement((long*) &(V)) |
#define thread_safe_increment | ( | V, | |
L | |||
) | InterlockedIncrement((long*) &(V)) |
#define thread_safe_sub | ( | V, | |
C, | |||
L | |||
) | pthread_mutex_lock((L)); (V)-=(C); pthread_mutex_unlock((L)); |
#define uint2korr | ( | A | ) | (*((uint16 *) (A))) |
#define uint3korr | ( | A | ) | (long) (*((unsigned int *) (A)) & 0xFFFFFF) |
#define uint4korr | ( | A | ) | (*((unsigned long *) (A))) |
#define uint5korr | ( | A | ) |
#define uint8korr | ( | A | ) | (*((ulonglong *) (A))) |
#define uintptr_t uint |
#define ULL | ( | A | ) | ((unsigned __int64) A) |
#define ULONGLONG_MAX ULL(0xFFFFFFFFFFFFFFFF) |
#define USE_MB 1 |
#define USE_MB_IDENT 1 |
#define USE_STRCOLL 1 |
#define USE_SYMDIR |
#define VOID_SIGHANDLER |
#define W_OK 2 |
typedef __int64 longlong |
typedef long off_t |
typedef __int64 os_off_t |
typedef uint rf_SetTimer |
typedef unsigned __int64 ulonglong |
typedef unsigned short ushort |