From 99d21d5b62a54d64b95dc915a35fb35111bbc430 Mon Sep 17 00:00:00 2001 From: Byron Nikolaidis Date: Wed, 3 Jun 1998 20:33:45 +0000 Subject: Update odbc driver to current version V.0244 --- src/interfaces/odbc/socket.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/interfaces/odbc/socket.h') diff --git a/src/interfaces/odbc/socket.h b/src/interfaces/odbc/socket.h index 458adc716c2..457ab258da6 100644 --- a/src/interfaces/odbc/socket.h +++ b/src/interfaces/odbc/socket.h @@ -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); -- cgit v1.2.3