summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-08-17 03:50:43 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-08-17 03:50:43 +0000
commit93120330713916c28f87deb3466010b1f23a213e (patch)
treefc56a3e099f78a8f4d3b10a1c4fbfc1aba594099 /src/interfaces/libpq/fe-auth.h
parent3fa676a74cd7f4e010610e1da1bf17395b1d05c7 (diff)
downloadpostgresql-93120330713916c28f87deb3466010b1f23a213e.tar.gz
Date: Sun, 16 Aug 1998 14:56:48 -0400
From: Tom Lane <tgl@sss.pgh.pa.us> Attached is a patch for this weekend's work on libpq. I've dealt with several issues: <for details: see message, in pgsql-patches archive for above data>
Diffstat (limited to 'src/interfaces/libpq/fe-auth.h')
-rw-r--r--src/interfaces/libpq/fe-auth.h7
1 files changed, 5 insertions, 2 deletions
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"