Eneboo - Documentación para desarrolladores
|
Ir al código fuente de este archivo.
Clases | |
struct | sockaddr_storage |
struct | SockAddr |
struct | StartupPacket |
struct | CancelRequestPacket |
'defines' | |
#define | ss_family ss_stuff.sa.sa_family |
#define | UNIXSOCK_PATH(path, port, defpath) |
#define | PG_PROTOCOL_MAJOR(v) ((v) >> 16) |
#define | PG_PROTOCOL_MINOR(v) ((v) & 0x0000ffff) |
#define | PG_PROTOCOL(m, n) (((m) << 16) | (n)) |
#define | PG_PROTOCOL_EARLIEST PG_PROTOCOL(1,0) |
#define | PG_PROTOCOL_LATEST PG_PROTOCOL(3,0) |
#define | SM_DATABASE 64 |
#define | SM_USER 32 |
#define | SM_DATABASE_USER (SM_DATABASE+SM_USER+1) |
#define | SM_OPTIONS 64 |
#define | SM_UNUSED 64 |
#define | SM_TTY 64 |
#define | MAX_STARTUP_PACKET_LENGTH 10000 |
#define | AUTH_REQ_OK 0 |
#define | AUTH_REQ_KRB4 1 |
#define | AUTH_REQ_KRB5 2 |
#define | AUTH_REQ_PASSWORD 3 |
#define | AUTH_REQ_CRYPT 4 |
#define | AUTH_REQ_MD5 5 |
#define | AUTH_REQ_SCM_CREDS 6 |
#define | CANCEL_REQUEST_CODE PG_PROTOCOL(1234,5678) |
#define | NEGOTIATE_SSL_CODE PG_PROTOCOL(1234,5679) |
'typedefs' | |
typedef uint32 | ProtocolVersion |
typedef ProtocolVersion | MsgType |
typedef uint32 | PacketLen |
typedef struct StartupPacket | StartupPacket |
typedef uint32 | AuthRequest |
typedef struct CancelRequestPacket | CancelRequestPacket |
Variables | |
bool | Db_user_namespace |
#define AUTH_REQ_CRYPT 4 |
#define AUTH_REQ_KRB4 1 |
#define AUTH_REQ_KRB5 2 |
#define AUTH_REQ_MD5 5 |
#define AUTH_REQ_OK 0 |
#define AUTH_REQ_PASSWORD 3 |
#define AUTH_REQ_SCM_CREDS 6 |
#define CANCEL_REQUEST_CODE PG_PROTOCOL(1234,5678) |
#define MAX_STARTUP_PACKET_LENGTH 10000 |
#define NEGOTIATE_SSL_CODE PG_PROTOCOL(1234,5679) |
#define PG_PROTOCOL | ( | m, | |
n | |||
) | (((m) << 16) | (n)) |
#define PG_PROTOCOL_EARLIEST PG_PROTOCOL(1,0) |
#define PG_PROTOCOL_LATEST PG_PROTOCOL(3,0) |
#define PG_PROTOCOL_MAJOR | ( | v | ) | ((v) >> 16) |
#define PG_PROTOCOL_MINOR | ( | v | ) | ((v) & 0x0000ffff) |
#define SM_DATABASE 64 |
#define SM_DATABASE_USER (SM_DATABASE+SM_USER+1) |
#define SM_OPTIONS 64 |
#define SM_TTY 64 |
#define SM_UNUSED 64 |
#define SM_USER 32 |
#define ss_family ss_stuff.sa.sa_family |
#define UNIXSOCK_PATH | ( | path, | |
port, | |||
defpath | |||
) |
snprintf(path, sizeof(path), "%s/.s.PGSQL.%d", \ ((defpath) && *(defpath) != '\0') ? (defpath) : \ DEFAULT_PGSOCKET_DIR, \ (port))
typedef uint32 AuthRequest |
typedef struct CancelRequestPacket CancelRequestPacket |
typedef ProtocolVersion MsgType |
typedef uint32 ProtocolVersion |
typedef struct StartupPacket StartupPacket |