summaryrefslogtreecommitdiff
path: root/src/include/libpq/password.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-01-26 01:42:53 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-01-26 01:42:53 +0000
commitd5bbe2aca55bc833e38c768d7f82c129b8b70c83 (patch)
tree47f4e1ecb3277869bb276e5433df335d920d1baf /src/include/libpq/password.h
parent91d983aa1140e3ae109684ff7c916583ed059e0e (diff)
From: Phil Thompson <phil@river-bank.demon.co.uk>
I've completed the patch to fix the protocol and authentication issues I was discussing a couple of weeks ago. The particular changes are: - the protocol has a version number - network byte order is used throughout - the pg_hba.conf file is used to specify what method is used to authenticate a frontend (either password, ident, trust, reject, krb4 or krb5) - support for multiplexed backends is removed - appropriate changes to man pages - the -a switch to many programs to specify an authentication service no longer has any effect - the libpq.so version number has changed to 1.1 The new backend still supports the old protocol so old interfaces won't break.
Diffstat (limited to 'src/include/libpq/password.h')
-rw-r--r--src/include/libpq/password.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/include/libpq/password.h b/src/include/libpq/password.h
index 28b279a7c08..f0c24794c3e 100644
--- a/src/include/libpq/password.h
+++ b/src/include/libpq/password.h
@@ -1,13 +1,6 @@
#ifndef PASSWORD_H
#define PASSWORD_H
-#include <libpq/hba.h>
-#include <libpq/pqcomm.h>
-
-#define PWFILE_NAME_SIZE USERMAP_NAME_SIZE
-
-int
-verify_password(char *user, char *password, Port *port,
- char *database, char *DataDir);
+int verify_password(char *auth_arg, char *user, char *password);
#endif