| 1 |
< |
/* Copyright (c) 1996 Regents of the University of California */ |
| 2 |
< |
|
| 3 |
< |
/* SCCSid "$SunId$ LBL" */ |
| 4 |
< |
|
| 1 |
> |
/* RCSid $Id$ */ |
| 2 |
|
/* |
| 3 |
< |
* data.h - header file for routines which interpolate data. |
| 3 |
> |
* Header for data file loading and computation routines. |
| 4 |
|
*/ |
| 5 |
+ |
#ifndef _RAD_DATA_H_ |
| 6 |
+ |
#define _RAD_DATA_H_ |
| 7 |
+ |
#ifdef __cplusplus |
| 8 |
+ |
extern "C" { |
| 9 |
+ |
#endif |
| 10 |
|
|
| 11 |
|
#define MAXDDIM 5 /* maximum data dimensions */ |
| 12 |
|
|
| 29 |
|
struct datarray *next; /* next array in list */ |
| 30 |
|
} DATARRAY; /* a data array */ |
| 31 |
|
|
| 30 |
– |
extern DATARRAY *getdata(), *getpict(); |
| 32 |
|
|
| 33 |
< |
extern double datavalue(); |
| 33 |
> |
extern DATARRAY *getdata(char *dname); |
| 34 |
> |
extern DATARRAY *getpict(char *pname); |
| 35 |
> |
extern void freedata(DATARRAY *dta); |
| 36 |
> |
extern double datavalue(DATARRAY *dp, double *pt); |
| 37 |
> |
|
| 38 |
> |
|
| 39 |
> |
#ifdef __cplusplus |
| 40 |
> |
} |
| 41 |
> |
#endif |
| 42 |
> |
#endif /* _RAD_DATA_H_ */ |
| 43 |
> |
|