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
|
|
|
*
|
|
|
|
*
|
2004-12-31 23:04:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2005, 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
|
|
|
*
|
2005-06-14 19:43:14 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/libpq/auth.h,v 1.28 2005/06/14 17:43:14 momjian Exp $
|
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
|
|
|
|
|
|
|
/*----------------------------------------------------------------
|
|
|
|
* Common routines and definitions
|
|
|
|
*----------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2003-04-18 00:26:02 +02:00
|
|
|
extern void ClientAuthentication(Port *port);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
#define PG_KRB4_VERSION "PGVER4.1" /* at most KRB_SENDAUTH_VLEN chars */
|
|
|
|
#define PG_KRB5_VERSION "PGVER5.1"
|
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;
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* AUTH_H */
|