--- a/src/evsql.h Mon Oct 13 02:27:59 2008 +0300
+++ b/src/evsql.h Wed Oct 15 01:14:22 2008 +0300
@@ -6,6 +6,7 @@
*/
// XXX: libpq
+#include <stdint.h>
#include <postgresql/libpq-fe.h>
#include <event2/event.h>
@@ -189,6 +190,8 @@
*
* trans must be idle, just like for evsql_query.
*
+ * done_fn will never be called directly, always via the event loop.
+ *
* You cannot abort a COMMIT, calling trans_abort on trans after a succesful trans_commit is a FATAL error.
*/
int evsql_trans_commit (struct evsql_trans *trans);
@@ -207,8 +210,6 @@
// error string, meant to be called from evsql_trans_error_cb
const char *evsql_trans_error (struct evsql_trans *trans);
-// commit the transaction, calling
-
/*
* Param-building functions
*/