1 |
|
/* RCSid: $Id$ */ |
2 |
|
|
3 |
+ |
#ifndef _RAD_TGRAPH_H_ |
4 |
+ |
#define _RAD_TGRAPH_H_ |
5 |
+ |
|
6 |
+ |
#include <stdlib.h> |
7 |
|
#include <math.h> |
8 |
|
|
9 |
|
#include "meta.h" |
10 |
|
|
11 |
+ |
#ifdef __cplusplus |
12 |
+ |
extern "C" { |
13 |
+ |
#endif |
14 |
+ |
|
15 |
|
#define MINDIVS 4 /* Minimum number of divisions for axis */ |
16 |
|
|
17 |
|
#define FTINY 1e-10 /* tiny float */ |
72 |
|
|
73 |
|
extern int ncurves; /* number of curves in file */ |
74 |
|
|
75 |
< |
extern char *snagquo(), *instr(); |
75 |
> |
extern char *instr(char *s, char *t); |
76 |
> |
extern char *snagquo(register char *s); |
77 |
> |
extern void normalize(FILE *fp, FILE *fout); |
78 |
> |
extern void initialize(void); |
79 |
> |
extern void option(char *s); |
80 |
> |
extern int istitle(char *s); |
81 |
> |
extern int isdata(char *s); |
82 |
> |
extern int islabel(char *s); |
83 |
> |
extern int isdivlab(char *s); |
84 |
> |
extern int isxlabel(char *s); |
85 |
> |
extern int isylabel(char *s); |
86 |
> |
extern void makeaxis(int flag); |
87 |
> |
extern int getdata(char *s, double *xp, double *yp); |
88 |
> |
extern void boxstring(int a0, int xmn, int ymn, int xmx, int ymx, char *s); |
89 |
> |
extern void symout(int a0, int x, int y, char *sname); |
90 |
|
|
91 |
< |
extern double atof(), floor(), ceil(), log(); |
91 |
> |
#ifdef __cplusplus |
92 |
> |
} |
93 |
> |
#endif |
94 |
> |
#endif /* _RAD_TGRAPH_H_ */ |
95 |
> |
|