Updated: April 19, 2023 |
Set the default publish/subscribe provider
#include <pips/pips.h>
pips_provider_t* pips_set_default_provider(const char *name)
This function sets the default provider in the current process to the provider with the given name.
The named provider must be registered in the current process.
If this function succeeds, subsequent calls to pips_get_provider() with a NULL argument will return a handle to the provider associated with the given name.
On success, a handle to the new default provider. On error, NULL (errno is set).