Loading examples/c/ADM_cancel_transfer.c +2 −2 Original line number Diff line number Diff line Loading @@ -70,9 +70,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading examples/c/ADM_connect_data_operation.c +2 −2 Original line number Diff line number Diff line Loading @@ -66,9 +66,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading examples/c/ADM_define_data_operation.c +2 −2 Original line number Diff line number Diff line Loading @@ -71,9 +71,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading examples/c/ADM_deploy_adhoc_storage.c +5 −7 Original line number Diff line number Diff line Loading @@ -25,9 +25,7 @@ #include <stdlib.h> #include <stdio.h> #include <admire.h> #include <assert.h> #include "common.h" #include <net/proto/rpc_types.h> #define NADHOC_NODES 25 #define NINPUTS 10 Loading @@ -53,7 +51,7 @@ main(int argc, char* argv[]) { ADM_adhoc_resources_t adhoc_resources = NULL; ADM_adhoc_context_t adhoc_ctx = NULL; ADM_adhoc_context_t new_adhoc_ctx = NULL; ADM_storage_t adhoc_storage = NULL; ADM_adhoc_storage_t adhoc_storage = NULL; // Let's prepare all the information required by the API calls. Loading Loading @@ -98,8 +96,9 @@ main(int argc, char* argv[]) { } // 2. Register the adhoc storage if(ADM_register_adhoc_storage(server, adhoc_name, ADM_STORAGE_DATACLAY, adhoc_ctx, &adhoc_storage) != ADM_SUCCESS) { if(ADM_register_adhoc_storage(server, adhoc_name, ADM_ADHOC_STORAGE_DATACLAY, adhoc_ctx, &adhoc_storage) != ADM_SUCCESS) { fprintf(stderr, "ADM_register_adhoc_storage() failed: %s\n", ADM_strerror(ret)); goto cleanup; Loading @@ -120,8 +119,7 @@ main(int argc, char* argv[]) { } // We can now request the deployment to the server if((ret = ADM_deploy_adhoc_storage(server, adhoc_storage)) != ADM_SUCCESS) { if((ret = ADM_deploy_adhoc_storage(server, adhoc_storage)) != ADM_SUCCESS) { fprintf(stderr, "ADM_deploy_adhoc_storage() failed: %s\n", ADM_strerror(ret)); goto cleanup; Loading examples/c/ADM_finalize_data_operation.c +2 −2 Original line number Diff line number Diff line Loading @@ -67,9 +67,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading Loading
examples/c/ADM_cancel_transfer.c +2 −2 Original line number Diff line number Diff line Loading @@ -70,9 +70,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading
examples/c/ADM_connect_data_operation.c +2 −2 Original line number Diff line number Diff line Loading @@ -66,9 +66,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading
examples/c/ADM_define_data_operation.c +2 −2 Original line number Diff line number Diff line Loading @@ -71,9 +71,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading
examples/c/ADM_deploy_adhoc_storage.c +5 −7 Original line number Diff line number Diff line Loading @@ -25,9 +25,7 @@ #include <stdlib.h> #include <stdio.h> #include <admire.h> #include <assert.h> #include "common.h" #include <net/proto/rpc_types.h> #define NADHOC_NODES 25 #define NINPUTS 10 Loading @@ -53,7 +51,7 @@ main(int argc, char* argv[]) { ADM_adhoc_resources_t adhoc_resources = NULL; ADM_adhoc_context_t adhoc_ctx = NULL; ADM_adhoc_context_t new_adhoc_ctx = NULL; ADM_storage_t adhoc_storage = NULL; ADM_adhoc_storage_t adhoc_storage = NULL; // Let's prepare all the information required by the API calls. Loading Loading @@ -98,8 +96,9 @@ main(int argc, char* argv[]) { } // 2. Register the adhoc storage if(ADM_register_adhoc_storage(server, adhoc_name, ADM_STORAGE_DATACLAY, adhoc_ctx, &adhoc_storage) != ADM_SUCCESS) { if(ADM_register_adhoc_storage(server, adhoc_name, ADM_ADHOC_STORAGE_DATACLAY, adhoc_ctx, &adhoc_storage) != ADM_SUCCESS) { fprintf(stderr, "ADM_register_adhoc_storage() failed: %s\n", ADM_strerror(ret)); goto cleanup; Loading @@ -120,8 +119,7 @@ main(int argc, char* argv[]) { } // We can now request the deployment to the server if((ret = ADM_deploy_adhoc_storage(server, adhoc_storage)) != ADM_SUCCESS) { if((ret = ADM_deploy_adhoc_storage(server, adhoc_storage)) != ADM_SUCCESS) { fprintf(stderr, "ADM_deploy_adhoc_storage() failed: %s\n", ADM_strerror(ret)); goto cleanup; Loading
examples/c/ADM_finalize_data_operation.c +2 −2 Original line number Diff line number Diff line Loading @@ -67,9 +67,9 @@ main(int argc, char* argv[]) { const char* name = "adhoc_storage_42"; ADM_storage_t adhoc_storage; ADM_adhoc_storage_t adhoc_storage; ADM_return_t ret = ADM_register_adhoc_storage( server, name, ADM_STORAGE_GEKKOFS, ctx, &adhoc_storage); server, name, ADM_ADHOC_STORAGE_GEKKOFS, ctx, &adhoc_storage); if(ret != ADM_SUCCESS) { fprintf(stderr, Loading