aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/fe-connect.h')
-rw-r--r--src/interfaces/libpq/fe-connect.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/interfaces/libpq/fe-connect.h b/src/interfaces/libpq/fe-connect.h
index 7a68e3dedcd..999ae05dac4 100644
--- a/src/interfaces/libpq/fe-connect.h
+++ b/src/interfaces/libpq/fe-connect.h
@@ -6,26 +6,23 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: fe-connect.h,v 1.5 1997/12/04 00:28:13 scrappy Exp $
+ * $Id: fe-connect.h,v 1.6 1998/01/26 01:42:30 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef FE_CONNECT_H
#define FE_CONNECT_H
+#include <sys/types.h>
+
+#include "libpq-fe.h"
+
+
/*----------------------------------------------------------------
* Common routines and definitions
*----------------------------------------------------------------
*/
-extern int packetSend(Port *port, PacketBuf *buf, PacketLen len, bool nonBlocking);
-extern int packetReceive(Port *port, PacketBuf *buf, bool nonBlocking);
+int packetSend(PGconn *conn, char *buf, size_t len);
#endif /* FE_CONNECT_H */
-#ifndef FE_CONNECT_H
-#define FE_CONNECT_H
-
-int packetSend(Port *port, PacketBuf *buf, PacketLen len, bool nonBlocking);
-int packetReceive(Port *port, PacketBuf *buf, bool nonBlocking);
-
-#endif