libdrizzle Public API Documentation

Defines | Enumerations
Constants
Drizzle Client Interface | Drizzle Server Interface

Defines

#define DRIZZLE_RETURN_SERVER_GONE   DRIZZLE_RETURN_LOST_CONNECTION
#define DRIZZLE_RETURN_EOF   DRIZZLE_RETURN_LOST_CONNECTION
#define DRIZZLE_COLUMN_TYPE_VIRTUAL   17
#define DRIZZLE_DEFAULT_TCP_HOST   "127.0.0.1"
#define DRIZZLE_DEFAULT_TCP_PORT   4427
#define DRIZZLE_DEFAULT_TCP_PORT_MYSQL   3306
#define DRIZZLE_DEFAULT_UDS   "/tmp/drizzle.sock"
#define DRIZZLE_DEFAULT_UDS_MYSQL   "/tmp/mysql.sock"
#define DRIZZLE_DEFAULT_BACKLOG   64
#define DRIZZLE_MAX_ERROR_SIZE   2048
#define DRIZZLE_MAX_USER_SIZE   64
#define DRIZZLE_MAX_PASSWORD_SIZE   32
#define DRIZZLE_MAX_DB_SIZE   64
#define DRIZZLE_MAX_INFO_SIZE   2048
#define DRIZZLE_MAX_SQLSTATE_SIZE   5
#define DRIZZLE_MAX_CATALOG_SIZE   128
#define DRIZZLE_MAX_TABLE_SIZE   128
#define DRIZZLE_MAX_COLUMN_NAME_SIZE   2048
#define DRIZZLE_MAX_DEFAULT_VALUE_SIZE   2048
#define DRIZZLE_MAX_PACKET_SIZE   UINT32_MAX
#define DRIZZLE_MAX_BUFFER_SIZE   32768
#define DRIZZLE_BUFFER_COPY_THRESHOLD   8192
#define DRIZZLE_MAX_SERVER_VERSION_SIZE   32
#define DRIZZLE_MAX_SCRAMBLE_SIZE   20
#define DRIZZLE_STATE_STACK_SIZE   8
#define DRIZZLE_ROW_GROW_SIZE   8192
#define DRIZZLE_DEFAULT_SOCKET_TIMEOUT   10
#define DRIZZLE_DEFAULT_SOCKET_SEND_SIZE   32768
#define DRIZZLE_DEFAULT_SOCKET_RECV_SIZE   32768

Enumerations

enum  drizzle_return_t {
  DRIZZLE_RETURN_OK, DRIZZLE_RETURN_IO_WAIT, DRIZZLE_RETURN_PAUSE, DRIZZLE_RETURN_ROW_BREAK,
  DRIZZLE_RETURN_MEMORY, DRIZZLE_RETURN_ERRNO, DRIZZLE_RETURN_INTERNAL_ERROR, DRIZZLE_RETURN_GETADDRINFO,
  DRIZZLE_RETURN_NOT_READY, DRIZZLE_RETURN_BAD_PACKET_NUMBER, DRIZZLE_RETURN_BAD_HANDSHAKE_PACKET, DRIZZLE_RETURN_BAD_PACKET,
  DRIZZLE_RETURN_PROTOCOL_NOT_SUPPORTED, DRIZZLE_RETURN_UNEXPECTED_DATA, DRIZZLE_RETURN_NO_SCRAMBLE, DRIZZLE_RETURN_AUTH_FAILED,
  DRIZZLE_RETURN_NULL_SIZE, DRIZZLE_RETURN_ERROR_CODE, DRIZZLE_RETURN_TOO_MANY_COLUMNS, DRIZZLE_RETURN_ROW_END,
  DRIZZLE_RETURN_LOST_CONNECTION, DRIZZLE_RETURN_COULD_NOT_CONNECT, DRIZZLE_RETURN_NO_ACTIVE_CONNECTIONS, DRIZZLE_RETURN_HANDSHAKE_FAILED,
  DRIZZLE_RETURN_TIMEOUT, DRIZZLE_RETURN_MAX
}
enum  drizzle_verbose_t {
  DRIZZLE_VERBOSE_NEVER, DRIZZLE_VERBOSE_FATAL, DRIZZLE_VERBOSE_ERROR, DRIZZLE_VERBOSE_INFO,
  DRIZZLE_VERBOSE_DEBUG, DRIZZLE_VERBOSE_CRAZY, DRIZZLE_VERBOSE_MAX
}

Define Documentation

Todo:
Remove these with next major API change.

Definition at line 33 of file constants.h.

Definition at line 34 of file constants.h.

#define DRIZZLE_COLUMN_TYPE_VIRTUAL   17

Definition at line 35 of file constants.h.

#define DRIZZLE_DEFAULT_TCP_HOST   "127.0.0.1"

Definition at line 38 of file constants.h.

#define DRIZZLE_DEFAULT_TCP_PORT   4427

Definition at line 39 of file constants.h.

#define DRIZZLE_DEFAULT_TCP_PORT_MYSQL   3306

Definition at line 40 of file constants.h.

#define DRIZZLE_DEFAULT_UDS   "/tmp/drizzle.sock"

Definition at line 41 of file constants.h.

#define DRIZZLE_DEFAULT_UDS_MYSQL   "/tmp/mysql.sock"

Definition at line 42 of file constants.h.

#define DRIZZLE_DEFAULT_BACKLOG   64

Definition at line 43 of file constants.h.

#define DRIZZLE_MAX_ERROR_SIZE   2048

Definition at line 44 of file constants.h.

#define DRIZZLE_MAX_USER_SIZE   64

Definition at line 45 of file constants.h.

#define DRIZZLE_MAX_PASSWORD_SIZE   32

Definition at line 46 of file constants.h.

#define DRIZZLE_MAX_DB_SIZE   64

Definition at line 47 of file constants.h.

#define DRIZZLE_MAX_INFO_SIZE   2048

Definition at line 48 of file constants.h.

#define DRIZZLE_MAX_SQLSTATE_SIZE   5

Definition at line 49 of file constants.h.

#define DRIZZLE_MAX_CATALOG_SIZE   128

Definition at line 50 of file constants.h.

#define DRIZZLE_MAX_TABLE_SIZE   128

Definition at line 51 of file constants.h.

#define DRIZZLE_MAX_COLUMN_NAME_SIZE   2048

Definition at line 52 of file constants.h.

#define DRIZZLE_MAX_DEFAULT_VALUE_SIZE   2048

Definition at line 53 of file constants.h.

#define DRIZZLE_MAX_PACKET_SIZE   UINT32_MAX

Definition at line 54 of file constants.h.

#define DRIZZLE_MAX_BUFFER_SIZE   32768

Definition at line 55 of file constants.h.

#define DRIZZLE_BUFFER_COPY_THRESHOLD   8192

Definition at line 56 of file constants.h.

Definition at line 57 of file constants.h.

#define DRIZZLE_MAX_SCRAMBLE_SIZE   20

Definition at line 58 of file constants.h.

#define DRIZZLE_STATE_STACK_SIZE   8

Definition at line 59 of file constants.h.

#define DRIZZLE_ROW_GROW_SIZE   8192

Definition at line 60 of file constants.h.

Definition at line 61 of file constants.h.

Definition at line 62 of file constants.h.

Definition at line 63 of file constants.h.


Enumeration Type Documentation

Return codes.

Enumerator:
DRIZZLE_RETURN_OK 
DRIZZLE_RETURN_IO_WAIT 
DRIZZLE_RETURN_PAUSE 
DRIZZLE_RETURN_ROW_BREAK 
DRIZZLE_RETURN_MEMORY 
DRIZZLE_RETURN_ERRNO 
DRIZZLE_RETURN_INTERNAL_ERROR 
DRIZZLE_RETURN_GETADDRINFO 
DRIZZLE_RETURN_NOT_READY 
DRIZZLE_RETURN_BAD_PACKET_NUMBER 
DRIZZLE_RETURN_BAD_HANDSHAKE_PACKET 
DRIZZLE_RETURN_BAD_PACKET 
DRIZZLE_RETURN_PROTOCOL_NOT_SUPPORTED 
DRIZZLE_RETURN_UNEXPECTED_DATA 
DRIZZLE_RETURN_NO_SCRAMBLE 
DRIZZLE_RETURN_AUTH_FAILED 
DRIZZLE_RETURN_NULL_SIZE 
DRIZZLE_RETURN_ERROR_CODE 
DRIZZLE_RETURN_TOO_MANY_COLUMNS 
DRIZZLE_RETURN_ROW_END 
DRIZZLE_RETURN_LOST_CONNECTION 
DRIZZLE_RETURN_COULD_NOT_CONNECT 
DRIZZLE_RETURN_NO_ACTIVE_CONNECTIONS 
DRIZZLE_RETURN_HANDSHAKE_FAILED 
DRIZZLE_RETURN_TIMEOUT 
DRIZZLE_RETURN_MAX 

Definition at line 68 of file constants.h.

Verbosity levels.

Enumerator:
DRIZZLE_VERBOSE_NEVER 
DRIZZLE_VERBOSE_FATAL 
DRIZZLE_VERBOSE_ERROR 
DRIZZLE_VERBOSE_INFO 
DRIZZLE_VERBOSE_DEBUG 
DRIZZLE_VERBOSE_CRAZY 
DRIZZLE_VERBOSE_MAX 

Definition at line 101 of file constants.h.