PostgreSQL Source Code  git master
be-gssapi-common.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * be-gssapi-common.h
4  * Definitions for GSSAPI authentication and encryption handling
5  *
6  * Portions Copyright (c) 1996-2022, 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 #ifdef ENABLE_GSS
18 
19 #if defined(HAVE_GSSAPI_H)
20 #include <gssapi.h>
21 #else
22 #include <gssapi/gssapi.h>
23 #endif
24 
25 extern void pg_GSS_error(const char *errmsg,
26  OM_uint32 maj_stat, OM_uint32 min_stat);
27 
28 #endif /* ENABLE_GSS */
29 
30 #endif /* BE_GSSAPI_COMMON_H */
void pg_GSS_error(const char *errmsg, OM_uint32 maj_stat, OM_uint32 min_stat)
int errmsg(const char *fmt,...)
Definition: elog.c:904