Commit c2db9eff authored by Matthieu Dorier's avatar Matthieu Dorier

removed margo_provider_register_data and margo_provider_registered_data functions

parent 6d67f56b
...@@ -259,41 +259,6 @@ void* margo_registered_data( ...@@ -259,41 +259,6 @@ void* margo_registered_data(
margo_instance_id mid, margo_instance_id mid,
hg_id_t id); hg_id_t id);
/**
* Register and associate user data to registered function for
* a given provider id.
* When HG_Finalize() is called free_callback (if defined) is called
* to free the registered data.
*
* \param [in] mid Margo instance
* \param [in] id registered function ID
* \param [in] provider_id Margo provider ID
* \param [in] data pointer to data
* \param [in] free_callback pointer to free function
*
* \return HG_SUCCESS or corresponding HG error code
*/
int margo_provider_register_data(
margo_instance_id mid,
hg_id_t id,
uint16_t provider_id,
void* data,
void (*free_callback)(void *));
/**
* Indicate whether margo_provider_register_data() has been called
* and return associated data.
*
* \param [in] mid Margo instance
* \param [in] id registered function ID
* \param [in] provider_id Margo provider ID
*
* \return Pointer to data or NULL
*/
void* margo_provider_registered_data(
margo_instance_id mid,
hg_id_t id,
uint16_t provider_id);
/** /**
* Disable response for a given RPC ID. * Disable response for a given RPC ID.
......
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