From 93120330713916c28f87deb3466010b1f23a213e Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 17 Aug 1998 03:50:43 +0000 Subject: Date: Sun, 16 Aug 1998 14:56:48 -0400 From: Tom Lane Attached is a patch for this weekend's work on libpq. I've dealt with several issues: --- src/interfaces/libpq/fe-auth.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/interfaces/libpq/fe-auth.h') diff --git a/src/interfaces/libpq/fe-auth.h b/src/interfaces/libpq/fe-auth.h index ebbca5dfb3..c014204722 100644 --- a/src/interfaces/libpq/fe-auth.h +++ b/src/interfaces/libpq/fe-auth.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: fe-auth.h,v 1.8 1998/01/29 03:24:21 scrappy Exp $ + * $Id: fe-auth.h,v 1.9 1998/08/17 03:50:33 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -14,6 +14,7 @@ #define FE_AUTH_H #include "libpq-fe.h" +#include "libpq-int.h" /*---------------------------------------------------------------- @@ -33,8 +34,10 @@ extern int fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname, - const char *password, char *PQerromsg); + const char *password, char *PQerrormsg); +extern MsgType fe_getauthsvc(char *PQerrormsg); extern void fe_setauthsvc(const char *name, char *PQerrormsg); +extern char *fe_getauthname(char *PQerrormsg); #define PG_KRB4_VERSION "PGVER4.1" /* at most KRB_SENDAUTH_VLEN chars */ #define PG_KRB5_VERSION "PGVER5.1" -- cgit v1.2.1