diff options
Diffstat (limited to 'src/interfaces/libpq/fe-auth.h')
-rw-r--r-- | src/interfaces/libpq/fe-auth.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-auth.h b/src/interfaces/libpq/fe-auth.h index ebbca5dfb3e..c014204722e 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" |