mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#ifndef _IN_ADDR_T
|
||||
#define _IN_ADDR_T
|
||||
typedef unsigned int in_addr_t;
|
||||
|
||||
#endif
|
||||
#define INADDR_NONE ((in_addr_t)-1)
|
||||
#endif
|
||||
@@ -78,18 +77,17 @@ 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
|
||||
|
Reference in New Issue
Block a user