pub fn query_interfaces(lib: &Library) -> Result<Option<Vec<InterfaceEntry>>>Expand description
Call cfmp_query_interfaces() if exported, parsing the packed
name\0ver\0 stream. Returns Ok(None) when the symbol is absent.
The v0 contract signature takes a *mut Confium, which we do not
have in the standalone publish tool. Plugins that need the handle to
answer should be queried at runtime instead; for publishing we pass a
null pointer and rely on well-behaved plugins that can enumerate
without a handle. When that is not possible the caller supplies
--interfaces on the command line.