Header And Logo

PostgreSQL
| The world's most advanced open source database.

auth.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * auth.h
00004  *    Definitions for network authentication routines
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/libpq/auth.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef AUTH_H
00015 #define AUTH_H
00016 
00017 #include "libpq/libpq-be.h"
00018 
00019 extern char *pg_krb_server_keyfile;
00020 extern char *pg_krb_srvnam;
00021 extern bool pg_krb_caseins_users;
00022 extern char *pg_krb_server_hostname;
00023 extern char *pg_krb_realm;
00024 
00025 extern void ClientAuthentication(Port *port);
00026 
00027 /* Hook for plugins to get control in ClientAuthentication() */
00028 typedef void (*ClientAuthentication_hook_type) (Port *, int);
00029 extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook;
00030 
00031 #endif   /* AUTH_H */