From 405afc36e0929d887188be09a5886f79ff0ea1c4 Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 22 Sep 2018 12:58:22 +0300 Subject: Standarize error codes --- src/dblayer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dblayer.h') diff --git a/src/dblayer.h b/src/dblayer.h index 620d3e6..da54632 100644 --- a/src/dblayer.h +++ b/src/dblayer.h @@ -55,7 +55,8 @@ extern DB init_make_DB(const UserOpt *opt); /* add */ /*******/ -extern int add_transaction_begin(DB *db, const AddOpt * const opt); +/* Returns 1 in error, 0 otherwise */ +extern int add_transaction_try(DB *db, const AddOpt * const opt); /********/ /* edit */ -- cgit v1.2.3