|
PostgreSQL Source Code git master
|
#include "postgres_fe.h"#include "fe-gssapi-common.h"#include "libpq-int.h"#include "pqexpbuffer.h"
Go to the source code of this file.
Functions | |
| static void | pg_GSS_error_int (PQExpBuffer str, OM_uint32 stat, int type) |
| void | pg_GSS_error (const char *mprefix, PGconn *conn, OM_uint32 maj_stat, OM_uint32 min_stat) |
| bool | pg_GSS_have_cred_cache (gss_cred_id_t *cred_out) |
| int | pg_GSS_load_servicename (PGconn *conn) |
| void pg_GSS_error | ( | const char * | mprefix, |
| PGconn * | conn, | ||
| OM_uint32 | maj_stat, | ||
| OM_uint32 | min_stat | ||
| ) |
Definition at line 47 of file fe-gssapi-common.c.
References appendPQExpBuffer(), appendPQExpBufferChar(), conn, pg_conn::errorMessage, and pg_GSS_error_int().
Referenced by pg_GSS_load_servicename().
|
static |
Definition at line 26 of file fe-gssapi-common.c.
References appendBinaryPQExpBuffer(), appendPQExpBufferChar(), str, and type.
Referenced by pg_GSS_error().
| bool pg_GSS_have_cred_cache | ( | gss_cred_id_t * | cred_out | ) |
Definition at line 61 of file fe-gssapi-common.c.
Referenced by PQconnectPoll(), pqsecure_open_gss(), and select_next_encryption_method().
| int pg_GSS_load_servicename | ( | PGconn * | conn | ) |
Definition at line 82 of file fe-gssapi-common.c.
References conn, free, pg_conn::krbsrvname, libpq_append_conn_error(), libpq_gettext, malloc, pg_GSS_error(), PQhost(), snprintf, STATUS_ERROR, and STATUS_OK.
Referenced by pqsecure_open_gss().