diff options
Diffstat (limited to 'src/interfaces/odbc/socket.h')
-rw-r--r-- | src/interfaces/odbc/socket.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/interfaces/odbc/socket.h b/src/interfaces/odbc/socket.h index 828372d5cb5..c49d9fe88d8 100644 --- a/src/interfaces/odbc/socket.h +++ b/src/interfaces/odbc/socket.h @@ -77,17 +77,18 @@ struct SocketClass_ /* Socket prototypes */ -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); -void SOCK_put_n_char(SocketClass * self, char *buffer, int len); -BOOL SOCK_get_string(SocketClass * self, char *buffer, int bufsize); -void SOCK_put_string(SocketClass * self, char *string); -int SOCK_get_int(SocketClass * self, short len); -void SOCK_put_int(SocketClass * self, int value, short len); -void SOCK_flush_output(SocketClass * self); -unsigned char SOCK_get_next_byte(SocketClass * self); -void SOCK_put_next_byte(SocketClass * self, unsigned char next_byte); -void SOCK_clear_error(SocketClass * self); +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); +void SOCK_put_n_char(SocketClass *self, char *buffer, int len); +BOOL SOCK_get_string(SocketClass *self, char *buffer, int bufsize); +void SOCK_put_string(SocketClass *self, char *string); +int SOCK_get_int(SocketClass *self, short len); +void SOCK_put_int(SocketClass *self, int value, short len); +void SOCK_flush_output(SocketClass *self); +unsigned char SOCK_get_next_byte(SocketClass *self); +void SOCK_put_next_byte(SocketClass *self, unsigned char next_byte); +void SOCK_clear_error(SocketClass *self); + #endif |