search for: _nbdkit_init

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

2020 Mar 25
2
Re: nbdkit / mingw support
...readlocal_set_error > * nbdkit_shutdown must set the quit global (or call a server function) Yeah, there's some awkward dependencies to figure out. It's obvious the library has to export public nbdkit_* interfaces for the sake of plugins, but can it also export one additional symbol _nbdkit_init() for internal use? Then we can have the nbdkit binary pass whatever additional hooks are needed for proper isolation of the public interface (a callback pointer to get at threadlocal_get_conn, threadlocal_set_error, the address of the quit global, ...), and leave the symbol undocumented (plu...
2020 Mar 25
0
Re: nbdkit / mingw support
...t; > * nbdkit_shutdown must set the quit global (or call a server function) > > Yeah, there's some awkward dependencies to figure out. It's obvious > the library has to export public nbdkit_* interfaces for the sake of > plugins, but can it also export one additional symbol _nbdkit_init() > for internal use? Then we can have the nbdkit binary pass whatever > additional hooks are needed for proper isolation of the public > interface (a callback pointer to get at threadlocal_get_conn, > threadlocal_set_error, the address of the quit global, ...), and > leave the symb...
2020 Mar 24
2
Re: nbdkit / mingw support
On 3/24/20 3:12 PM, Eric Blake wrote: >> (For non-mingw platforms) this breaks the source API promises rather >> seriously, so if I understand your proposal correctly I don't think >> this is a good idea.  It's possibly something we can consider for >> internal plugins, or for the V3 API. > > How does it break API to request that someone link against a