diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-12-04 00:34:01 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-12-04 00:34:01 +0000 |
commit | a91ad1af090d316e710965b670ef399bdbd80b82 (patch) | |
tree | 24cdf0f69e6f73a09194dc5ded68eac938ef9837 /src/include/libpq/crypt.h | |
parent | 4c04f7724ed4b9aa798810f2cd016b6520a4f2a6 (diff) |
Missed a few files from Todd's patch...oops :)
Diffstat (limited to 'src/include/libpq/crypt.h')
-rw-r--r-- | src/include/libpq/crypt.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h new file mode 100644 index 00000000000..7c01c8297be --- /dev/null +++ b/src/include/libpq/crypt.h @@ -0,0 +1,20 @@ +/*------------------------------------------------------------------------- + * + * crypt.h-- + * Interface to hba.c + * + * + *------------------------------------------------------------------------- + */ +#ifndef PG_CRYPT_H +#define PG_CRYPT_H + +#include <libpq/pqcomm.h> + +#define CRYPT_PWD_FILE "pg_pwd" + +extern char* crypt_getpwdfilename(); +extern MsgType crypt_salt(const char* user); +extern int crypt_verify(Port* port, const char* user, const char* pgpass); + +#endif |