diff options
| author | Magnus Hagander <magnus@hagander.net> | 2008-08-01 09:09:49 +0000 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2008-08-01 09:09:49 +0000 |
| commit | c30c1b8786395d94b9acd0ce57d293230b138bbb (patch) | |
| tree | 50051a137f80fd66774839ee15bce5c82b69ef0b /src/include/libpq | |
| parent | 63247bec284a935b3145d5302c834967049e5dea (diff) | |
Move ident authentication code into auth.c along with the other authenciation
routines, leaving hba.c to deal only with processing the HBA specific files.
Diffstat (limited to 'src/include/libpq')
| -rw-r--r-- | src/include/libpq/hba.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index 603d8635238..16150846622 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -4,7 +4,7 @@ * Interface to hba.c * * - * $PostgreSQL: pgsql/src/include/libpq/hba.h,v 1.47 2007/07/23 10:16:54 mha Exp $ + * $PostgreSQL: pgsql/src/include/libpq/hba.h,v 1.48 2008/08/01 09:09:48 mha Exp $ * *------------------------------------------------------------------------- */ @@ -40,8 +40,10 @@ extern void load_hba(void); extern void load_ident(void); extern void load_role(void); extern int hba_getauthmethod(hbaPort *port); -extern int authident(hbaPort *port); extern bool read_pg_database_line(FILE *fp, char *dbname, Oid *dboid, Oid *dbtablespace, TransactionId *dbfrozenxid); +extern bool check_ident_usermap(const char *usermap_name, + const char *pg_role, const char *ident_user); +extern bool pg_isblank(const char c); #endif /* HBA_H */ |
