NASM 0.94
[nasm.git] / rdoff / symtab.h
blob5780d44740f1397408b74c1c2ca190ebb26399e3
1 /* symtab.h Header file for symbol table manipulation routines
3 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
4 * Julian Hall. All rights reserved. The software is
5 * redistributable under the licence given in the file "Licence"
6 * distributed in the NASM archive.
7 */
9 typedef struct {
10 char *name;
11 long segment;
12 long offset;
13 long flags;
14 } symtabEnt;
16 void *symtabNew(void);
17 void symtabDone(void *symtab);
18 void symtabInsert(void *symtab,symtabEnt *ent);
19 symtabEnt *symtabFind(void *symtab,char *name);
20 void symtabDump(void *symtab,FILE *of);