mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
1) Most driver options could be set per DSN.
2) Keep FE/BE protocol more precisely. 3) Improve procedure calls. 4) A trial to avoid PREMATURE execution(#ifdef'd now). Hiroshi Inoue
This commit is contained in:
@@ -53,6 +53,7 @@ typedef unsigned int in_addr_t;
|
||||
struct SocketClass_
|
||||
{
|
||||
|
||||
int buffer_size;
|
||||
int buffer_filled_in;
|
||||
int buffer_filled_out;
|
||||
int buffer_read_in;
|
||||
@@ -79,7 +80,7 @@ struct SocketClass_
|
||||
|
||||
|
||||
/* Socket prototypes */
|
||||
SocketClass *SOCK_Constructor(void);
|
||||
SocketClass *SOCK_Constructor(const ConnectionClass *conn);
|
||||
void SOCK_Destructor(SocketClass *self);
|
||||
char SOCK_connect_to(SocketClass *self, unsigned short port, char *hostname);
|
||||
void SOCK_get_n_char(SocketClass *self, char *buffer, int len);
|
||||
|
Reference in New Issue
Block a user