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:
20
src/include/libpq/crypt.h
Normal file
20
src/include/libpq/crypt.h
Normal 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
|
||||
Reference in New Issue
Block a user