| 1 | #ifdef MAIN |
| 2 | static char h_sccsid[] = "@(#)hyr_sym.h 2.1 Hyperchannel Routing Daemon 82/11/29"; |
| 3 | #endif |
| 4 | |
| 5 | struct sym { |
| 6 | int s_flags; |
| 7 | char s_name[32]; |
| 8 | long s_lastok; |
| 9 | long s_fulladdr; |
| 10 | unsigned short s_dst; |
| 11 | unsigned short s_ctl; |
| 12 | unsigned short s_access; |
| 13 | unsigned short s_ngate; |
| 14 | struct sym *s_next; |
| 15 | struct sym *s_gate[32]; |
| 16 | }; |
| 17 | |
| 18 | #define HS_DIR 0x01 |
| 19 | #define HS_INDIR 0x02 |
| 20 | #define HS_GATE 0x04 |
| 21 | |
| 22 | extern struct sym *curgate; |
| 23 | extern struct sym *sym_head; |
| 24 | extern int lex_error; |