libpqxx 3.1.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

libpq-forward.hxx
1 /*-------------------------------------------------------------------------
2 *
3 * FILE
4 * pqxx/libpq-forward.hxx
5 *
6 * DESCRIPTION
7 * Minimal forward declarations of libpq types needed in libpqxx headers
8 * DO NOT INCLUDE THIS FILE when building client programs.
9 *
10 * Copyright (c) 2005, 2006, Jeroen T. Vermeulen <jtv@xs4all.nl>
11 *
12 * See COPYING for copyright license. If you did not receive a file called
13 * COPYING with this source code, please notify the distributor of this mistake,
14 * or contact the author.
15 *
16 *-------------------------------------------------------------------------
17 */
18 extern "C"
19 {
20 struct pg_conn;
21 struct pg_result;
22 struct pgNotify;
23 }
24
25 namespace pqxx
26 {
27 namespace internal
28 {
30 namespace pq
31 {
32 typedef pg_conn PGconn;
33 typedef pg_result PGresult;
34 typedef pgNotify PGnotify;
35 typedef void (*PQnoticeProcessor)(void *, const char *);
36 }
37 }
38
40 typedef unsigned int oid;
41 }
42