diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2018-04-14 02:23:51 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2018-04-14 02:23:51 (GMT) |
commit | 0654c0ea90dcf60879d02baedadf392cdef13b8f (patch) | |
tree | 9d3a5e17f5cf520e0bfd2b2afe39d911db6c92b6 | |
parent | a7b6a8bb48d9c1c6fe686539f9272b1a32e0be1e (diff) | |
download | hdf5-0654c0ea90dcf60879d02baedadf392cdef13b8f.zip hdf5-0654c0ea90dcf60879d02baedadf392cdef13b8f.tar.gz hdf5-0654c0ea90dcf60879d02baedadf392cdef13b8f.tar.bz2 |
Add missing file h5rados_example.h
-rw-r--r-- | examples/h5rados_example.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/h5rados_example.h b/examples/h5rados_example.h new file mode 100644 index 0000000..4516b15 --- /dev/null +++ b/examples/h5rados_example.h @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <mpi.h> +#include <hdf5.h> +#include <rados/librados.h> +#include <H5VLrados_public.h> + +/* Macros for printing standard messages and issuing errors */ +#define AT() printf (" at %s:%d in %s()...\n", __FILE__, __LINE__, __FUNCTION__) +#define FAILED() do {puts("*FAILED*");fflush(stdout);} while(0) +#define ERROR do {FAILED(); AT(); goto error;} while(0) +#define PRINTF_ERROR(...) do {FAILED(); AT(); printf(" " __VA_ARGS__); printf("\n"); goto error;} while(0) + |