11 #include "FileStream.hpp" 12 #include "arch/mpi/mpi.h" 13 #include "components/Patch.hpp" 14 #include "include/PVLayerLoc.h" 15 #include "include/pv_types.h" 17 #include "structures/MPIBlock.hpp" 18 #include "utils/BufferUtilsPvp.hpp" 21 #include <sys/types.h> 41 PV_Stream *PV_fopen(
const char *path,
const char *mode,
bool verifyWrites);
42 int PV_stat(
const char *path,
struct stat *buf);
43 long int getPV_StreamFilepos(
PV_Stream *pvstream);
45 int PV_fseek(
PV_Stream *pvstream,
long int offset,
int whence);
47 PV_fwrite(
const void *RESTRICT ptr,
size_t size,
size_t nitems,
PV_Stream *RESTRICT pvstream);
48 size_t PV_fread(
void *RESTRICT ptr,
size_t size,
size_t nitems,
PV_Stream *RESTRICT pvstream);
50 void ensureDirExists(MPIBlock
const *mpiBlock,
char const *dirname);
66 int pv_text_write_patch(
67 PrintStream *pvstream,