aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-connect.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/interfaces/libpq/fe-connect.h b/src/interfaces/libpq/fe-connect.h
new file mode 100644
index 00000000000..ffa746473d3
--- /dev/null
+++ b/src/interfaces/libpq/fe-connect.h
@@ -0,0 +1,29 @@
+/*-------------------------------------------------------------------------
+ *
+ * fe-connect.h
+ *
+ * Definitions related to setting up a connection to the backend
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: fe-connect.h,v 1.1 1997/03/16 19:06:04 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef FE_CONNECT_H
+#define FE_CONNECT_H
+
+/*----------------------------------------------------------------
+ * Common routines and definitions
+ *----------------------------------------------------------------
+ */
+
+extern int packetSend(Port *port, PacketBuf *buf, PacketLen len, bool nonBlocking);
+
+#endif /* FE_CONNECT_H */
+#ifndef FE_CONNECT_H
+#define FE_CONNECT_H
+
+int packetSend(Port *port, PacketBuf *buf, PacketLen len, bool nonBlocking);
+
+#endif