Commit 4512cdc9 authored by Matthieu Dorier's avatar Matthieu Dorier

added test server

parent 49331711
......@@ -37,3 +37,4 @@ xpkg_import_module (margo REQUIRED margo)
add_subdirectory (src)
add_subdirectory (test)
add_subdirectory (examples)
......@@ -13,7 +13,7 @@ extern "C" {
typedef struct remi_provider* remi_provider_t;
#define REMI_PROVIDER_NULL ((remi_provider_t)0)
typedef void (*remi_migration_callback_t)(remi_provider_t, remi_fileset_t, void*);
typedef void (*remi_migration_callback_t)(remi_fileset_t, void*);
#define REMI_MIGRATION_CALLBACK_NULL ((remi_migration_callback_t)0)
int remi_provider_register(
......
......@@ -110,7 +110,7 @@ struct remi_provider : public tl::provider<remi_provider> {
// call the migration callback associated with the class of fileset
auto& klass = m_migration_classes[fileset.m_class];
if(klass.m_callback != nullptr) {
klass.m_callback(this, &fileset, klass.m_uargs);
klass.m_callback(&fileset, klass.m_uargs);
}
}
......
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