summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2007-07-23 17:52:06 +0000
committerMagnus Hagander <magnus@hagander.net>2007-07-23 17:52:06 +0000
commit29ac718f476bef2690a8af2923e9d931ce6fb2c9 (patch)
treefe1a9479a0c46ea51e346c77d206abc996d430ec /src/interfaces/libpq/fe-auth.h
parentaa81c558ee5293fef96aa4049cd5a4d9da90954e (diff)
Use PQExpBuffer for error message in fe-auth.c.
In passing, change functions that passedin both PGconn and parts of it to just pass in the PGconn.
Diffstat (limited to 'src/interfaces/libpq/fe-auth.h')
-rw-r--r--src/interfaces/libpq/fe-auth.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/interfaces/libpq/fe-auth.h b/src/interfaces/libpq/fe-auth.h
index cfbd32e3756..b6f52539371 100644
--- a/src/interfaces/libpq/fe-auth.h
+++ b/src/interfaces/libpq/fe-auth.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.h,v 1.26 2007/01/05 22:20:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.h,v 1.27 2007/07/23 17:52:06 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,8 +18,7 @@
#include "libpq-int.h"
-extern int pg_fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname,
- const char *password, char *PQerrormsg);
-extern char *pg_fe_getauthname(char *PQerrormsg);
+extern int pg_fe_sendauth(AuthRequest areq, PGconn *conn);
+extern char *pg_fe_getauthname(PQExpBuffer errorMessage);
#endif /* FE_AUTH_H */