1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* auth.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* Definitions for network authentication routines
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/libpq/auth.h
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef AUTH_H
|
1997-09-07 07:04:48 +02:00
|
|
|
#define AUTH_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1998-01-26 02:42:53 +01:00
|
|
|
#include "libpq/libpq-be.h"
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2001-03-22 05:01:46 +01:00
|
|
|
extern char *pg_krb_server_keyfile;
|
2005-06-04 22:42:43 +02:00
|
|
|
extern char *pg_krb_srvnam;
|
|
|
|
extern bool pg_krb_caseins_users;
|
2005-06-14 19:43:14 +02:00
|
|
|
extern char *pg_krb_server_hostname;
|
2007-11-09 18:31:07 +01:00
|
|
|
extern char *pg_krb_realm;
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2005-10-17 18:24:20 +02:00
|
|
|
extern void ClientAuthentication(Port *port);
|
|
|
|
|
2010-10-27 03:20:02 +02:00
|
|
|
/* Hook for plugins to get control in ClientAuthentication() */
|
|
|
|
typedef void (*ClientAuthentication_hook_type)(Port *, int);
|
|
|
|
extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook;
|
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* AUTH_H */
|