codekingpro/portable-devtools
114k
1/*-------------------------------------------------------------------------2 *3 * be-gssapi-common.h4 * Definitions for GSSAPI authentication and encryption handling5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * src/include/libpq/be-gssapi-common.h10 *11 *-------------------------------------------------------------------------12 */13 14#ifndef BE_GSSAPI_COMMON_H15#define BE_GSSAPI_COMMON_H16 17#ifdef ENABLE_GSS18 19#if defined(HAVE_GSSAPI_H)20#include <gssapi.h>21#include <gssapi_ext.h>22#else23#include <gssapi/gssapi.h>24#include <gssapi/gssapi_ext.h>25#endif26 27extern void pg_GSS_error(const char *errmsg,28 OM_uint32 maj_stat, OM_uint32 min_stat);29 30extern void pg_store_delegated_credential(gss_cred_id_t cred);31#endif /* ENABLE_GSS */32 33#endif /* BE_GSSAPI_COMMON_H */34 