pio.h 618 Bytes
Newer Older
1
2
#ifndef _PIO_H
#define _PIO_H
Deike Kleberg's avatar
Deike Kleberg committed
3

4
5
6
7
#ifdef HAVE_CONFIG_H
#  include "config.h"
#endif

Deike Kleberg's avatar
Deike Kleberg committed
8
#include <stdlib.h>
9
#include <mpi.h>
Deike Kleberg's avatar
Deike Kleberg committed
10

11
12
#include "cdi_int.h"

13
14
void cdiPioFileWritingInit(void (*postCommSetupActions)(void));
void cdiPioFileWritingFinalize(void);
15
int pioFileOpen(const char *filename, const char *mode);
16
int    pioFileClose    ( int );
Thomas Jahns's avatar
Thomas Jahns committed
17
18
size_t cdiPioFileWrite(int fileID, const void *restrict buffer, size_t len,
                       int tsID);
19

20
#endif
21
22
23
24
25
26
27
28
29
/*
 * Local Variables:
 * c-file-style: "Java"
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * show-trailing-whitespace: t
 * require-trailing-newline: t
 * End:
 */