Files
BackOne/ext/libpqxx-7.7.3/include/pqxx/internal/libpq-forward.hxx
T
dsutanto dbdc5bcc4a
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
First Commit
2025-11-19 16:23:45 +07:00

32 lines
828 B
C++

/** Minimal forward declarations of libpq types needed in libpqxx headers.
*
* DO NOT INCLUDE THIS FILE when building client programs.
*
* Copyright (c) 2000-2022, Jeroen T. Vermeulen.
*
* See COPYING for copyright license. If you did not receive a file called
* COPYING with this source code, please notify the distributor of this
* mistake, or contact the author.
*/
extern "C"
{
struct pg_conn;
struct pg_result;
struct pgNotify;
}
/// Forward declarations of libpq types as needed in libpqxx headers.
namespace pqxx::internal::pq
{
using PGconn = pg_conn;
using PGresult = pg_result;
using PGnotify = pgNotify;
using PQnoticeProcessor = void (*)(void *, char const *);
} // namespace pqxx::internal::pq
namespace pqxx
{
/// PostgreSQL database row identifier.
using oid = unsigned int;
} // namespace pqxx