1 |
< |
/* Copyright (c) 1990 Regents of the University of California */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ LBL" */ |
4 |
< |
|
1 |
> |
/* RCSid: $Id$ */ |
2 |
|
/* |
3 |
|
* Translator definitions |
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 *malloc(), *calloc(), *realloc(); |
52 |
< |
char *savestr(); |
53 |
< |
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 |
> |
|
58 |
> |
#ifdef __cplusplus |
59 |
> |
} |
60 |
> |
#endif |
61 |
> |
#endif /* _RAD_TRANS_H_ */ |
62 |
> |
|