1 /*-------------------------------------------------------------------------
7 *-------------------------------------------------------------------------
12 #include <libpq/pqcomm.h>
14 #define CRYPT_PWD_FILE "pg_pwd"
15 #define CRYPT_PWD_FILE_SEPCHAR "'\\t'"
16 #define CRYPT_PWD_FILE_SEPSTR "\t"
17 #define CRYPT_PWD_RELOAD_SUFX ".reload"
19 extern char** pwd_cache;
20 extern int pwd_cache_count;
22 extern char* crypt_getpwdfilename(void);
23 extern char* crypt_getpwdreloadfilename();
24 extern MsgType crypt_salt(const char* user);
25 extern int crypt_verify(Port* port, const char* user, const char* pgpass);