Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Enumeraciones | Funciones
Referencia del Archivo src/libmysql_macosx/include/mysql_com.h

Ir al código fuente de este archivo.

Clases

struct  st_net
struct  rand_struct
struct  st_udf_args
struct  st_udf_init

'defines'

#define NAME_LEN   64
#define HOSTNAME_LENGTH   60
#define USERNAME_LENGTH   16
#define SERVER_VERSION_LENGTH   60
#define SQLSTATE_LENGTH   5
#define LOCAL_HOST   "localhost"
#define LOCAL_HOST_NAMEDPIPE   "."
#define SCRAMBLE_LENGTH   20
#define SCRAMBLE_LENGTH_323   8
#define SCRAMBLED_PASSWORD_CHAR_LENGTH   (SCRAMBLE_LENGTH*2+1)
#define SCRAMBLED_PASSWORD_CHAR_LENGTH_323   (SCRAMBLE_LENGTH_323*2)
#define NOT_NULL_FLAG   1
#define PRI_KEY_FLAG   2
#define UNIQUE_KEY_FLAG   4
#define MULTIPLE_KEY_FLAG   8
#define BLOB_FLAG   16
#define UNSIGNED_FLAG   32
#define ZEROFILL_FLAG   64
#define BINARY_FLAG   128
#define ENUM_FLAG   256
#define AUTO_INCREMENT_FLAG   512
#define TIMESTAMP_FLAG   1024
#define SET_FLAG   2048
#define NUM_FLAG   32768
#define PART_KEY_FLAG   16384
#define GROUP_FLAG   32768
#define UNIQUE_FLAG   65536
#define BINCMP_FLAG   131072
#define REFRESH_GRANT   1
#define REFRESH_LOG   2
#define REFRESH_TABLES   4
#define REFRESH_HOSTS   8
#define REFRESH_STATUS   16
#define REFRESH_THREADS   32
#define REFRESH_SLAVE   64
#define REFRESH_MASTER   128
#define REFRESH_READ_LOCK   16384
#define REFRESH_FAST   32768
#define REFRESH_QUERY_CACHE   65536
#define REFRESH_QUERY_CACHE_FREE   0x20000L
#define REFRESH_DES_KEY_FILE   0x40000L
#define REFRESH_USER_RESOURCES   0x80000L
#define CLIENT_LONG_PASSWORD   1
#define CLIENT_FOUND_ROWS   2
#define CLIENT_LONG_FLAG   4
#define CLIENT_CONNECT_WITH_DB   8
#define CLIENT_NO_SCHEMA   16
#define CLIENT_COMPRESS   32
#define CLIENT_ODBC   64
#define CLIENT_LOCAL_FILES   128
#define CLIENT_IGNORE_SPACE   256
#define CLIENT_PROTOCOL_41   512
#define CLIENT_INTERACTIVE   1024
#define CLIENT_SSL   2048
#define CLIENT_IGNORE_SIGPIPE   4096
#define CLIENT_TRANSACTIONS   8192
#define CLIENT_RESERVED   16384
#define CLIENT_SECURE_CONNECTION   32768
#define CLIENT_MULTI_STATEMENTS   65536
#define CLIENT_MULTI_RESULTS   131072
#define CLIENT_REMEMBER_OPTIONS   (((ulong) 1) << 31)
#define SERVER_STATUS_IN_TRANS   1
#define SERVER_STATUS_AUTOCOMMIT   2
#define SERVER_STATUS_MORE_RESULTS   4
#define SERVER_MORE_RESULTS_EXISTS   8
#define SERVER_QUERY_NO_GOOD_INDEX_USED   16
#define SERVER_QUERY_NO_INDEX_USED   32
#define SERVER_STATUS_DB_DROPPED   256
#define MYSQL_ERRMSG_SIZE   512
#define NET_READ_TIMEOUT   30
#define NET_WRITE_TIMEOUT   60
#define NET_WAIT_TIMEOUT   8*60*60
#define MAX_TINYINT_WIDTH   3
#define MAX_SMALLINT_WIDTH   5
#define MAX_MEDIUMINT_WIDTH   8
#define MAX_INT_WIDTH   10
#define MAX_BIGINT_WIDTH   20
#define MAX_CHAR_WIDTH   255
#define MAX_BLOB_WIDTH   8192
#define packet_error   (~(unsigned long) 0)
#define CLIENT_MULTI_QUERIES   CLIENT_MULTI_STATEMENTS
#define FIELD_TYPE_DECIMAL   MYSQL_TYPE_DECIMAL
#define FIELD_TYPE_TINY   MYSQL_TYPE_TINY
#define FIELD_TYPE_SHORT   MYSQL_TYPE_SHORT
#define FIELD_TYPE_LONG   MYSQL_TYPE_LONG
#define FIELD_TYPE_FLOAT   MYSQL_TYPE_FLOAT
#define FIELD_TYPE_DOUBLE   MYSQL_TYPE_DOUBLE
#define FIELD_TYPE_NULL   MYSQL_TYPE_NULL
#define FIELD_TYPE_TIMESTAMP   MYSQL_TYPE_TIMESTAMP
#define FIELD_TYPE_LONGLONG   MYSQL_TYPE_LONGLONG
#define FIELD_TYPE_INT24   MYSQL_TYPE_INT24
#define FIELD_TYPE_DATE   MYSQL_TYPE_DATE
#define FIELD_TYPE_TIME   MYSQL_TYPE_TIME
#define FIELD_TYPE_DATETIME   MYSQL_TYPE_DATETIME
#define FIELD_TYPE_YEAR   MYSQL_TYPE_YEAR
#define FIELD_TYPE_NEWDATE   MYSQL_TYPE_NEWDATE
#define FIELD_TYPE_ENUM   MYSQL_TYPE_ENUM
#define FIELD_TYPE_SET   MYSQL_TYPE_SET
#define FIELD_TYPE_TINY_BLOB   MYSQL_TYPE_TINY_BLOB
#define FIELD_TYPE_MEDIUM_BLOB   MYSQL_TYPE_MEDIUM_BLOB
#define FIELD_TYPE_LONG_BLOB   MYSQL_TYPE_LONG_BLOB
#define FIELD_TYPE_BLOB   MYSQL_TYPE_BLOB
#define FIELD_TYPE_VAR_STRING   MYSQL_TYPE_VAR_STRING
#define FIELD_TYPE_STRING   MYSQL_TYPE_STRING
#define FIELD_TYPE_CHAR   MYSQL_TYPE_TINY
#define FIELD_TYPE_INTERVAL   MYSQL_TYPE_ENUM
#define FIELD_TYPE_GEOMETRY   MYSQL_TYPE_GEOMETRY
#define MYSQL_SHUTDOWN_KILLABLE_CONNECT   (unsigned char)(1 << 0)
#define MYSQL_SHUTDOWN_KILLABLE_TRANS   (unsigned char)(1 << 1)
#define MYSQL_SHUTDOWN_KILLABLE_LOCK_TABLE   (unsigned char)(1 << 2)
#define MYSQL_SHUTDOWN_KILLABLE_UPDATE   (unsigned char)(1 << 3)
#define net_new_transaction(net)   ((net)->pkt_nr=0)
#define NET_HEADER_SIZE   4
#define COMP_HEADER_SIZE   3
#define NULL_LENGTH   ((unsigned long) ~0)
#define MYSQL_STMT_HEADER   4
#define MYSQL_LONG_DATA_HEADER   6

'typedefs'

typedef struct st_vio Vio
typedef struct st_net NET
typedef struct st_udf_args UDF_ARGS
typedef struct st_udf_init UDF_INIT

Enumeraciones

enum  enum_server_command {
  COM_SLEEP, COM_QUIT, COM_INIT_DB, COM_QUERY,
  COM_FIELD_LIST, COM_CREATE_DB, COM_DROP_DB, COM_REFRESH,
  COM_SHUTDOWN, COM_STATISTICS, COM_PROCESS_INFO, COM_CONNECT,
  COM_PROCESS_KILL, COM_DEBUG, COM_PING, COM_TIME,
  COM_DELAYED_INSERT, COM_CHANGE_USER, COM_BINLOG_DUMP, COM_TABLE_DUMP,
  COM_CONNECT_OUT, COM_REGISTER_SLAVE, COM_STMT_PREPARE, COM_STMT_EXECUTE,
  COM_STMT_SEND_LONG_DATA, COM_STMT_CLOSE, COM_STMT_RESET, COM_SET_OPTION,
  COM_STMT_FETCH, COM_END, COM_SLEEP, COM_QUIT,
  COM_INIT_DB, COM_QUERY, COM_FIELD_LIST, COM_CREATE_DB,
  COM_DROP_DB, COM_REFRESH, COM_SHUTDOWN, COM_STATISTICS,
  COM_PROCESS_INFO, COM_CONNECT, COM_PROCESS_KILL, COM_DEBUG,
  COM_PING, COM_TIME, COM_DELAYED_INSERT, COM_CHANGE_USER,
  COM_BINLOG_DUMP, COM_TABLE_DUMP, COM_CONNECT_OUT, COM_REGISTER_SLAVE,
  COM_PREPARE, COM_EXECUTE, COM_LONG_DATA, COM_CLOSE_STMT,
  COM_RESET_STMT, COM_SET_OPTION, COM_END
}
enum  enum_field_types {
  MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, MYSQL_TYPE_SHORT, MYSQL_TYPE_LONG,
  MYSQL_TYPE_FLOAT, MYSQL_TYPE_DOUBLE, MYSQL_TYPE_NULL, MYSQL_TYPE_TIMESTAMP,
  MYSQL_TYPE_LONGLONG, MYSQL_TYPE_INT24, MYSQL_TYPE_DATE, MYSQL_TYPE_TIME,
  MYSQL_TYPE_DATETIME, MYSQL_TYPE_YEAR, MYSQL_TYPE_NEWDATE, MYSQL_TYPE_VARCHAR,
  MYSQL_TYPE_BIT, MYSQL_TYPE_NEWDECIMAL = 246, MYSQL_TYPE_ENUM = 247, MYSQL_TYPE_SET = 248,
  MYSQL_TYPE_TINY_BLOB = 249, MYSQL_TYPE_MEDIUM_BLOB = 250, MYSQL_TYPE_LONG_BLOB = 251, MYSQL_TYPE_BLOB = 252,
  MYSQL_TYPE_VAR_STRING = 253, MYSQL_TYPE_STRING = 254, MYSQL_TYPE_GEOMETRY = 255, MYSQL_TYPE_DECIMAL,
  MYSQL_TYPE_TINY, MYSQL_TYPE_SHORT, MYSQL_TYPE_LONG, MYSQL_TYPE_FLOAT,
  MYSQL_TYPE_DOUBLE, MYSQL_TYPE_NULL, MYSQL_TYPE_TIMESTAMP, MYSQL_TYPE_LONGLONG,
  MYSQL_TYPE_INT24, MYSQL_TYPE_DATE, MYSQL_TYPE_TIME, MYSQL_TYPE_DATETIME,
  MYSQL_TYPE_YEAR, MYSQL_TYPE_NEWDATE, MYSQL_TYPE_ENUM = 247, MYSQL_TYPE_SET = 248,
  MYSQL_TYPE_TINY_BLOB = 249, MYSQL_TYPE_MEDIUM_BLOB = 250, MYSQL_TYPE_LONG_BLOB = 251, MYSQL_TYPE_BLOB = 252,
  MYSQL_TYPE_VAR_STRING = 253, MYSQL_TYPE_STRING = 254, MYSQL_TYPE_GEOMETRY = 255
}
enum  mysql_enum_shutdown_level {
  SHUTDOWN_DEFAULT = 0, SHUTDOWN_WAIT_CONNECTIONS = MYSQL_SHUTDOWN_KILLABLE_CONNECT, SHUTDOWN_WAIT_TRANSACTIONS = MYSQL_SHUTDOWN_KILLABLE_TRANS, SHUTDOWN_WAIT_UPDATES = MYSQL_SHUTDOWN_KILLABLE_UPDATE,
  SHUTDOWN_WAIT_ALL_BUFFERS = (MYSQL_SHUTDOWN_KILLABLE_UPDATE << 1), SHUTDOWN_WAIT_CRITICAL_BUFFERS = (MYSQL_SHUTDOWN_KILLABLE_UPDATE << 1) + 1, KILL_CONNECTION = 255, SHUTDOWN_DEFAULT = 0,
  SHUTDOWN_WAIT_CONNECTIONS = MYSQL_SHUTDOWN_KILLABLE_CONNECT, SHUTDOWN_WAIT_TRANSACTIONS = MYSQL_SHUTDOWN_KILLABLE_TRANS, SHUTDOWN_WAIT_UPDATES = MYSQL_SHUTDOWN_KILLABLE_UPDATE, SHUTDOWN_WAIT_ALL_BUFFERS = (MYSQL_SHUTDOWN_KILLABLE_UPDATE << 1),
  SHUTDOWN_WAIT_CRITICAL_BUFFERS = (MYSQL_SHUTDOWN_KILLABLE_UPDATE << 1) + 1, KILL_CONNECTION = 255
}
enum  enum_mysql_set_option { MYSQL_OPTION_MULTI_STATEMENTS_ON, MYSQL_OPTION_MULTI_STATEMENTS_OFF, MYSQL_OPTION_MULTI_STATEMENTS_ON, MYSQL_OPTION_MULTI_STATEMENTS_OFF }
enum  Item_result {
  STRING_RESULT = 0, REAL_RESULT, INT_RESULT, ROW_RESULT,
  DECIMAL_RESULT, STRING_RESULT, REAL_RESULT, INT_RESULT,
  ROW_RESULT
}

Funciones

my_bool my_net_init (NET *net, Vio *vio)
void my_net_local_init (NET *net)
void net_end (NET *net)
void net_clear (NET *net)
my_bool net_realloc (NET *net, unsigned long length)
my_bool net_flush (NET *net)
my_bool my_net_write (NET *net, const char *packet, unsigned long len)
my_bool net_write_command (NET *net, unsigned char command, const char *header, unsigned long head_len, const char *packet, unsigned long len)
int net_real_write (NET *net, const char *packet, unsigned long len)
unsigned long my_net_read (NET *net)
int my_connect (my_socket s, const struct sockaddr *name, unsigned int namelen, unsigned int timeout)
void randominit (struct rand_struct *, unsigned long seed1, unsigned long seed2)
double my_rnd (struct rand_struct *)
void create_random_string (char *to, unsigned int length, struct rand_struct *rand_st)
void hash_password (unsigned long *to, const char *password, unsigned int password_len)
void make_scrambled_password_323 (char *to, const char *password)
void scramble_323 (char *to, const char *message, const char *password)
my_bool check_scramble_323 (const char *, const char *message, unsigned long *salt)
void get_salt_from_password_323 (unsigned long *res, const char *password)
void make_password_from_salt_323 (char *to, const unsigned long *salt)
void make_scrambled_password (char *to, const char *password)
void scramble (char *to, const char *message, const char *password)
my_bool check_scramble (const char *reply, const char *message, const unsigned char *hash_stage2)
void get_salt_from_password (unsigned char *res, const char *password)
void make_password_from_salt (char *to, const unsigned char *hash_stage2)
char * get_tty_password (char *opt_message)
const char * mysql_errno_to_sqlstate (unsigned int mysql_errno)
my_bool my_init (void)
int load_defaults (const char *conf_file, const char **groups, int *argc, char ***argv)
my_bool my_thread_init (void)
void my_thread_end (void)

Documentación de los 'defines'

#define AUTO_INCREMENT_FLAG   512
#define BINARY_FLAG   128
#define BINCMP_FLAG   131072
#define BLOB_FLAG   16
#define CLIENT_COMPRESS   32
#define CLIENT_CONNECT_WITH_DB   8
#define CLIENT_FOUND_ROWS   2
#define CLIENT_IGNORE_SIGPIPE   4096
#define CLIENT_IGNORE_SPACE   256
#define CLIENT_INTERACTIVE   1024
#define CLIENT_LOCAL_FILES   128
#define CLIENT_LONG_FLAG   4
#define CLIENT_LONG_PASSWORD   1
#define CLIENT_MULTI_QUERIES   CLIENT_MULTI_STATEMENTS
#define CLIENT_MULTI_RESULTS   131072
#define CLIENT_MULTI_STATEMENTS   65536
#define CLIENT_NO_SCHEMA   16
#define CLIENT_ODBC   64
#define CLIENT_PROTOCOL_41   512
#define CLIENT_REMEMBER_OPTIONS   (((ulong) 1) << 31)
#define CLIENT_RESERVED   16384
#define CLIENT_SECURE_CONNECTION   32768
#define CLIENT_SSL   2048
#define CLIENT_TRANSACTIONS   8192
#define COMP_HEADER_SIZE   3
#define ENUM_FLAG   256
#define FIELD_TYPE_BLOB   MYSQL_TYPE_BLOB
#define FIELD_TYPE_CHAR   MYSQL_TYPE_TINY
#define FIELD_TYPE_DATE   MYSQL_TYPE_DATE
#define FIELD_TYPE_DATETIME   MYSQL_TYPE_DATETIME
#define FIELD_TYPE_DECIMAL   MYSQL_TYPE_DECIMAL
#define FIELD_TYPE_DOUBLE   MYSQL_TYPE_DOUBLE
#define FIELD_TYPE_ENUM   MYSQL_TYPE_ENUM
#define FIELD_TYPE_FLOAT   MYSQL_TYPE_FLOAT
#define FIELD_TYPE_GEOMETRY   MYSQL_TYPE_GEOMETRY
#define FIELD_TYPE_INT24   MYSQL_TYPE_INT24
#define FIELD_TYPE_INTERVAL   MYSQL_TYPE_ENUM
#define FIELD_TYPE_LONG   MYSQL_TYPE_LONG
#define FIELD_TYPE_LONG_BLOB   MYSQL_TYPE_LONG_BLOB
#define FIELD_TYPE_LONGLONG   MYSQL_TYPE_LONGLONG
#define FIELD_TYPE_MEDIUM_BLOB   MYSQL_TYPE_MEDIUM_BLOB
#define FIELD_TYPE_NEWDATE   MYSQL_TYPE_NEWDATE
#define FIELD_TYPE_NULL   MYSQL_TYPE_NULL
#define FIELD_TYPE_SET   MYSQL_TYPE_SET
#define FIELD_TYPE_SHORT   MYSQL_TYPE_SHORT
#define FIELD_TYPE_STRING   MYSQL_TYPE_STRING
#define FIELD_TYPE_TIME   MYSQL_TYPE_TIME
#define FIELD_TYPE_TIMESTAMP   MYSQL_TYPE_TIMESTAMP
#define FIELD_TYPE_TINY   MYSQL_TYPE_TINY
#define FIELD_TYPE_TINY_BLOB   MYSQL_TYPE_TINY_BLOB
#define FIELD_TYPE_VAR_STRING   MYSQL_TYPE_VAR_STRING
#define FIELD_TYPE_YEAR   MYSQL_TYPE_YEAR
#define GROUP_FLAG   32768
#define HOSTNAME_LENGTH   60
#define LOCAL_HOST   "localhost"
#define LOCAL_HOST_NAMEDPIPE   "."
#define MAX_BIGINT_WIDTH   20
#define MAX_BLOB_WIDTH   8192
#define MAX_CHAR_WIDTH   255
#define MAX_INT_WIDTH   10
#define MAX_MEDIUMINT_WIDTH   8
#define MAX_SMALLINT_WIDTH   5
#define MAX_TINYINT_WIDTH   3
#define MULTIPLE_KEY_FLAG   8
#define MYSQL_ERRMSG_SIZE   512
#define MYSQL_LONG_DATA_HEADER   6
#define MYSQL_SHUTDOWN_KILLABLE_CONNECT   (unsigned char)(1 << 0)
#define MYSQL_SHUTDOWN_KILLABLE_LOCK_TABLE   (unsigned char)(1 << 2)
#define MYSQL_SHUTDOWN_KILLABLE_TRANS   (unsigned char)(1 << 1)
#define MYSQL_SHUTDOWN_KILLABLE_UPDATE   (unsigned char)(1 << 3)
#define MYSQL_STMT_HEADER   4
#define NAME_LEN   64
#define NET_HEADER_SIZE   4
#define net_new_transaction (   net)    ((net)->pkt_nr=0)
#define NET_READ_TIMEOUT   30
#define NET_WAIT_TIMEOUT   8*60*60
#define NET_WRITE_TIMEOUT   60
#define NOT_NULL_FLAG   1
#define NULL_LENGTH   ((unsigned long) ~0)
#define NUM_FLAG   32768
#define packet_error   (~(unsigned long) 0)
#define PART_KEY_FLAG   16384
#define PRI_KEY_FLAG   2
#define REFRESH_DES_KEY_FILE   0x40000L
#define REFRESH_FAST   32768
#define REFRESH_GRANT   1
#define REFRESH_HOSTS   8
#define REFRESH_LOG   2
#define REFRESH_MASTER   128
#define REFRESH_QUERY_CACHE   65536
#define REFRESH_QUERY_CACHE_FREE   0x20000L
#define REFRESH_READ_LOCK   16384
#define REFRESH_SLAVE   64
#define REFRESH_STATUS   16
#define REFRESH_TABLES   4
#define REFRESH_THREADS   32
#define REFRESH_USER_RESOURCES   0x80000L
#define SCRAMBLE_LENGTH   20
#define SCRAMBLE_LENGTH_323   8
#define SCRAMBLED_PASSWORD_CHAR_LENGTH   (SCRAMBLE_LENGTH*2+1)
#define SCRAMBLED_PASSWORD_CHAR_LENGTH_323   (SCRAMBLE_LENGTH_323*2)
#define SERVER_MORE_RESULTS_EXISTS   8
#define SERVER_QUERY_NO_GOOD_INDEX_USED   16
#define SERVER_QUERY_NO_INDEX_USED   32
#define SERVER_STATUS_AUTOCOMMIT   2
#define SERVER_STATUS_DB_DROPPED   256
#define SERVER_STATUS_IN_TRANS   1
#define SERVER_STATUS_MORE_RESULTS   4
#define SERVER_VERSION_LENGTH   60
#define SET_FLAG   2048
#define SQLSTATE_LENGTH   5
#define TIMESTAMP_FLAG   1024
#define UNIQUE_FLAG   65536
#define UNIQUE_KEY_FLAG   4
#define UNSIGNED_FLAG   32
#define USERNAME_LENGTH   16
#define ZEROFILL_FLAG   64

Documentación de los 'typedefs'

typedef struct st_net NET
typedef struct st_udf_args UDF_ARGS
typedef struct st_udf_init UDF_INIT
typedef struct st_vio Vio

Documentación de las enumeraciones

Valores de enumeraciones:
MYSQL_TYPE_DECIMAL 
MYSQL_TYPE_TINY 
MYSQL_TYPE_SHORT 
MYSQL_TYPE_LONG 
MYSQL_TYPE_FLOAT 
MYSQL_TYPE_DOUBLE 
MYSQL_TYPE_NULL 
MYSQL_TYPE_TIMESTAMP 
MYSQL_TYPE_LONGLONG 
MYSQL_TYPE_INT24 
MYSQL_TYPE_DATE 
MYSQL_TYPE_TIME 
MYSQL_TYPE_DATETIME 
MYSQL_TYPE_YEAR 
MYSQL_TYPE_NEWDATE 
MYSQL_TYPE_VARCHAR 
MYSQL_TYPE_BIT 
MYSQL_TYPE_NEWDECIMAL 
MYSQL_TYPE_ENUM 
MYSQL_TYPE_SET 
MYSQL_TYPE_TINY_BLOB 
MYSQL_TYPE_MEDIUM_BLOB 
MYSQL_TYPE_LONG_BLOB 
MYSQL_TYPE_BLOB 
MYSQL_TYPE_VAR_STRING 
MYSQL_TYPE_STRING 
MYSQL_TYPE_GEOMETRY 
MYSQL_TYPE_DECIMAL 
MYSQL_TYPE_TINY 
MYSQL_TYPE_SHORT 
MYSQL_TYPE_LONG 
MYSQL_TYPE_FLOAT 
MYSQL_TYPE_DOUBLE 
MYSQL_TYPE_NULL 
MYSQL_TYPE_TIMESTAMP 
MYSQL_TYPE_LONGLONG 
MYSQL_TYPE_INT24 
MYSQL_TYPE_DATE 
MYSQL_TYPE_TIME 
MYSQL_TYPE_DATETIME 
MYSQL_TYPE_YEAR 
MYSQL_TYPE_NEWDATE 
MYSQL_TYPE_ENUM 
MYSQL_TYPE_SET 
MYSQL_TYPE_TINY_BLOB 
MYSQL_TYPE_MEDIUM_BLOB 
MYSQL_TYPE_LONG_BLOB 
MYSQL_TYPE_BLOB 
MYSQL_TYPE_VAR_STRING 
MYSQL_TYPE_STRING 
MYSQL_TYPE_GEOMETRY 
Valores de enumeraciones:
MYSQL_OPTION_MULTI_STATEMENTS_ON 
MYSQL_OPTION_MULTI_STATEMENTS_OFF 
MYSQL_OPTION_MULTI_STATEMENTS_ON 
MYSQL_OPTION_MULTI_STATEMENTS_OFF 
Valores de enumeraciones:
COM_SLEEP 
COM_QUIT 
COM_INIT_DB 
COM_QUERY 
COM_FIELD_LIST 
COM_CREATE_DB 
COM_DROP_DB 
COM_REFRESH 
COM_SHUTDOWN 
COM_STATISTICS 
COM_PROCESS_INFO 
COM_CONNECT 
COM_PROCESS_KILL 
COM_DEBUG 
COM_PING 
COM_TIME 
COM_DELAYED_INSERT 
COM_CHANGE_USER 
COM_BINLOG_DUMP 
COM_TABLE_DUMP 
COM_CONNECT_OUT 
COM_REGISTER_SLAVE 
COM_STMT_PREPARE 
COM_STMT_EXECUTE 
COM_STMT_SEND_LONG_DATA 
COM_STMT_CLOSE 
COM_STMT_RESET 
COM_SET_OPTION 
COM_STMT_FETCH 
COM_END 
COM_SLEEP 
COM_QUIT 
COM_INIT_DB 
COM_QUERY 
COM_FIELD_LIST 
COM_CREATE_DB 
COM_DROP_DB 
COM_REFRESH 
COM_SHUTDOWN 
COM_STATISTICS 
COM_PROCESS_INFO 
COM_CONNECT 
COM_PROCESS_KILL 
COM_DEBUG 
COM_PING 
COM_TIME 
COM_DELAYED_INSERT 
COM_CHANGE_USER 
COM_BINLOG_DUMP 
COM_TABLE_DUMP 
COM_CONNECT_OUT 
COM_REGISTER_SLAVE 
COM_PREPARE 
COM_EXECUTE 
COM_LONG_DATA 
COM_CLOSE_STMT 
COM_RESET_STMT 
COM_SET_OPTION 
COM_END 
Valores de enumeraciones:
STRING_RESULT 
REAL_RESULT 
INT_RESULT 
ROW_RESULT 
DECIMAL_RESULT 
STRING_RESULT 
REAL_RESULT 
INT_RESULT 
ROW_RESULT 
Valores de enumeraciones:
SHUTDOWN_DEFAULT 
SHUTDOWN_WAIT_CONNECTIONS 
SHUTDOWN_WAIT_TRANSACTIONS 
SHUTDOWN_WAIT_UPDATES 
SHUTDOWN_WAIT_ALL_BUFFERS 
SHUTDOWN_WAIT_CRITICAL_BUFFERS 
KILL_CONNECTION 
SHUTDOWN_DEFAULT 
SHUTDOWN_WAIT_CONNECTIONS 
SHUTDOWN_WAIT_TRANSACTIONS 
SHUTDOWN_WAIT_UPDATES 
SHUTDOWN_WAIT_ALL_BUFFERS 
SHUTDOWN_WAIT_CRITICAL_BUFFERS 
KILL_CONNECTION 

Documentación de las funciones

my_bool check_scramble ( const char *  reply,
const char *  message,
const unsigned char *  hash_stage2 
)
my_bool check_scramble_323 ( const char *  ,
const char *  message,
unsigned long *  salt 
)
void create_random_string ( char *  to,
unsigned int  length,
struct rand_struct rand_st 
)
void get_salt_from_password ( unsigned char *  res,
const char *  password 
)
void get_salt_from_password_323 ( unsigned long *  res,
const char *  password 
)
char* get_tty_password ( char *  opt_message)
void hash_password ( unsigned long *  to,
const char *  password,
unsigned int  password_len 
)
int load_defaults ( const char *  conf_file,
const char **  groups,
int argc,
char ***  argv 
)
void make_password_from_salt ( char *  to,
const unsigned char *  hash_stage2 
)
void make_password_from_salt_323 ( char *  to,
const unsigned long *  salt 
)
void make_scrambled_password ( char *  to,
const char *  password 
)
void make_scrambled_password_323 ( char *  to,
const char *  password 
)
int my_connect ( my_socket  s,
const struct sockaddr *  name,
unsigned int  namelen,
unsigned int  timeout 
)
my_bool my_init ( void  )
my_bool my_net_init ( NET net,
Vio vio 
)
void my_net_local_init ( NET net)
unsigned long my_net_read ( NET net)
my_bool my_net_write ( NET net,
const char *  packet,
unsigned long  len 
)
double my_rnd ( struct rand_struct )
void my_thread_end ( void  )
my_bool my_thread_init ( void  )
const char* mysql_errno_to_sqlstate ( unsigned int  mysql_errno)
void net_clear ( NET net)
void net_end ( NET net)
my_bool net_flush ( NET net)
int net_real_write ( NET net,
const char *  packet,
unsigned long  len 
)
my_bool net_realloc ( NET net,
unsigned long  length 
)
my_bool net_write_command ( NET net,
unsigned char  command,
const char *  header,
unsigned long  head_len,
const char *  packet,
unsigned long  len 
)
void randominit ( struct rand_struct ,
unsigned long  seed1,
unsigned long  seed2 
)
void scramble ( char *  to,
const char *  message,
const char *  password 
)
void scramble_323 ( char *  to,
const char *  message,
const char *  password 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'