2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
11 * sym - symbol table definitions, VRMIX kernel pseudo-TOC
16 char _n_name[8]; /* old COFF version */
18 int _n_zeroes; /* new == 0 */
19 int _n_offset; /* offset into string table */
21 char *_n_nptr[2]; /* allows for overlaying */
23 int n_value; /* value of symbol */
25 #define n_name _n._n_name
26 #define n_nptr _n._n_nptr[1]
27 #define n_zeroes _n._n_n._n_zeroes
28 #define n_offset _n._n_n._n_offset
30 typedef struct toc_syment sym_t;
32 extern struct toc_syment *toc_syms; /* symbol table */
33 extern caddr_t toc_strs; /* string table */
34 extern toc_nsyms; /* # symbols */
35 extern sym_t *sym_flex();
36 extern sym_t *sym_lookup();