mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
466 B
21 lines
466 B
![]()
28 years ago
|
/*-------------------------------------------------------------------------
|
||
|
*
|
||
|
* 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
|