diff options
author | Marc G. Fournier | 1999-01-12 12:49:52 +0000 |
---|---|---|
committer | Marc G. Fournier | 1999-01-12 12:49:52 +0000 |
commit | d8b96ade8165c37738ffc3e81607140cc9adc506 (patch) | |
tree | a134e8714094f1c930d3c8fd810fb2f1bb90cf27 /src/include | |
parent | 3b3ffc8d97d97067eefea66b8df95fc963d8b0be (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.h | 3 | ||||
-rw-r--r-- | src/include/libpq/pqcomm.h | 4 |
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 *); |