xref: /csrg-svn/usr.bin/pascal/pdx/symtab.h (revision 33243)
122579Sdist /*
222579Sdist  * Copyright (c) 1980 Regents of the University of California.
322579Sdist  * All rights reserved.  The Berkeley software License Agreement
422579Sdist  * specifies the terms and conditions for redistribution.
522579Sdist  *
6*33243Sbostic  *	@(#)symtab.h	5.2 (Berkeley) 01/03/88
722579Sdist  */
85459Slinton 
95459Slinton /*
105459Slinton  * Public definitions for symbol table.
115459Slinton  */
125459Slinton 
135459Slinton SYMTAB *symtab;
145459Slinton 
155459Slinton SYMTAB *st_creat();		/* create a symbol table */
16*33243Sbostic int st_destroy();		/* destroy a symbol table, i.e. free storage */
175459Slinton SYM *st_insert();		/* insert a symbol */
185459Slinton SYM *st_lookup();		/* lookup a symbol */
19*33243Sbostic int dumpvars();			/* dump the symbols of a function */
20*33243Sbostic int print_alias();		/* print out currently active aliases */
21*33243Sbostic int enter_alias();		/* create a new name for a command */
225459Slinton SYM *findtype();		/* search symbol table for a type name */
23