diff options
| author | Tom Lane | 1999-04-25 19:27:47 +0000 |
|---|---|---|
| committer | Tom Lane | 1999-04-25 19:27:47 +0000 |
| commit | 40cad8b66f468d627781704781f6f1877548e73a (patch) | |
| tree | ff28edc047e0ebd247ce2b0c75cda40fa46fc11e /src/include/libpq | |
| parent | fad6f2925ce9015c2ef25da260ffa1d15baf7ddf (diff) | |
My first cut at libpq revision didn't handle MULTIBYTE correctly,
but I think it's OK now...
Diffstat (limited to 'src/include/libpq')
| -rw-r--r-- | src/include/libpq/pqformat.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h index 2fe48539a2d..6404583a103 100644 --- a/src/include/libpq/pqformat.h +++ b/src/include/libpq/pqformat.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pqformat.h,v 1.1 1999/04/25 03:19:14 tgl Exp $ + * $Id: pqformat.h,v 1.2 1999/04/25 19:27:47 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -19,13 +19,12 @@ extern void pq_sendbyte(StringInfo buf, int byt); extern void pq_sendbytes(StringInfo buf, const char *data, int datalen); -extern void pq_sendtext(StringInfo buf, const char *str, int slen); -extern void pq_sendstring(StringInfo buf, const char *str, int slen); +extern void pq_sendcountedtext(StringInfo buf, const char *str, int slen); +extern void pq_sendstring(StringInfo buf, const char *str); extern void pq_sendint(StringInfo buf, int i, int b); extern void pq_endmessage(StringInfo buf); extern int pq_getint(int *result, int b); extern int pq_getstr(char *s, int maxlen); -extern int pq_getnchar(char *s, int len); #endif /* PQFORMAT_H */ |
