]> pd.if.org Git - nbds/blobdiff - include/txn.h
more header file refactoring
[nbds] / include / txn.h
index 635a3692d20fdb8c58bffbcf9715c27918167f7a..fc6b6912e0eb464abeacedb4c1b269981a7f9975 100644 (file)
@@ -12,6 +12,8 @@ typedef enum { TXN_RUNNING, TXN_VALIDATING, TXN_VALIDATED, TXN_ABORTED } txn_sta
 
 typedef struct txn txn_t;
 
+void txn_init (void);
+
 txn_t *     txn_begin  (txn_type_e type, map_t *map);
 void        txn_abort  (txn_t *txn);
 txn_state_e txn_commit (txn_t *txn);