#include <sys/types.h>
#include <netinet/in.h>
#include "lib/stringinfo.h"
#include "libpq/libpq-be.h"
#include "libpq/ip.h"
Ir al código fuente de este archivo.
Clases |
| struct | PQArgBlock |
Funciones |
| int | StreamServerPort (int family, char *hostName, unsigned short portNumber, char *unixSocketName, int ListenSocket[], int MaxListen) |
| int | StreamConnection (int server_fd, Port *port) |
| void | StreamClose (int sock) |
| void | TouchSocketFile (void) |
| void | pq_init (void) |
| void | pq_comm_reset (void) |
| int | pq_getbytes (char *s, size_t len) |
| int | pq_getstring (StringInfo s) |
| int | pq_getmessage (StringInfo s, int maxlen) |
| int | pq_getbyte (void) |
| int | pq_peekbyte (void) |
| int | pq_putbytes (const char *s, size_t len) |
| int | pq_flush (void) |
| int | pq_putmessage (char msgtype, const char *s, size_t len) |
| void | pq_startcopyout (void) |
| void | pq_endcopyout (bool errorAbort) |
| int | secure_initialize (void) |
| void | secure_destroy (void) |
| int | secure_open_server (Port *port) |
| void | secure_close (Port *port) |
| ssize_t | secure_read (Port *port, void *ptr, size_t len) |
| ssize_t | secure_write (Port *port, void *ptr, size_t len) |
Documentación de las funciones
| void pq_comm_reset |
( |
void |
| ) |
|
| void pq_endcopyout |
( |
bool |
errorAbort | ) |
|
| int pq_getmessage |
( |
StringInfo |
s, |
|
|
int |
maxlen |
|
) |
| |
| int pq_getstring |
( |
StringInfo |
s | ) |
|
| int pq_putbytes |
( |
const char * |
s, |
|
|
size_t |
len |
|
) |
| |
| int pq_putmessage |
( |
char |
msgtype, |
|
|
const char * |
s, |
|
|
size_t |
len |
|
) |
| |
| void pq_startcopyout |
( |
void |
| ) |
|
| void secure_close |
( |
Port * |
port | ) |
|
| void secure_destroy |
( |
void |
| ) |
|
| int secure_initialize |
( |
void |
| ) |
|
| int secure_open_server |
( |
Port * |
port | ) |
|
| ssize_t secure_read |
( |
Port * |
port, |
|
|
void * |
ptr, |
|
|
size_t |
len |
|
) |
| |
| ssize_t secure_write |
( |
Port * |
port, |
|
|
void * |
ptr, |
|
|
size_t |
len |
|
) |
| |
| void StreamClose |
( |
int |
sock | ) |
|
| int StreamConnection |
( |
int |
server_fd, |
|
|
Port * |
port |
|
) |
| |
| int StreamServerPort |
( |
int |
family, |
|
|
char * |
hostName, |
|
|
unsigned short |
portNumber, |
|
|
char * |
unixSocketName, |
|
|
int |
ListenSocket[], |
|
|
int |
MaxListen |
|
) |
| |
| void TouchSocketFile |
( |
void |
| ) |
|