From 78091cfd182f20e3e5d639e94bd3065e9672c5cb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Oct 2022 19:03:17 -0400 Subject: Expose ring transaction API in shared library --- include/zix/ring.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/zix/ring.h b/include/zix/ring.h index 17a0e13..04c3bda 100644 --- a/include/zix/ring.h +++ b/include/zix/ring.h @@ -153,6 +153,7 @@ zix_ring_write(ZixRing* ZIX_NONNULL ring, @param ring The ring to write data to. @return A new empty transaction. */ +ZIX_API ZixRingTransaction zix_ring_begin_write(ZixRing* ZIX_NONNULL ring); @@ -174,6 +175,7 @@ zix_ring_begin_write(ZixRing* ZIX_NONNULL ring); @param size Length of data to write in bytes. @return #ZIX_STATUS_NO_MEM or #ZIX_STATUS_SUCCESS. */ +ZIX_API ZixStatus zix_ring_amend_write(ZixRing* ZIX_NONNULL ring, ZixRingTransaction* ZIX_NONNULL tx, @@ -193,6 +195,7 @@ zix_ring_amend_write(ZixRing* ZIX_NONNULL ring, @param tx The active transaction, from zix_ring_begin_write(). @return #ZIX_STATUS_SUCCESS. */ +ZIX_API ZixStatus zix_ring_commit_write(ZixRing* ZIX_NONNULL ring, const ZixRingTransaction* ZIX_NONNULL tx); -- cgit v1.2.1