1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

om: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>

Subject: [HACKERS] Patch for io routines

  I am currently trying to improve on the front-backend communication
routines; and noticed that lots of code are duplicated for libpq and
the backend. This is a first patch that tries to share code between
the two, more to follow.

        mjl
This commit is contained in:
Marc G. Fournier
1997-03-16 18:51:29 +00:00
parent a9049a4a28
commit ea58f28ee8
3 changed files with 86 additions and 87 deletions

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pqcomm.h,v 1.8 1997/03/12 21:22:19 scrappy Exp $
* $Id: pqcomm.h,v 1.9 1997/03/16 18:50:47 scrappy Exp $
*
* NOTES
* Some of this should move to libpq.h
@ -123,6 +123,11 @@ typedef struct Port {
extern FILE *Pfout, *Pfin;
extern int PQAsyncNotifyWaiting;
/* in pqcompriv.c */
int pqGetShort(int *, FILE *);
int pqGetLong(int *, FILE *);
int pqPutShort(int, FILE *);
int pqPutLong(int, FILE *);
/*
* prototypes for functions in pqpacket.c
*/