]> granicus.if.org Git - postgresql/blob - src/interfaces/libpq/fe-auth.h
Revert part of recent include patch not ready for application.
[postgresql] / src / interfaces / libpq / fe-auth.h
1 /*-------------------------------------------------------------------------
2  *
3  * fe-auth.h
4  *
5  *        Definitions for network authentication routines
6  *
7  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.h,v 1.25 2006/03/05 15:59:08 momjian Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef FE_AUTH_H
15 #define FE_AUTH_H
16
17 #include "libpq-fe.h"
18 #include "libpq-int.h"
19
20
21 extern int pg_fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname,
22                            const char *password, char *PQerrormsg);
23 extern char *pg_fe_getauthname(char *PQerrormsg);
24
25 #endif   /* FE_AUTH_H */