X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=include%2Ftxn.h;h=b2d6a1027cbd2d5a1591bc0fd6bf1c20a379be4a;hp=51db400e80b520567c1c1f8fb5db07cb2f67a2f1;hb=7378edffa5751159d35eab31eceb76a1f16231d0;hpb=fa60fb1fb78136edc9e5863c0b86222f572963ef diff --git a/include/txn.h b/include/txn.h index 51db400..b2d6a10 100644 --- a/include/txn.h +++ b/include/txn.h @@ -13,7 +13,7 @@ typedef enum { TXN_RUNNING, TXN_VALIDATING, TXN_VALIDATED, TXN_ABORTED } txn_sta typedef struct txn txn_t; -txn_t * txn_begin (txn_access_e access, txn_isolation_e isolation, map_type_t map_type); +txn_t * txn_begin (txn_access_e access, txn_isolation_e isolation, map_t *map); void txn_abort (txn_t *txn); txn_state_e txn_commit (txn_t *txn);