/usr/include/dra.h is in libglobalarrays-dev 5.4~beta~r10636+dfsg-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | /******************* header file for Disk Arrays *****************/
#ifndef _DRA_H_
#define _DRA_H_
#include "chemio.h"
#include "typesf2c.h"
typedef long dra_size_t;
#define DRA_RW ELIO_RW
#define DRA_R ELIO_R
#define DRA_W ELIO_W
#define DRA_REQ_INVALID -333
#ifdef __cplusplus
extern "C" {
#endif
/* C-interface prototypes */
extern int NDRA_Create( int type,
int ndim,
dra_size_t dims[],
char *name,
char* filename,
int mode,
dra_size_t reqdims[],
int *d_a);
extern int NDRA_Inquire( int d_a,
int *type,
int *ndim,
dra_size_t dims[],
char *name,
char* filename);
extern int NDRA_Write( int g_a,
int d_a,
int *request);
extern int NDRA_Read( int g_a,
int d_a,
int *request);
extern int NDRA_Write_section(logical transp,
int g_a,
int glo[],
int ghi[],
int d_a,
dra_size_t dlo[],
dra_size_t dhi[],
int *request);
extern int NDRA_Read_section( logical transp,
int g_a,
int glo[],
int ghi[],
int d_a,
dra_size_t dlo[],
dra_size_t dhi[],
int *request);
extern int DRA_Init( int max_arrays,
double max_array_size,
double total_disk_space,
double max_memory);
extern int DRA_Terminate();
extern int DRA_Open( char* filename,
int mode,
int *d_a);
extern int DRA_Probe( int request,
int *compl_status);
extern void DRA_Set_debug( logical flag);
extern void DRA_Print_internals( int d_a);
extern void DRA_Set_default_config( int numfiles, int numioprocs);
extern int DRA_Wait( int request);
extern int DRA_Delete( int d_a);
extern int DRA_Close( int d_a);
extern void DRA_Flick();
#ifdef __cplusplus
}
#endif
#endif /* _DRA_H_ */
|