OSDN Git Service

35e65ed642f846fc98de2760a14babdd8b2e4be4
[pg-rex/syncrep.git] / src / include / libpq / crypt.h
1 /*-------------------------------------------------------------------------
2  *
3  * crypt.h--
4  *        Interface to hba.c
5  *
6  *
7  *-------------------------------------------------------------------------
8  */
9 #ifndef PG_CRYPT_H
10 #define PG_CRYPT_H
11
12 #include <libpq/pqcomm.h>
13
14 #define CRYPT_PWD_FILE  "pg_pwd"
15
16 extern char* crypt_getpwdfilename(void);
17 extern MsgType crypt_salt(const char* user);
18 extern int crypt_verify(Port* port, const char* user, const char* pgpass);
19
20 #endif