Commit 54733c46 authored by Matthieu Dorier's avatar Matthieu Dorier

empty functions in implementation files

parent 84a17b05
# list of source files
set(remi-src remi-server.cpp remi-client.cpp)
set(remi-src remi-server.cpp remi-client.cpp remi-fileset.cpp)
# load package helper for generating cmake CONFIG packages
include (CMakePackageConfigHelpers)
......
#include "remi/remi-client.h"
#if 0
typedef struct remi_client* remi_client_t;
#define REMI_CLIENT_NULL ((remi_client_t)0)
typedef struct remi_provider_handle* remi_provider_handle_t;
#define REMI_PROVIDER_HANDLE_NULL ((remi_provider_handle_t)0)
#endif
extern "C" int remi_client_init(margo_instance_id mid, remi_client_t* client)
{
}
extern "C" int remi_client_finalize(remi_client_t client)
{
}
extern "C" int remi_provider_handle_create(
remi_client_t client,
hg_addr_t addr,
uint16_t provider_id,
remi_provider_handle_t* handle)
{
}
extern "C" int remi_provider_handle_ref_incr(remi_provider_handle_t handle)
{
}
extern "C" int remi_provider_handle_release(remi_provider_handle_t handle)
{
}
extern "C" int remi_shutdown_service(remi_client_t client, hg_addr_t addr)
{
}
#include "remi/remi-common.h"
#if 0
typedef struct remi_fileset* remi_fileset_t;
#define REMI_FILESET_NULL ((remi_fileset_t)0)
typedef void (*remi_fileset_callback_t)(remi_fileset_t, const char*, void*);
#define REMI_FILESET_CALLBACK_NULL ((remi_fileset_callback_t)0)
typedef void (*remi_metadata_callback_t)(remi_fileset_t, const char*, const char*, void*);
#define REMI_METADATA_CALLBACK_NULL ((remi_metadata_callback_t)0)
#endif
extern "C" int remi_fileset_create(
const char* fileset_class,
const char* fileset_root,
remi_fileset_t* fileset)
{
}
extern "C" int remi_fileset_free(remi_fileset_t fileset)
{
}
extern "C" int remi_fileset_get_class(
remi_fileset_t fileset,
char* buf,
size_t* size)
{
}
extern "C" int remi_fileset_get_root(
remi_fileset_t fileset,
char* buf,
size_t* size)
{
}
extern "C" int remi_fileset_register_file(
remi_fileset_t fileset,
const char* filename)
{
}
extern "C" int remi_fileset_deregister_file(
remi_fileset_t fileset,
const char* filename)
{
}
extern "C" int remi_fileset_foreach_file(
remi_fileset_t fileset,
remi_fileset_callback_t callback,
void* uargs)
{
}
extern "C" int remi_fileset_register_metadata(
remi_fileset_t fileset,
const char* key,
const char* value)
{
}
extern "C" int remi_fileset_deregister_metadata(
remi_fileset_t fileset,
const char* key,
const char* value)
{
}
extern "C" int remi_fileset_foreach_metadata(
remi_fileset_t fileset,
remi_metadata_callback_t callback,
void* uargs)
{
}
#include "remi/remi-server.h"
#include <remi/remi-server.h>
#if 0
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*);
#define REMI_MIGRATION_CALLBACK_NULL ((remi_migration_callback_t)0)
#endif
extern "C" int remi_provider_register(
margo_instance_id mid,
uint16_t provider_id,
ABT_pool pool,
remi_provider_t* provider)
{
}
extern "C" int remi_provider_add_migration_class(
remi_provider_t provider,
const char* class_name,
remi_migration_callback_t callback,
void* 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