4 |
|
* |
5 |
|
* Greg Ward |
6 |
|
*/ |
7 |
+ |
#ifndef _RAD_TRANS_H_ |
8 |
+ |
#define _RAD_TRANS_H_ |
9 |
+ |
#ifdef __cplusplus |
10 |
+ |
extern "C" { |
11 |
+ |
#endif |
12 |
|
|
13 |
+ |
|
14 |
|
#define MAXSTR 128 /* maximum input string length */ |
15 |
|
|
16 |
|
#define VOIDID "void" /* null modifier */ |
48 |
|
#define rulsiz(nq) (sizeof(RULEHD)+(nq)*sizeof(IDMATCH)) |
49 |
|
#define idm(rp) ((IDMATCH *)((rp)+1)) |
50 |
|
|
51 |
< |
char *savestr(); |
52 |
< |
RULEHD *getmapping(); |
51 |
> |
|
52 |
> |
/* defined in common/savestr.c - XXX one of several declarations */ |
53 |
> |
char *savestr(char *str); |
54 |
> |
/* defined in trans.c */ |
55 |
> |
RULEHD *getmapping(char *file, QLIST *qlp); |
56 |
> |
|
57 |
> |
extern int fgetid(ID *idp, char *dls, FILE *fp); |
58 |
> |
extern int findid(IDLIST *idl, ID *idp, int insert); |
59 |
> |
extern int matchid(ID *it, IDMATCH *im); |
60 |
> |
extern void write_quals(QLIST *qlp, IDLIST idl[], FILE *fp); |
61 |
> |
|
62 |
> |
|
63 |
> |
#ifdef __cplusplus |
64 |
> |
} |
65 |
> |
#endif |
66 |
> |
#endif /* _RAD_TRANS_H_ */ |
67 |
> |
|