1 /*-------------------------------------------------------------------------
9 *-------------------------------------------------------------------------
14 #include "nodes/pg_list.h"
15 #include "libpq/pqcomm.h"
47 struct sockaddr_storage addr
;
48 struct sockaddr_storage mask
;
59 char *krb_server_hostname
;
64 typedef struct Port hbaPort
;
66 extern List
**get_role_line(const char *role
);
67 extern bool load_hba(void);
68 extern void load_ident(void);
69 extern void load_role(void);
70 extern int hba_getauthmethod(hbaPort
*port
);
71 extern bool read_pg_database_line(FILE *fp
, char *dbname
, Oid
*dboid
,
72 Oid
*dbtablespace
, TransactionId
*dbfrozenxid
);
73 extern int check_usermap(const char *usermap_name
,
74 const char *pg_role
, const char *auth_user
,
76 extern bool pg_isblank(const char c
);