|
10 | 10 | * Copyright (c) 2004-2005 The Regents of the University of California. |
11 | 11 | * All rights reserved. |
12 | 12 | * Copyright (c) 2008-2011 University of Houston. All rights reserved. |
| 13 | + * Copyright (c) 2016 Research Organization for Information Science |
| 14 | + * and Technology (RIST). All rights reserved. |
13 | 15 | * $COPYRIGHT$ |
14 | 16 | * |
15 | 17 | * Additional copyrights may follow |
@@ -55,13 +57,13 @@ static int delete_select(char *filename, struct ompi_info_t *info, |
55 | 57 | struct mca_io_base_delete_t *private_data); |
56 | 58 | /* |
57 | 59 | static int io_progress(void); |
| 60 | +*/ |
58 | 61 |
|
59 | 62 | static int register_datarep(char *, |
60 | 63 | MPI_Datarep_conversion_function*, |
61 | 64 | MPI_Datarep_conversion_function*, |
62 | 65 | MPI_Datarep_extent_function*, |
63 | 66 | void*); |
64 | | -*/ |
65 | 67 |
|
66 | 68 | /* |
67 | 69 | * Private variables |
@@ -120,7 +122,7 @@ mca_io_base_component_2_0_0_t mca_io_ompio_component = { |
120 | 122 | NULL, /* delete_unquery */ |
121 | 123 | delete_select, /* delete_select */ |
122 | 124 |
|
123 | | - NULL /* io_register_datarep */ |
| 125 | + register_datarep, /* register_datarep */ |
124 | 126 | }; |
125 | 127 |
|
126 | 128 | static int register_component(void) |
@@ -296,3 +298,12 @@ static int io_progress (void) |
296 | 298 | return OMPI_SUCCESS; |
297 | 299 | } |
298 | 300 | */ |
| 301 | + |
| 302 | +static int register_datarep(char * datarep, |
| 303 | + MPI_Datarep_conversion_function* read_fn, |
| 304 | + MPI_Datarep_conversion_function* write_fn, |
| 305 | + MPI_Datarep_extent_function* extent_fn, |
| 306 | + void* state) |
| 307 | +{ |
| 308 | + return OMPI_ERROR; |
| 309 | +} |
0 commit comments