aboutsummaryrefslogtreecommitdiff
path: root/odb/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/transaction.hxx')
-rw-r--r--odb/transaction.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/transaction.hxx b/odb/transaction.hxx
index 1f7b866..e035661 100644
--- a/odb/transaction.hxx
+++ b/odb/transaction.hxx
@@ -136,6 +136,12 @@ namespace odb
void
unregister (void* key);
+ // Update the data and state values for a callback. Note that just
+ // like unregister(), this is a potentially slow operation.
+ //
+ void
+ update (void* key, unsigned long long data, transaction** state = 0);
+
public:
transaction_impl&
implementation ();
@@ -149,6 +155,9 @@ namespace odb
protected:
friend struct rollback_guard;
+ std::size_t
+ find (void* key);
+
void
call (unsigned short event);