1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Missed a few files from Todd's patch...oops :)

This commit is contained in:
Marc G. Fournier
1997-12-04 00:34:01 +00:00
parent 4c04f7724e
commit a91ad1af09
4 changed files with 598 additions and 0 deletions

20
src/include/libpq/crypt.h Normal file
View File

@@ -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