From ef90fa4abe3a58e586a115fca7c3260b928bf38b Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 2 Sep 2015 13:01:23 +0000 Subject: API for transactions in libsg --- src/runtime/c/sg/sg.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/runtime/c/sg/sg.h') diff --git a/src/runtime/c/sg/sg.h b/src/runtime/c/sg/sg.h index a859bbec2..67084876f 100644 --- a/src/runtime/c/sg/sg.h +++ b/src/runtime/c/sg/sg.h @@ -14,6 +14,16 @@ sg_open(const char *filename, GuExn* err); void sg_close(SgSG *sg, GuExn* err); +void +sg_begin_trans(SgSG* sg, GuExn* err); + +void +sg_commit(SgSG* sg, GuExn* err); + +void +sg_rollback(SgSG* sg, GuExn* err); + + SgId sg_insert_expr(SgSG *sg, PgfExpr expr, GuExn* err); -- cgit v1.2.3