search for: opaque_ptr

Displaying 3 results from an estimated 3 matches for "opaque_ptr".

2017 Feb 19
2
Fwd: nbdkit async
..._on_update, and read size into an opaque ptr to struct 4) nbdkit calls my_plugin.pread passing in the usual args + the opaque ptr 5) my_plugin.pread makes an asynchronous read call with a handler set on completion to call nbdkit_reply_read(conn, opaque ptr, buf) or on error nbdkit_reply_error(conn, opaque_ptr, error) 6) my_plugin.pread returns back to nbdkit without error after it has started the async op but before it has completed 7) nbdkit doesn't send a response to the conn->sockout beause when the async op has completed my_plugin will callback to nbdkit for it to send the response 8) nbdkit...
2017 Feb 20
0
Re: Fwd: nbdkit async
...ue ptr We can't change the existing API, so this would have to be exposed through new plugin entry point(s). > 5) my_plugin.pread makes an asynchronous read call with a handler set on > completion to call nbdkit_reply_read(conn, opaque ptr, buf) or on error > nbdkit_reply_error(conn, opaque_ptr, error) > 6) my_plugin.pread returns back to nbdkit without error after it has > started the async op but before it has completed > 7) nbdkit doesn't send a response to the conn->sockout beause when the > async op has completed my_plugin will callback to nbdkit for it to send th...
2017 Feb 20
1
Re: Fwd: nbdkit async
...nge the existing API, so this would have to be exposed > through new plugin entry point(s). > > > 5) my_plugin.pread makes an asynchronous read call with a handler set on > > completion to call nbdkit_reply_read(conn, opaque ptr, buf) or on error > > nbdkit_reply_error(conn, opaque_ptr, error) > > 6) my_plugin.pread returns back to nbdkit without error after it has > > started the async op but before it has completed > > 7) nbdkit doesn't send a response to the conn->sockout beause when the > > async op has completed my_plugin will callback to nbdk...