diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-09-22 12:58:22 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-09-22 12:58:22 +0300 |
commit | 405afc36e0929d887188be09a5886f79ff0ea1c4 (patch) | |
tree | f31d36ad4229f207e7e7bfbfe679516295e82952 /src/dblayer.h | |
parent | fe7c216a75ad1a5890c329df73f1d5ab461a1257 (diff) | |
download | ck-405afc36e0929d887188be09a5886f79ff0ea1c4.tar.gz ck-405afc36e0929d887188be09a5886f79ff0ea1c4.tar.bz2 ck-405afc36e0929d887188be09a5886f79ff0ea1c4.zip |
Standarize error codes
Diffstat (limited to 'src/dblayer.h')
-rw-r--r-- | src/dblayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |