Commit 0b4f92de authored by Philip Carns's avatar Philip Carns
Browse files

rename provider destroy->deregister

parent 7dfd0e9f
......@@ -59,13 +59,13 @@ int bake_provider_register(margo_instance_id mid,
bake_provider_t* provider);
/**
* @brief Deregisters and destroys the provider.
* @brief Deregisters the provider.
*
* @param provider Provider to deregister and destroy.
* @param provider Provider to deregister.
*
* @return 0 on success, -1 otherwise.
*/
int bake_provider_destroy(bake_provider_t provider);
int bake_provider_deregister(bake_provider_t provider);
/**
* Makes the provider start managing a target.
......
......@@ -39,7 +39,7 @@ static int bake_deregister_provider(bedrock_module_provider_t provider)
{
int ret;
ret = bake_provider_destroy(provider);
ret = bake_provider_deregister(provider);
if (ret < 0) return (-1);
return BEDROCK_SUCCESS;
......
......@@ -314,7 +314,7 @@ int bake_provider_register(margo_instance_id mid,
return BAKE_SUCCESS;
}
int bake_provider_destroy(bake_provider_t provider)
int bake_provider_deregister(bake_provider_t provider)
{
margo_provider_pop_finalize_callback(provider->mid, provider);
bake_server_finalize_cb(provider);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment