NASM 0.98.08
[nasm.git] / rdoff / symtab.h
blobc1fe0315df563f3f060283c2fcc1ec54a74d2e3d
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 int 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,const char *name);
20 void symtabDump(void *symtab,FILE *of);