Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
remi
Commits
4512cdc9
Commit
4512cdc9
authored
Aug 07, 2018
by
Matthieu Dorier
Browse files
added test server
parent
49331711
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4512cdc9
...
...
@@ -37,3 +37,4 @@ xpkg_import_module (margo REQUIRED margo)
add_subdirectory
(
src
)
add_subdirectory
(
test
)
add_subdirectory
(
examples
)
include/remi/remi-server.h
View file @
4512cdc9
...
...
@@ -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
(
...
...
src/remi-server.cpp
View file @
4512cdc9
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment