summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarc G. Fournier1999-01-12 12:49:52 +0000
committerMarc G. Fournier1999-01-12 12:49:52 +0000
commitd8b96ade8165c37738ffc3e81607140cc9adc506 (patch)
treea134e8714094f1c930d3c8fd810fb2f1bb90cf27 /src/include
parent3b3ffc8d97d97067eefea66b8df95fc963d8b0be (diff)
From: Magnus Hagander <mha@sollentuna.net>
Here's another patch for the libpq backend areas. This patch removes all usage of "FILE *" on the communications channel. It also cleans up the comments and headers in the pqcomm.c file - a lot of things were either missing or incorrect. Finally, it removes a couple of unused functions (leftovers from the time of shared code between the libpq backend and frontend).
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/libpq.h3
-rw-r--r--src/include/libpq/pqcomm.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index 4fca9623aa9..a315521eb35 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq.h,v 1.22 1999/01/11 03:56:11 scrappy Exp $
+ * $Id: libpq.h,v 1.23 1999/01/12 12:49:52 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -262,6 +262,7 @@ extern int pq_getchar(void);
extern int pq_peekchar(void);
extern int pq_getnchar(char *s, int off, int maxlen);
extern int pq_getint(int b);
+extern int pq_putchar(char c);
extern void pq_putstr(char *s);
extern void pq_putnchar(char *s, int n);
extern void pq_putint(int i, int b);
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index 0f36e8e93eb..15c123e4b8d 100644
--- a/src/include/libpq/pqcomm.h
+++ b/src/include/libpq/pqcomm.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqcomm.h,v 1.29 1998/09/01 04:36:31 momjian Exp $
+ * $Id: pqcomm.h,v 1.30 1999/01/12 12:49:52 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -152,7 +152,7 @@ typedef struct CancelRequestPacket
} CancelRequestPacket;
-/* in pqcompriv.c */
+/* in pqcomprim.c */
int pqGetShort(int *, FILE *);
int pqGetLong(int *, FILE *);
int pqGetNBytes(char *, size_t, FILE *);