PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
auth.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * auth.h
4  * Definitions for network authentication routines
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/libpq/auth.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef AUTH_H
15 #define AUTH_H
16 
17 #include "libpq/libpq-be.h"
18 
19 extern char *pg_krb_server_keyfile;
20 extern bool pg_krb_caseins_users;
21 extern char *pg_krb_realm;
22 
23 extern void ClientAuthentication(Port *port);
24 
25 /* Hook for plugins to get control in ClientAuthentication() */
26 typedef void (*ClientAuthentication_hook_type) (Port *, int);
28 
29 #endif /* AUTH_H */
char * pg_krb_server_keyfile
Definition: auth.c:159
bool pg_krb_caseins_users
Definition: auth.c:160
void(* ClientAuthentication_hook_type)(Port *, int)
Definition: auth.h:26
Definition: libpq-be.h:116
#define PGDLLIMPORT
Definition: c.h:1064
char * pg_krb_realm
PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook
Definition: auth.c:235
static int port
Definition: pg_regress.c:89
void ClientAuthentication(Port *port)
Definition: auth.c:339