1 /*-------------------------------------------------------------------------
2  *
3  * be-gssapi-common.h
4  *       Definitions for GSSAPI authentication and encryption handling
5  *
6  * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/libpq/be-gssapi-common.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 
14 #ifndef BE_GSSAPI_COMMON_H
15 #define BE_GSSAPI_COMMON_H
16 
17 #if defined(HAVE_GSSAPI_H)
18 #include <gssapi.h>
19 #else
20 #include <gssapi/gssapi.h>
21 #endif
22 
23 extern void pg_GSS_error(const char *errmsg,
24 						 OM_uint32 maj_stat, OM_uint32 min_stat);
25 
26 #endif							/* BE_GSSAPI_COMMON_H */
27