PostgreSQL Source Code
git master
oauth-curl.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* oauth-curl.h
4
*
5
* Definitions for OAuth Device Authorization module
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-oauth/oauth-curl.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
15
#ifndef OAUTH_CURL_H
16
#define OAUTH_CURL_H
17
18
#include "
libpq-fe.h
"
19
20
/* Exported async-auth callbacks. */
21
extern
PGDLLEXPORT
PostgresPollingStatusType
pg_fe_run_oauth_flow
(
PGconn
*
conn
);
22
extern
PGDLLEXPORT
void
pg_fe_cleanup_oauth_flow
(
PGconn
*
conn
);
23
24
#endif
/* OAUTH_CURL_H */
PGDLLEXPORT
#define PGDLLEXPORT
Definition:
c.h:1306
libpq-fe.h
PostgresPollingStatusType
PostgresPollingStatusType
Definition:
libpq-fe.h:114
pg_fe_cleanup_oauth_flow
PGDLLEXPORT void pg_fe_cleanup_oauth_flow(PGconn *conn)
Definition:
oauth-curl.c:354
pg_fe_run_oauth_flow
PGDLLEXPORT PostgresPollingStatusType pg_fe_run_oauth_flow(PGconn *conn)
Definition:
oauth-curl.c:2932
conn
PGconn * conn
Definition:
streamutil.c:52
pg_conn
Definition:
libpq-int.h:371
src
interfaces
libpq-oauth
oauth-curl.h
Generated on Tue Jun 3 2025 18:13:31 for PostgreSQL Source Code by
1.9.4