aboutsummaryrefslogtreecommitdiff
path: root/src/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ledger.h')
-rw-r--r--src/ledger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ledger.h b/src/ledger.h
index cf8f9b1..dee8be0 100644
--- a/src/ledger.h
+++ b/src/ledger.h
@@ -34,6 +34,7 @@ struct ledger_post_opts {
const char *client_ref; /* NULL = none */
int dry_run;
const char *source; /* NULL -> "manual" or "agent" */
+ int already_in_tx; /* caller owns the transaction (no BEGIN/COMMIT) */
};
int ledger_post(sqlite3 *db, const struct ledger_post_opts *o,