summaryrefslogtreecommitdiff
path: root/psycopg/xid.h
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-10-08 10:15:50 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-11-05 09:34:48 +0000
commit98c5b1d374f2d4813e5b222832dcb84b1bfaf970 (patch)
tree23be46201696af76da061bcb912a8b790d25a352 /psycopg/xid.h
parent60ee39fa3d3f901e252bda4de1610000892871b3 (diff)
downloadpsycopg2-98c5b1d374f2d4813e5b222832dcb84b1bfaf970.tar.gz
Added tpc_begin() and current xid on connection.
Diffstat (limited to 'psycopg/xid.h')
-rw-r--r--psycopg/xid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/psycopg/xid.h b/psycopg/xid.h
index 75c2000..f2c6d4d 100644
--- a/psycopg/xid.h
+++ b/psycopg/xid.h
@@ -50,4 +50,6 @@ typedef struct {
PyObject *database;
} XidObject;
+HIDDEN XidObject *xid_ensure(PyObject *oxid);
+
#endif /* PSYCOPG_XID_H */