<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/ffi, branch arti-v1.2.7</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-03T08:09:02Z</updated>
<entry>
<title>Fix typos</title>
<updated>2024-09-03T08:09:02Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-09-03T08:09:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676f913463b7d84f34dd6101b99d03ef79cf57ad'/>
<id>urn:sha1:676f913463b7d84f34dd6101b99d03ef79cf57ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Remove in_mut_ptr_opt, and document why.</title>
<updated>2024-08-27T13:45:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-27T13:31:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4095ec63f2967f9704e5c1d8eb3eb8f57803ecb'/>
<id>urn:sha1:c4095ec63f2967f9704e5c1d8eb3eb8f57803ecb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib, ffi: Allow simultaneous calls to `arti_rpc_handle_wait()`</title>
<updated>2024-08-27T13:45:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-22T15:21:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=76e6a24759b5fc1a04b53077acb19afb82c8df88'/>
<id>urn:sha1:76e6a24759b5fc1a04b53077acb19afb82c8df88</id>
<content type='text'>
Its underlying function previously took `&amp;mut RpcHandle`,
which was an accident waiting to happen.  Now it takes `&amp;RpcHandle`
and includes a Mutex to prevent multiple threads from waiting for
updates on the same request ID at once.

As an alternative, we *could* try to update connimpl::Receiver to
allow multiple simultaneous listeners on the same request ID.
But that would (I think) require a lot more bookkeeping, and thus
would be a bit more error-prone.

Closes #1532.
</content>
</entry>
<entry>
<title>ffi: Rename arti_rpc_status_to_str.</title>
<updated>2024-08-14T17:29:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-14T17:29:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b6751ab03803eaea3337a930b182db68574dd61'/>
<id>urn:sha1:3b6751ab03803eaea3337a930b182db68574dd61</id>
<content type='text'>
(This function manipulates an ArtiRpcStatus;
and we try to have all of the ffi functions in this library
begin with "arti_rpc_".)
</content>
</entry>
<entry>
<title>ffi: Add support for request handles</title>
<updated>2024-08-12T18:35:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T15:57:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2364c6dc6d2fd16f08641a1fed2cbc970005dc66'/>
<id>urn:sha1:2364c6dc6d2fd16f08641a1fed2cbc970005dc66</id>
<content type='text'>
This API allows the caller to launch a request and then watch for
updates on it.
</content>
</entry>
<entry>
<title>ffi: New in_mut_ptr_opt type for receiving *mut T.</title>
<updated>2024-08-12T18:34:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T15:11:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ece4bcd31fc4b28e6fad5a096f88797c40d3238'/>
<id>urn:sha1:2ece4bcd31fc4b28e6fad5a096f88797c40d3238</id>
<content type='text'>
Previously, we had in_ptr_opt for functions that want to take
a nullable `*const T` without consuming it.

This is the equivalent for taking a nullable `*mut T` without
consuming it.
</content>
</entry>
<entry>
<title>ffi: New out_val_opt type for outptrs to non-pointers</title>
<updated>2024-08-12T18:34:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T15:11:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cd3d9520963d5b01fda67330f8960e7822faf4e'/>
<id>urn:sha1:8cd3d9520963d5b01fda67330f8960e7822faf4e</id>
<content type='text'>
Previously, we had out_ptr_opt for functions that wanted to return a
newly allocated `ArtiRpcFoo` via a `struct ArtiRpcFoo **` argument.

But we didn't have a way to return non-allocated `int` via an `int
*` argument.  This code provides that.
</content>
</entry>
<entry>
<title>Merge branch 'typo-fix-1' into 'main'</title>
<updated>2024-08-05T14:48:27Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-08-05T14:48:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88d077c5cb9ca5dcd1b30dc1cdcac942ccbf9a0c'/>
<id>urn:sha1:88d077c5cb9ca5dcd1b30dc1cdcac942ccbf9a0c</id>
<content type='text'>
Fix a pair of typos in an ffi comment.

See merge request tpo/core/arti!2310</content>
</entry>
<entry>
<title>ffi: Expose OS error field.</title>
<updated>2024-08-03T13:13:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-03T13:13:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2eac5263e8fbc36303a2860e6e554013ed7631ae'/>
<id>urn:sha1:2eac5263e8fbc36303a2860e6e554013ed7631ae</id>
<content type='text'>
Closes #1501.
</content>
</entry>
<entry>
<title>Fix a pair of typos in an ffi comment.</title>
<updated>2024-08-03T13:04:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-03T13:04:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2df7fd4e02b9b9e4ab6e6cfd2ce8895d61b5740a'/>
<id>urn:sha1:2df7fd4e02b9b9e4ab6e6cfd2ce8895d61b5740a</id>
<content type='text'>
</content>
</entry>
</feed>
