00001 /*------------------------------------------------------------------------- 00002 * 00003 * FILE 00004 * pqxx/libpq-forward.hxx 00005 * 00006 * DESCRIPTION 00007 * Minimal forward declarations of libpq types needed in libpqxx headers 00008 * DO NOT INCLUDE THIS FILE when building client programs. 00009 * 00010 * Copyright (c) 2005, 2006, Jeroen T. Vermeulen <jtv@xs4all.nl> 00011 * 00012 * See COPYING for copyright license. If you did not receive a file called 00013 * COPYING with this source code, please notify the distributor of this mistake, 00014 * or contact the author. 00015 * 00016 *------------------------------------------------------------------------- 00017 */ 00018 extern "C" 00019 { 00020 struct pg_conn; 00021 struct pg_result; 00022 struct pgNotify; 00023 } 00024 00025 namespace pqxx 00026 { 00027 namespace internal 00028 { 00030 namespace pq 00031 { 00032 typedef pg_conn PGconn; 00033 typedef pg_result PGresult; 00034 typedef pgNotify PGnotify; 00035 typedef void (*PQnoticeProcessor)(void *, const char *); 00036 } 00037 } 00038 00040 typedef unsigned int oid; 00041 } 00042