Update copyright for 2022
[pgsql.git] / src / include / libpq / auth.h
blob6d7ee1acb9d646de8d5b8fdc4413e3b101189392
1 /*-------------------------------------------------------------------------
3 * auth.h
4 * Definitions for network authentication routines
7 * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/libpq/auth.h
12 *-------------------------------------------------------------------------
14 #ifndef AUTH_H
15 #define AUTH_H
17 #include "libpq/libpq-be.h"
19 extern char *pg_krb_server_keyfile;
20 extern bool pg_krb_caseins_users;
21 extern char *pg_krb_realm;
23 extern void ClientAuthentication(Port *port);
24 extern void sendAuthRequest(Port *port, AuthRequest areq, const char *extradata,
25 int extralen);
27 /* Hook for plugins to get control in ClientAuthentication() */
28 typedef void (*ClientAuthentication_hook_type) (Port *, int);
29 extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook;
31 #endif /* AUTH_H */