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 | 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 | 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 | LONGLONG_MIN ((__int64) 0x8000000000000000) |
#define | LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF) |
#define | ULONGLONG_MAX ((unsigned __int64) 0xFFFFFFFFFFFFFFFF) |
#define | LL(A) ((__int64) A) |
#define | ULL(A) ((unsigned __int64) A) |
#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 | 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 | sigset(A, B) signal((A),(B)) |
#define | finite(A) _finite(A) |
#define | sleep(A) Sleep((A)*1000) |
#define | popen(A) popen(A,B) _popen((A),(B)) |
#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 | set_timespec(ABSTIME, SEC) { (ABSTIME).tv_sec=time((time_t*)0) + (time_t) (SEC); (ABSTIME).tv_nsec=0; } |
#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 | floatget(V, M) memcpy((byte*) &V,(byte*) (M),sizeof(float)) |
#define | floatstore(T, V) memcpy((byte*)(T), (byte*)(&V), 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 |
#define | HAVE_CREATESEMAPHORE |
#define | HAVE_ISNAN |
#define | HAVE_FINITE |
#define | HAVE_QUERY_CACHE |
#define | SPRINTF_RETURNS_INT |
#define | HAVE_SETFILEPOINTER |
#define | HAVE_VIO |
#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 | FN_LIBCHAR '\\' |
#define | FN_ROOTDIR "\\" |
#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_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 | 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_big5 1 |
#define | HAVE_CHARSET_cp1250 1 |
#define | HAVE_CHARSET_cp932 1 |
#define | HAVE_CHARSET_euckr 1 |
#define | HAVE_CHARSET_gb2312 1 |
#define | HAVE_CHARSET_gbk 1 |
#define | HAVE_CHARSET_latin1 1 |
#define | HAVE_CHARSET_latin2 1 |
#define | HAVE_CHARSET_sjis 1 |
#define | HAVE_CHARSET_tis620 1 |
#define | HAVE_CHARSET_ucs2 1 |
#define | HAVE_CHARSET_ujis 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 |
Funciones | |
double | rint (double nr) |
double | ulonglong2double (ulonglong value) |
#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_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 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 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_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_big5 1 |
#define HAVE_CHARSET_cp1250 1 |
#define HAVE_CHARSET_cp932 1 |
#define HAVE_CHARSET_euckr 1 |
#define HAVE_CHARSET_gb2312 1 |
#define HAVE_CHARSET_gbk 1 |
#define HAVE_CHARSET_latin1 1 |
#define HAVE_CHARSET_latin2 1 |
#define HAVE_CHARSET_sjis 1 |
#define HAVE_CHARSET_tis620 1 |
#define HAVE_CHARSET_ucs2 1 |
#define HAVE_CHARSET_ujis 1 |
#define HAVE_CHARSET_utf8 1 |
#define HAVE_COMPRESS |
#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_STRPBRK |
#define HAVE_STRSTR |
#define HAVE_TELL |
#define HAVE_TZNAME |
#define HAVE_UCA_COLLATIONS 1 |
#define HAVE_UINT |
#define HAVE_VFPRINT |
#define HAVE_VIO |
#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 ((__int64) 0x7FFFFFFFFFFFFFFF) |
#define LONGLONG_MIN ((__int64) 0x8000000000000000) |
#define lseek | ( | A, | |
B, | |||
C | |||
) | _lseeki64((A),(longlong) (B),(C)) |
#define MACHINE_TYPE "unknown" |
#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_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 popen | ( | A | ) | popen(A,B) _popen((A),(B)) |
#define QSORT_TYPE_IS_VOID |
#define RETQSORTTYPE void |
#define RETSIGTYPE void |
#define S_IROTH S_IREAD |
#define set_timespec | ( | ABSTIME, | |
SEC | |||
) | { (ABSTIME).tv_sec=time((time_t*)0) + (time_t) (SEC); (ABSTIME).tv_nsec=0; } |
#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 sigset | ( | A, | |
B | |||
) | signal((A),(B)) |
#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_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_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 ULL | ( | A | ) | ((unsigned __int64) A) |
#define ULONGLONG_MAX ((unsigned __int64) 0xFFFFFFFFFFFFFFFF) |
#define USE_MB 1 |
#define USE_MB_IDENT 1 |
#define USE_STRCOLL 1 |
#define USE_SYMDIR |
#define VOID_SIGHANDLER |
typedef __int64 longlong |
typedef long off_t |
typedef __int64 os_off_t |
typedef uint rf_SetTimer |
typedef unsigned __int64 ulonglong |
typedef unsigned short ushort |
double rint | ( | double | nr | ) | [inline] |
double ulonglong2double | ( | ulonglong | value | ) | [inline] |