mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/CA%2BhUKGJFWXmtYo6Frd77RR8YXCHz7hJ2mRy5aHV%3D7fJOqDnBHA%40mail.gmail.com
27 lines
730 B
C
27 lines
730 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* be-gssapi-common.h
|
|
* Definitions for GSSAPI authentication and encryption handling
|
|
*
|
|
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/libpq/be-gssapi-common.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef BE_GSSAPI_COMMON_H
|
|
#define BE_GSSAPI_COMMON_H
|
|
|
|
#if defined(HAVE_GSSAPI_H)
|
|
#include <gssapi.h>
|
|
#else
|
|
#include <gssapi/gssapi.h>
|
|
#endif
|
|
|
|
void pg_GSS_error(int severity, const char *errmsg,
|
|
OM_uint32 maj_stat, OM_uint32 min_stat);
|
|
|
|
#endif /* BE_GSSAPI_COMMON_H */
|