| 1 |
/*------------------------------------------------------------------------- |
| 2 |
* |
| 3 |
* fe-gssapi-common.h |
| 4 |
* |
| 5 |
* Definitions for GSSAPI common routines |
| 6 |
* |
| 7 |
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group |
| 8 |
* Portions Copyright (c) 1994, Regents of the University of California |
| 9 |
* |
| 10 |
* src/interfaces/libpq/fe-gssapi-common.h |
| 11 |
*/ |
| 12 |
|
| 13 |
#ifndef FE_GSSAPI_COMMON_H |
| 14 |
#define FE_GSSAPI_COMMON_H |
| 15 |
|
| 16 |
#include "libpq-fe.h" |
| 17 |
#include "libpq-int.h" |
| 18 |
|
| 19 |
#ifdef ENABLE_GSS |
| 20 |
|
| 21 |
void pg_GSS_error(const char *mprefix, PGconn *conn, |
| 22 |
OM_uint32 maj_stat, OM_uint32 min_stat); |
| 23 |
bool pg_GSS_have_cred_cache(gss_cred_id_t *cred_out); |
| 24 |
int pg_GSS_load_servicename(PGconn *conn); |
| 25 |
|
| 26 |
#endif |
| 27 |
|
| 28 |
#endif /* FE_GSSAPI_COMMON_H */ |