mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Update odbc driver to current version V.0244
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
|
||||
/* File: socket.h
|
||||
*
|
||||
* Description: See "socket.c"
|
||||
*
|
||||
* Comments: See "notice.txt" for copyright and license information.
|
||||
*
|
||||
*/
|
||||
|
||||
/* File: socket.h
|
||||
*
|
||||
* Description: See "socket.c"
|
||||
*
|
||||
* Comments: See "notice.txt" for copyright and license information.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __SOCKET_H__
|
||||
#define __SOCKET_H__
|
||||
@@ -36,8 +36,8 @@ struct SocketClass_ {
|
||||
SOCKET socket;
|
||||
|
||||
char *errormsg;
|
||||
int errornumber;
|
||||
|
||||
int errornumber;
|
||||
|
||||
char reverse; /* used to handle Postgres 6.2 protocol (reverse byte order) */
|
||||
|
||||
};
|
||||
@@ -49,9 +49,9 @@ struct SocketClass_ {
|
||||
/* error functions */
|
||||
#define SOCK_get_errcode(self) (self->errornumber)
|
||||
#define SOCK_get_errmsg(self) (self->errormsg)
|
||||
|
||||
|
||||
/* Socket prototypes */
|
||||
|
||||
/* Socket prototypes */
|
||||
SocketClass *SOCK_Constructor();
|
||||
void SOCK_Destructor(SocketClass *self);
|
||||
char SOCK_connect_to(SocketClass *self, unsigned short port, char *hostname);
|
||||
|
Reference in New Issue
Block a user