1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ 2 /* 3 * 4 * (C) 2012 by Argonne National Laboratory. 5 * See COPYRIGHT in top-level directory. 6 */ 7 8 #ifndef _MPIU_EXTERNAL32_H_ 9 #define _MPIU_EXTERNAL32_H_ 10 11 int MPIU_write_external32_conversion_fn (const void *userbuf, MPI_Datatype datatype, 12 int count, void *filebuf); 13 int MPIU_read_external32_conversion_fn(void *userbuf, MPI_Datatype datatype, 14 int count, void *filebuf); 15 int MPIU_datatype_full_size(MPI_Datatype datatype, MPI_Aint *size); 16 17 /* given a buffer, count, and datatype, return an apropriately sized and 18 * * external32-formatted buffer, suitable for handing off to a subsequent write 19 * * routine */ 20 int MPIU_external32_buffer_setup(const void * buf, int count, MPI_Datatype type, void **newbuf); 21 22 #endif